[PATCH xserver 7/9] meson: Build libvgahw.so
Adam Jackson
ajax at redhat.com
Thu Apr 27 17:55:25 UTC 2017
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
hw/xfree86/meson.build | 3 +++
hw/xfree86/vgahw/meson.build | 10 ++++++++++
meson.build | 1 +
3 files changed, 14 insertions(+)
create mode 100644 hw/xfree86/vgahw/meson.build
diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build
index a09e8210c..a8f51da6a 100644
--- a/hw/xfree86/meson.build
+++ b/hw/xfree86/meson.build
@@ -50,6 +50,9 @@ subdir('modes')
subdir('os-support')
subdir('parser')
subdir('ramdac')
+if build_vgahw
+ subdir('vgahw')
+endif
subdir('drivers/modesetting')
srcs_xorg = [
diff --git a/hw/xfree86/vgahw/meson.build b/hw/xfree86/vgahw/meson.build
new file mode 100644
index 000000000..762a90f06
--- /dev/null
+++ b/hw/xfree86/vgahw/meson.build
@@ -0,0 +1,10 @@
+shared_module('vgahw',
+ [ 'vgaHW.c', 'vgaHWmodule.c'],
+ include_directories: [ inc, xorg_inc ],
+ dependencies: common_dep,
+ c_args: xorg_c_args,
+ install: true,
+ install_dir: module_dir,
+)
+
+install_data('vgaHW.h', install_dir: xorgsdkdir)
diff --git a/meson.build b/meson.build
index 3952b82b6..6da21f489 100644
--- a/meson.build
+++ b/meson.build
@@ -226,6 +226,7 @@ build_dpms = true
build_mitshm = true
build_res = true
build_screensaver = true
+build_vgahw = true
build_xace = true
build_xsecurity = true
build_xf86bigfont = true
--
2.12.2
More information about the xorg-devel
mailing list