2017-08-11 15:37:09 +02:00
|
|
|
backend_files = files(
|
|
|
|
'backend.c',
|
|
|
|
'udev.c',
|
|
|
|
'session/direct-ipc.c',
|
|
|
|
'session/direct.c',
|
|
|
|
'session/session.c',
|
2017-08-13 01:52:22 +02:00
|
|
|
'drm/backend.c',
|
|
|
|
'drm/drm.c',
|
|
|
|
'drm/drm-atomic.c',
|
|
|
|
'drm/drm-legacy.c',
|
|
|
|
'drm/drm-properties.c',
|
|
|
|
'drm/drm-util.c',
|
2017-08-12 19:51: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',
|
2017-08-11 15:37:09 +02:00
|
|
|
'multi/backend.c',
|
|
|
|
'wayland/backend.c',
|
|
|
|
'wayland/output.c',
|
|
|
|
'wayland/registry.c',
|
|
|
|
'wayland/wl_seat.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-13 14:21:57 +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
|
|
|
|
|
|
|
lib_wlr_backend = static_library('wlr_backend', backend_files,
|
|
|
|
include_directories: wlr_inc,
|
|
|
|
dependencies: [wayland_server, egl, gbm, libinput, systemd])
|