gallium: Add pipe wrapper software winsys to scons build
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 10 May 2010 16:02:15 +0000 (17:02 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 10 May 2010 16:06:02 +0000 (17:06 +0100)
src/gallium/winsys/SConscript
src/gallium/winsys/sw/wrapper/SConscript [new file with mode: 0644]

index 2013ee97c1c37751b66a5d5efd4c877dc79f1b93..db7356dee974fe95f5143acb0eafaa7300b32712 100644 (file)
@@ -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 (file)
index 0000000..4c60488
--- /dev/null
@@ -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')