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