wlroots/backend/meson.build

67 lines
1.2 KiB
Meson
Raw Normal View History

backend_files = files(
'backend.c',
2017-10-02 08:44:33 +00:00
'drm/atomic.c',
'drm/backend.c',
'drm/drm.c',
2017-10-02 08:44:33 +00:00
'drm/legacy.c',
'drm/properties.c',
2017-09-30 07:52:58 +00:00
'drm/renderer.c',
'drm/util.c',
2017-12-17 11:56:42 +00:00
'headless/backend.c',
2017-12-17 17:49:20 +00:00
'headless/input_device.c',
2018-02-12 20:29:23 +00:00
'headless/output.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',
2018-02-12 20:29:23 +00:00
'session/direct-ipc.c',
'session/session.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
backend_deps = [
2018-02-14 18:27:31 +00:00
drm,
egl,
gbm,
libinput,
pixman,
2018-02-14 18:27:31 +00:00
xkbcommon,
wayland_server,
wlr_protos,
wlr_render,
]
2017-10-09 22:23:43 +00:00
if host_machine.system().startswith('freebsd')
backend_files += files('session/direct-freebsd.c')
else
backend_files += files('session/direct.c')
endif
if logind.found()
backend_files += files('session/logind.c')
backend_deps += logind
2017-08-06 01:30:18 +00:00
endif
if conf_data.get('WLR_HAS_X11_BACKEND', false)
backend_files += files(
'x11/backend.c',
'x11/input_device.c',
'x11/output.c',
)
backend_deps += xcb_xkb
endif
lib_wlr_backend = static_library(
'wlr_backend',
backend_files,
include_directories: wlr_inc,
dependencies: backend_deps,
)