xref: /OK3568_Linux_fs/external/xserver/hw/dmx/input/meson.build (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1srcs_dmx_input = [
2    'dmxdummy.c',
3    'dmxbackend.c',
4    'dmxconsole.c',
5    'dmxcommon.c',
6    'dmxinputinit.c',
7    'dmxarg.c',
8    'dmxevents.c',
9    'dmxxinput.c',
10    'dmxmotion.c',
11    'dmxmap.c',
12    'ChkNotMaskEv.c',
13]
14
15if cc.has_header('linux/input.h')
16    srcs_dmx_input += [
17        'usb-keyboard.c',
18        'usb-mouse.c',
19        'usb-other.c',
20        'usb-common.c',
21    ]
22endif
23
24dmx_input = static_library('dmx_input',
25	srcs_dmx_input,
26	include_directories: [
27            inc,
28            include_directories('../')
29        ],
30	dependencies: common_dep,
31        c_args: '-DHAVE_DMX_CONFIG_H',
32)
33