1srcs_xorg_parser = [
2    'Device.c',
3    'Files.c',
4    'Flags.c',
5    'Input.c',
6    'InputClass.c',
7    'OutputClass.c',
8    'Layout.c',
9    'Module.c',
10    'Video.c',
11    'Monitor.c',
12    'Pointer.c',
13    'Screen.c',
14    'Vendor.c',
15    'read.c',
16    'scan.c',
17    'write.c',
18    'DRI.c',
19    'Extensions.c',
20]
21
22xorg_parser = static_library('xorg_parser',
23    srcs_xorg_parser,
24    include_directories: [inc, xorg_inc],
25    dependencies: common_dep,
26    c_args: [
27        xorg_c_args,
28        '-DDATADIR="' + join_paths(get_option('prefix'), get_option('datadir')) + '"',
29    ],
30)
31
32install_data(['xf86Parser.h', 'xf86Optrec.h'], install_dir: xorgsdkdir)
33