aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/meson.build17
-rw-r--r--include/wlr/backend/session/meson.build1
-rw-r--r--include/wlr/interfaces/meson.build11
-rw-r--r--include/wlr/meson.build24
-rw-r--r--include/wlr/render/meson.build10
-rw-r--r--include/wlr/types/meson.build53
-rw-r--r--include/wlr/util/meson.build6
7 files changed, 10 insertions, 112 deletions
diff --git a/include/wlr/backend/meson.build b/include/wlr/backend/meson.build
deleted file mode 100644
index 47de62d2..00000000
--- a/include/wlr/backend/meson.build
+++ /dev/null
@@ -1,17 +0,0 @@
-install_headers(
- 'drm.h',
- 'headless.h',
- 'interface.h',
- 'libinput.h',
- 'multi.h',
- 'noop.h',
- 'session.h',
- 'wayland.h',
- subdir: 'wlr/backend',
-)
-
-if conf_data.get('WLR_HAS_X11_BACKEND', 0) == 1
- 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
deleted file mode 100644
index 21b5a96b..00000000
--- a/include/wlr/backend/session/meson.build
+++ /dev/null
@@ -1 +0,0 @@
-install_headers('interface.h', subdir: 'wlr/backend/session')
diff --git a/include/wlr/interfaces/meson.build b/include/wlr/interfaces/meson.build
deleted file mode 100644
index 7d4d811d..00000000
--- a/include/wlr/interfaces/meson.build
+++ /dev/null
@@ -1,11 +0,0 @@
-install_headers(
- 'wlr_input_device.h',
- 'wlr_keyboard.h',
- 'wlr_output.h',
- 'wlr_pointer.h',
- 'wlr_switch.h',
- 'wlr_tablet_pad.h',
- 'wlr_tablet_tool.h',
- 'wlr_touch.h',
- subdir: 'wlr/interfaces',
-)
diff --git a/include/wlr/meson.build b/include/wlr/meson.build
index 8874dbc7..032c08d2 100644
--- a/include/wlr/meson.build
+++ b/include/wlr/meson.build
@@ -8,19 +8,15 @@ version_data.set('WLR_VERSION_API_CURRENT', so_version[0])
version_data.set('WLR_VERSION_API_REVISION', so_version[1])
version_data.set('WLR_VERSION_API_AGE', so_version[2])
-install_headers(
- configure_file(input: 'config.h.in', output: 'config.h',configuration: conf_data),
- configure_file(input: 'version.h.in', output: 'version.h', configuration: version_data),
- 'backend.h',
- 'xcursor.h',
- subdir: 'wlr'
+conf_h = configure_file(
+ input: 'config.h.in',
+ output: 'config.h',
+ configuration: conf_data,
+)
+ver_h = configure_file(
+ input: 'version.h.in',
+ output: 'version.h',
+ configuration: version_data,
)
-if conf_data.get('WLR_HAS_XWAYLAND', 0) == 1
- install_headers('xwayland.h', subdir: 'wlr')
-endif
-subdir('backend')
-subdir('interfaces')
-subdir('render')
-subdir('types')
-subdir('util')
+install_headers(conf_h, ver_h, subdir: 'wlr')
diff --git a/include/wlr/render/meson.build b/include/wlr/render/meson.build
deleted file mode 100644
index 06ebcc37..00000000
--- a/include/wlr/render/meson.build
+++ /dev/null
@@ -1,10 +0,0 @@
-install_headers(
- 'dmabuf.h',
- 'egl.h',
- 'drm_format_set.h',
- 'gles2.h',
- 'interface.h',
- 'wlr_renderer.h',
- 'wlr_texture.h',
- subdir: 'wlr/render',
-)
diff --git a/include/wlr/types/meson.build b/include/wlr/types/meson.build
deleted file mode 100644
index aee5c6d9..00000000
--- a/include/wlr/types/meson.build
+++ /dev/null
@@ -1,53 +0,0 @@
-install_headers(
- 'wlr_box.h',
- 'wlr_buffer.h',
- 'wlr_compositor.h',
- 'wlr_cursor.h',
- 'wlr_data_control_v1.h',
- 'wlr_data_device.h',
- 'wlr_export_dmabuf_v1.h',
- 'wlr_foreign_toplevel_management_v1.h',
- 'wlr_fullscreen_shell_v1.h',
- 'wlr_gamma_control_v1.h',
- 'wlr_gtk_primary_selection.h',
- 'wlr_idle_inhibit_v1.h',
- 'wlr_idle.h',
- 'wlr_input_device.h',
- 'wlr_input_inhibitor.h',
- 'wlr_input_method_v2.h',
- 'wlr_keyboard.h',
- 'wlr_keyboard_group.h',
- 'wlr_layer_shell_v1.h',
- 'wlr_linux_dmabuf_v1.h',
- 'wlr_list.h',
- 'wlr_matrix.h',
- 'wlr_output_damage.h',
- 'wlr_output_layout.h',
- 'wlr_output_management_v1.h',
- 'wlr_output.h',
- 'wlr_pointer_constraints_v1.h',
- 'wlr_pointer_gestures_v1.h',
- 'wlr_pointer.h',
- 'wlr_presentation_time.h',
- 'wlr_primary_selection_v1.h',
- 'wlr_primary_selection.h',
- 'wlr_region.h',
- 'wlr_relative_pointer_v1.h',
- 'wlr_screencopy_v1.h',
- 'wlr_seat.h',
- 'wlr_server_decoration.h',
- 'wlr_surface.h',
- 'wlr_switch.h',
- 'wlr_tablet_pad.h',
- 'wlr_tablet_tool.h',
- 'wlr_tablet_v2.h',
- 'wlr_text_input_v3.h',
- 'wlr_touch.h',
- 'wlr_virtual_keyboard_v1.h',
- 'wlr_xcursor_manager.h',
- 'wlr_xdg_decoration_v1.h',
- 'wlr_xdg_output_v1.h',
- 'wlr_xdg_shell_v6.h',
- 'wlr_xdg_shell.h',
- subdir: 'wlr/types',
-)
diff --git a/include/wlr/util/meson.build b/include/wlr/util/meson.build
deleted file mode 100644
index ee72cbd6..00000000
--- a/include/wlr/util/meson.build
+++ /dev/null
@@ -1,6 +0,0 @@
-install_headers(
- 'edges.h',
- 'log.h',
- 'region.h',
- subdir: 'wlr/util',
-)