aboutsummaryrefslogtreecommitdiff
path: root/backend/meson.build
blob: 44d7ba03e75a3edb77bddc083faa9b20d8e7e018 (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
backend_files = files(
  'backend.c',
  'udev.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',
)

if systemd.found()
  wlr_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])