aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-08-24 19:35:02 +1200
committerScott Anderson <scott@anderso.nz>2018-08-24 19:35:02 +1200
commitfd3fa760d336312acafeb6812b5b0068f5851f27 (patch)
tree6876337b81c01c13d53d6c4f2e3680c51fd9e204 /include/wlr/backend
parent9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0 (diff)
Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/meson.build16
-rw-r--r--include/wlr/backend/session/meson.build1
2 files changed, 17 insertions, 0 deletions
diff --git a/include/wlr/backend/meson.build b/include/wlr/backend/meson.build
new file mode 100644
index 00000000..e005b854
--- /dev/null
+++ b/include/wlr/backend/meson.build
@@ -0,0 +1,16 @@
+install_headers(
+ 'drm.h',
+ 'headless.h',
+ 'interface.h',
+ 'libinput.h',
+ 'multi.h',
+ 'session.h',
+ 'wayland.h',
+ subdir: 'wlr/backend',
+)
+
+if conf_data.get('WLR_HAS_X11_BACKEND', false)
+ install_headers('x11.h', subdir: 'wlr/backend')
+endif
+
+subdir('session')
diff --git a/include/wlr/backend/session/meson.build b/include/wlr/backend/session/meson.build
new file mode 100644
index 00000000..21b5a96b
--- /dev/null
+++ b/include/wlr/backend/session/meson.build
@@ -0,0 +1 @@
+install_headers('interface.h', subdir: 'wlr/backend/session')