xserver-multidpi/hw/xquartz/xpr/meson.build
Jon Turney 655b1eb32e meson: Convert xquartz from autotools
Differences from autotools:

* Autotools defined NO_ALLOCA for OSX builds.  I don't think we need
this anymore as Xalloc.h is no longer used anywhere in the xserver.

* X11.bin is linked with -u,miDCInitialize, and then libserver_mi
provided to satisfy (just) that.  It's been that way since the commit
which added it.  We can't write the equivalent in meson due to linker
argument ordering issues, but do we really need to?

* An explicit -Dsecure-rpc=false is required for OSX, since in meson we
don't do the checks that XTRANS_SECURE_RPC_FLAGS did for the existence
of the specific RPC functions required.
2019-05-02 15:42:58 +00:00

19 lines
436 B
Meson

libXquartzXpr = static_library('XquartzXpr',
[
'appledri.c',
'dri.c',
'driWrap.c',
'xprAppleWM.c',
'xprCursor.c',
'xprEvent.c',
'xprFrame.c',
'xprScreen.c',
'x-hash.c',
'x-hook.c',
'x-list.c',
],
include_directories: [inc, '..', '../../../pseudoramiX', '../../../miext/rootless'],
c_args: [bundle_id_def, '-DXQUARTZ'],
dependencies: [xproto_dep, pixman_dep],
)