2017-08-11 13:37:09 +00:00
|
|
|
backend_files = files(
|
2017-08-30 18:30:47 +00:00
|
|
|
'backend.c',
|
|
|
|
'session/direct-ipc.c',
|
|
|
|
'session/direct.c',
|
|
|
|
'session/session.c',
|
|
|
|
'drm/backend.c',
|
|
|
|
'drm/drm.c',
|
|
|
|
'drm/drm-atomic.c',
|
|
|
|
'drm/drm-legacy.c',
|
|
|
|
'drm/drm-properties.c',
|
|
|
|
'drm/drm-util.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',
|
|
|
|
'wayland/os-compatibility.c',
|
2017-09-22 02:58:41 +00:00
|
|
|
'x11/backend.c',
|
2017-07-17 18:38:28 +00:00
|
|
|
)
|
2017-08-06 01:30:18 +00:00
|
|
|
|
2017-08-11 13:37:09 +00:00
|
|
|
if systemd.found()
|
2017-08-30 18:30:47 +00:00
|
|
|
backend_files += files('session/logind.c')
|
2017-08-06 01:30:18 +00:00
|
|
|
endif
|
2017-08-11 13:37:09 +00:00
|
|
|
|
2017-09-22 17:02:55 +00:00
|
|
|
if elogind.found()
|
|
|
|
backend_files += files('session/logind.c')
|
|
|
|
endif
|
|
|
|
|
2017-08-30 18:30:47 +00:00
|
|
|
lib_wlr_backend = static_library(
|
|
|
|
'wlr_backend',
|
|
|
|
backend_files,
|
|
|
|
include_directories: wlr_inc,
|
2017-09-22 17:02:55 +00:00
|
|
|
dependencies: [wayland_server, egl, gbm, libinput, systemd, elogind, wlr_protos],
|
2017-08-30 18:30:47 +00:00
|
|
|
)
|