summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-10 17:02:15 +0100
committerJakob Bornecrantz <[email protected]>2010-05-10 17:06:02 +0100
commit8ff59f09876686907f79ad86a12e36ebb623a0b2 (patch)
treeeca84d5a32067efb55e4b2ca9eacefcf640176f7 /src/gallium
parentbb7205895e3d29f42f261cd21a4f5971fdc28075 (diff)
gallium: Add pipe wrapper software winsys to scons build
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 2013ee97c1c..db7356dee97 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 00000000000..4c60488df0b
--- /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')