mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 22:28:06 +02:00
Requires meson 0.49.0, well below our current minimum of 0.60.0 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2150>
38 lines
700 B
Meson
38 lines
700 B
Meson
srcs_config = [
|
|
'config.c',
|
|
]
|
|
|
|
config_dep = [common_dep]
|
|
|
|
if build_dbus
|
|
srcs_config += 'dbus-core.c'
|
|
config_dep += dbus_dep
|
|
endif
|
|
|
|
if build_hal
|
|
srcs_config += 'hal.c'
|
|
config_dep += hal_dep
|
|
endif
|
|
|
|
if build_udev
|
|
srcs_config += 'udev.c'
|
|
config_dep += udev_dep
|
|
endif
|
|
|
|
if host_machine.system() == 'netbsd' or host_machine.system() == 'openbsd'
|
|
srcs_config += 'wscons.c'
|
|
endif
|
|
|
|
if build_xorg
|
|
install_data(
|
|
'10-quirks.conf',
|
|
install_dir: get_option('datadir') / 'X11/xorg.conf.d',
|
|
install_tag: 'runtime',
|
|
)
|
|
endif
|
|
|
|
libxserver_config = static_library('libxserver_config',
|
|
srcs_config,
|
|
include_directories: inc,
|
|
dependencies: config_dep,
|
|
)
|