summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-05-10 17:02:15 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-05-10 17:06:02 +0100
commit8ff59f09876686907f79ad86a12e36ebb623a0b2 (patch)
treeeca84d5a32067efb55e4b2ca9eacefcf640176f7
parentbb7205895e3d29f42f261cd21a4f5971fdc28075 (diff)
gallium: Add pipe wrapper software winsys to scons build
-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')