summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-03-29 13:07:55 +0200
committerAdam Jackson <ajax@redhat.com>2018-04-02 13:42:08 -0400
commit88c7b8bf4bae080ecb879fe7e3f8be2bede6f0a6 (patch)
tree4aadbd5d836e6b498e0744e768ec87deebd00121 /miext
parentf3b0a2aee21f12f3332bf598d3ba0fcbd2832f95 (diff)
downloadxserver-88c7b8bf4bae080ecb879fe7e3f8be2bede6f0a6.tar.gz
meson: Distribute more SDK headers
Install missing headers to the SDK directory to allow external modules to properly build against the SDK. After this commit, the list of files installed in the SDK include directory is the same as the list of files installed by the autotools-based build. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'miext')
-rw-r--r--miext/damage/meson.build7
-rw-r--r--miext/shadow/meson.build6
-rw-r--r--miext/sync/meson.build9
3 files changed, 22 insertions, 0 deletions
diff --git a/miext/damage/meson.build b/miext/damage/meson.build
index 2c5148396..1f6032c68 100644
--- a/miext/damage/meson.build
+++ b/miext/damage/meson.build
@@ -2,8 +2,15 @@ srcs_miext_damage = [
'damage.c',
]
+hdrs_miext_damage = [
+ 'damage.h',
+ 'damagestr.h',
+]
+
libxserver_miext_damage = static_library('libxserver_miext_damage',
srcs_miext_damage,
include_directories: inc,
dependencies: common_dep,
)
+
+install_data(hdrs_miext_damage, install_dir: xorgsdkdir)
diff --git a/miext/shadow/meson.build b/miext/shadow/meson.build
index 1b4ae8a47..7230df635 100644
--- a/miext/shadow/meson.build
+++ b/miext/shadow/meson.build
@@ -25,8 +25,14 @@ srcs_miext_shadow = [
'shrotate.c',
]
+hdrs_miext_shadow = [
+ 'shadow.h',
+]
+
libxserver_miext_shadow = static_library('libxserver_miext_shadow',
srcs_miext_shadow,
include_directories: inc,
dependencies: common_dep,
)
+
+install_data(hdrs_miext_shadow, install_dir: xorgsdkdir)
diff --git a/miext/sync/meson.build b/miext/sync/meson.build
index da86fcc84..8b7ee4dba 100644
--- a/miext/sync/meson.build
+++ b/miext/sync/meson.build
@@ -3,6 +3,13 @@ srcs_miext_sync = [
'misyncfd.c',
]
+hdrs_miext_sync = [
+ 'misync.h',
+ 'misyncfd.h',
+ 'misyncshm.h',
+ 'misyncstr.h',
+]
+
if build_dri3
srcs_miext_sync += 'misyncshm.c'
endif
@@ -15,3 +22,5 @@ libxserver_miext_sync = static_library('libxserver_miext_sync',
xshmfence_dep,
],
)
+
+install_data(hdrs_miext_sync, install_dir: xorgsdkdir)