summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/parser
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2023-01-22 09:21:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2023-01-22 09:21:12 +0000
commit5137be12226ec726cde8f1b16f38c9d0f63c8281 (patch)
tree2fa203cf313cd57f13dba789aae25c5cdf0aaf9b /xserver/hw/xfree86/parser
parent2ca49aa841311a3b1769ec80cd148c2b7d1c7501 (diff)
Add back the meson build system to xserver.
Not having those file only create noise when merging upstream releases.
Diffstat (limited to 'xserver/hw/xfree86/parser')
-rw-r--r--xserver/hw/xfree86/parser/meson.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/parser/meson.build b/xserver/hw/xfree86/parser/meson.build
new file mode 100644
index 000000000..031dc2bec
--- /dev/null
+++ b/xserver/hw/xfree86/parser/meson.build
@@ -0,0 +1,32 @@
+srcs_xorg_parser = [
+ 'Device.c',
+ 'Files.c',
+ 'Flags.c',
+ 'Input.c',
+ 'InputClass.c',
+ 'OutputClass.c',
+ 'Layout.c',
+ 'Module.c',
+ 'Video.c',
+ 'Monitor.c',
+ 'Pointer.c',
+ 'Screen.c',
+ 'Vendor.c',
+ 'read.c',
+ 'scan.c',
+ 'write.c',
+ 'DRI.c',
+ 'Extensions.c',
+]
+
+xorg_parser = static_library('xorg_parser',
+ srcs_xorg_parser,
+ include_directories: [inc, xorg_inc],
+ dependencies: common_dep,
+ c_args: [
+ xorg_c_args,
+ '-DDATADIR="' + join_paths(get_option('prefix'), get_option('datadir')) + '"',
+ ],
+)
+
+install_data(['xf86Parser.h', 'xf86Optrec.h'], install_dir: xorgsdkdir)