summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/SConscript5
-rw-r--r--src/gallium/winsys/sw/wrapper/SConscript21
2 files changed, 26 insertions, 0 deletions
diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript
index 2013ee97c1..db7356dee9 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -1,5 +1,10 @@
Import('*')
+
+SConscript([
+ 'sw/wrapper/SConscript',
+])
+
if 'xlib' in env['winsys']:
SConscript([
'sw/xlib/SConscript',
diff --git a/src/gallium/winsys/sw/wrapper/SConscript b/src/gallium/winsys/sw/wrapper/SConscript
new file mode 100644
index 0000000000..4c60488df0
--- /dev/null
+++ b/src/gallium/winsys/sw/wrapper/SConscript
@@ -0,0 +1,21 @@
+#######################################################################
+# SConscript for xlib winsys
+
+
+Import('*')
+
+env = env.Clone()
+
+env.Append(CPPPATH = [
+ '#/src/gallium/include',
+ '#/src/gallium/auxiliary',
+ '#/src/gallium/drivers',
+])
+
+ws_wrapper = env.ConvenienceLibrary(
+ target = 'ws_wrapper',
+ source = [
+ 'wrapper_sw_winsys.c',
+ ]
+)
+Export('ws_wrapper')