summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/winsys/sw/xlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/winsys/sw/xlib')
-rw-r--r--lib/mesa/src/gallium/winsys/sw/xlib/Makefile.am2
-rw-r--r--lib/mesa/src/gallium/winsys/sw/xlib/meson.build27
2 files changed, 28 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/winsys/sw/xlib/Makefile.am b/lib/mesa/src/gallium/winsys/sw/xlib/Makefile.am
index c7ed33bc4..e518dda82 100644
--- a/lib/mesa/src/gallium/winsys/sw/xlib/Makefile.am
+++ b/lib/mesa/src/gallium/winsys/sw/xlib/Makefile.am
@@ -31,4 +31,4 @@ noinst_LTLIBRARIES = libws_xlib.la
libws_xlib_la_SOURCES = $(C_SOURCES)
-EXTRA_DIST = SConscript
+EXTRA_DIST = SConscript meson.build
diff --git a/lib/mesa/src/gallium/winsys/sw/xlib/meson.build b/lib/mesa/src/gallium/winsys/sw/xlib/meson.build
new file mode 100644
index 000000000..c7cb0ffe9
--- /dev/null
+++ b/lib/mesa/src/gallium/winsys/sw/xlib/meson.build
@@ -0,0 +1,27 @@
+# Copyright © 2017 Intel Corporation
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+libws_xlib = static_library(
+ 'ws_xlib',
+ files('xlib_sw_winsys.c'),
+ c_args : c_vis_args,
+ include_directories : inc_common,
+ dependencies : [dep_x11, dep_xext, dep_xcb],
+)