2017-08-11 15:37:09 +02:00
|
|
|
backend_files = files(
|
2017-08-30 20:30:47 +02:00
|
|
|
'backend.c',
|
|
|
|
'session/direct-ipc.c',
|
|
|
|
'session/direct.c',
|
|
|
|
'session/session.c',
|
2017-10-02 10:44:33 +02:00
|
|
|
'drm/atomic.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'drm/backend.c',
|
|
|
|
'drm/drm.c',
|
2017-10-02 10:44:33 +02:00
|
|
|
'drm/legacy.c',
|
2017-09-30 08:03:34 +02:00
|
|
|
'drm/properties.c',
|
2017-09-30 09:52:58 +02:00
|
|
|
'drm/renderer.c',
|
2017-09-30 08:03:34 +02:00
|
|
|
'drm/util.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'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 04:58:41 +02:00
|
|
|
'x11/backend.c',
|
2017-07-17 20:38:28 +02:00
|
|
|
)
|
2017-08-06 03:30:18 +02:00
|
|
|
|
2017-08-11 15:37:09 +02:00
|
|
|
if systemd.found()
|
2017-08-30 20:30:47 +02:00
|
|
|
backend_files += files('session/logind.c')
|
2017-08-06 03:30:18 +02:00
|
|
|
endif
|
2017-08-11 15:37:09 +02:00
|
|
|
|
2017-09-22 19:02:55 +02:00
|
|
|
if elogind.found()
|
|
|
|
backend_files += files('session/logind.c')
|
|
|
|
endif
|
|
|
|
|
2017-08-30 20:30:47 +02:00
|
|
|
lib_wlr_backend = static_library(
|
|
|
|
'wlr_backend',
|
|
|
|
backend_files,
|
|
|
|
include_directories: wlr_inc,
|
2017-10-08 02:19:25 +02:00
|
|
|
dependencies: [wayland_server, egl, gbm, libinput, systemd, elogind, wlr_render, wlr_protos],
|
2017-08-30 20:30:47 +02:00
|
|
|
)
|