wlroots-hyprland/backend/meson.build

63 lines
1.2 KiB
Meson
Raw Normal View History

backend_files = files(
'backend.c',
'session/direct-ipc.c',
'session/session.c',
2017-10-02 10:44:33 +02:00
'drm/atomic.c',
'drm/backend.c',
'drm/drm.c',
2017-10-02 10:44:33 +02:00
'drm/legacy.c',
'drm/properties.c',
2017-09-30 09:52:58 +02:00
'drm/renderer.c',
'drm/util.c',
2017-12-17 12:56:42 +01:00
'headless/backend.c',
'headless/output.c',
2017-12-17 18:49:20 +01:00
'headless/input_device.c',
'libinput/backend.c',
'libinput/events.c',
'libinput/keyboard.c',
'libinput/pointer.c',
'libinput/tablet_pad.c',
'libinput/tablet_tool.c',
'libinput/touch.c',
'multi/backend.c',
'wayland/backend.c',
'wayland/output.c',
'wayland/registry.c',
'wayland/wl_seat.c',
2017-09-22 04:58:41 +02:00
'x11/backend.c',
2017-07-17 20:38:28 +02:00
)
2017-08-06 03:30:18 +02:00
backend_deps = [
wayland_server,
egl,
gbm,
libinput,
wlr_render,
wlr_protos,
drm,
pixman,
]
2017-10-10 00:23:43 +02:00
if host_machine.system().startswith('freebsd')
backend_files += files('session/direct-freebsd.c')
else
backend_files += files('session/direct.c')
endif
if conf_data.get('WLR_HAS_SYSTEMD', false)
backend_files += files('session/logind.c')
backend_deps += systemd
2017-08-06 03:30:18 +02:00
endif
if conf_data.get('WLR_HAS_ELOGIND', false)
backend_files += files('session/logind.c')
backend_deps += elogind
endif
lib_wlr_backend = static_library(
'wlr_backend',
backend_files,
include_directories: wlr_inc,
dependencies: backend_deps,
)