summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/parser/meson.build
blob: 031dc2becafb6e340fee487f6e2c3d842ed3328e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
srcs_xorg_parser = [
    'Device.c',
    'Files.c',
    'Flags.c',
    'Input.c',
    'InputClass.c',
    'OutputClass.c',
    'Layout.c',
    'Module.c',
    'Video.c',
    'Monitor.c',
    'Pointer.c',
    'Screen.c',
    'Vendor.c',
    'read.c',
    'scan.c',
    'write.c',
    'DRI.c',
    'Extensions.c',
]

xorg_parser = static_library('xorg_parser',
    srcs_xorg_parser,
    include_directories: [inc, xorg_inc],
    dependencies: common_dep,
    c_args: [
        xorg_c_args,
        '-DDATADIR="' + join_paths(get_option('prefix'), get_option('datadir')) + '"',
    ],
)

install_data(['xf86Parser.h', 'xf86Optrec.h'], install_dir: xorgsdkdir)