summaryrefslogtreecommitdiff
path: root/hw/xquartz/meson.build
blob: f92fbc9601452092bf086dece7a860fcfeaf0ae1 (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
33
34
35
36
37
38
39
40
add_languages('objc')

srcs = [
    'X11Application.m',
    'X11Controller.m',
    'applewm.c',
    'darwin.c',
    'darwinEvents.c',
    'darwinXinput.c',
    'keysym2ucs.c',
    'quartz.c',
    'quartzCocoa.m',
    'quartzKeyboard.c',
    'quartzStartup.c',
    'quartzRandR.c',
    'console_redirect.c',
    '../../mi/miinitext.c',
]

executable(
    'Xquartz',
    srcs,
    include_directories: inc,
    link_with: [
        libxserver_main,
        libxserver,
        libxserver_xkb_stubs,
        libxserver_xi_stubs,
        libxserver_glx,
        libxserver_pseudoramix,
    ],
    c_args: [
        '-DXFree86Server',
        # XXXX: BUILD_DATE
        '-DXSERVER_VERSION="' + meson_project.version() + '"',
        '-DINXQUARTZ',
        '-DUSE_NEW_CLUT',
    ],
    install: true,
)