aboutsummaryrefslogtreecommitdiff
path: root/backend/meson.build
blob: eb8c5d8b99451d3a7360698cbcd2058c855b3ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
backend_files = files(
	'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',
)

if systemd.found()
	backend_files += files('session/logind.c')
endif

lib_wlr_backend = static_library(
	'wlr_backend',
	backend_files,
	include_directories: wlr_inc,
	dependencies: [wayland_server, egl, gbm, libinput, systemd, wlr_protos],
)