aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-03-26 14:45:36 +0100
committerJakob Bornecrantz <[email protected]>2010-03-26 14:48:36 +0100
commit7f91f2efb5b92a9ad8506c54643142f40f286d5c (patch)
treef7c6357b4a962b092147d1e8db4d87373d12636b /src/gallium/winsys
parent711529153c797b4169fd5bbba79b370a2f38a0e9 (diff)
swrastg: Build with scons
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/SConscript4
-rw-r--r--src/gallium/winsys/sw/dri/SConscript23
2 files changed, 27 insertions, 0 deletions
diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript
index 3e7052c0e6f..2013ee97c1c 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -11,6 +11,10 @@ if 'gdi' in env['winsys']:
])
if env['dri']:
+ SConscript([
+ 'sw/dri/SConscript',
+ ])
+
if 'vmware' in env['winsys']:
SConscript([
'svga/drm/SConscript',
diff --git a/src/gallium/winsys/sw/dri/SConscript b/src/gallium/winsys/sw/dri/SConscript
new file mode 100644
index 00000000000..b255d725f95
--- /dev/null
+++ b/src/gallium/winsys/sw/dri/SConscript
@@ -0,0 +1,23 @@
+#######################################################################
+# SConscript for xlib winsys
+
+
+Import('*')
+
+if env['platform'] == 'linux':
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/gallium/include',
+ '#/src/gallium/auxiliary',
+ '#/src/gallium/drivers',
+ ])
+
+ ws_dri = env.ConvenienceLibrary(
+ target = 'ws_dri',
+ source = [
+ 'dri_sw_winsys.c',
+ ]
+ )
+ Export('ws_dri')