summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-09 15:07:57 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-09 15:09:32 +0000
commit706eda30578cbdd1456c09ccc2a570a5d6a99c92 (patch)
tree01c3850983962ad9fedf0dccf438ed4e78f0e61c /src/gallium
parentb694f321707c98c71478aceb11f814643109367b (diff)
scons: Add new targets option.
This will likely change. Most probably we'll just add an alias to indvidual targets and use the regular scons targets arguments.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/SConscript4
-rw-r--r--src/gallium/targets/SConscript2
-rw-r--r--src/gallium/winsys/xlib/SConscript16
3 files changed, 13 insertions, 9 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index d56c5c8461..ba541f9636 100644
--- a/src/gallium/SConscript
+++ b/src/gallium/SConscript
@@ -15,3 +15,7 @@ if platform != 'embedded':
if platform == 'windows':
SConscript('state_trackers/wgl/SConscript')
+
+SConscript('winsys/SConscript')
+
+SConscript('targets/SConscript')
diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript
index 46cbe656f4..266d705f89 100644
--- a/src/gallium/targets/SConscript
+++ b/src/gallium/targets/SConscript
@@ -5,7 +5,7 @@ Import('*')
# 'drm/SConscript',
# ])
-if 'xlib' in env['winsys']:
+if 'xlib' in env['targets']:
SConscript([
'libgl-xlib/SConscript',
])
diff --git a/src/gallium/winsys/xlib/SConscript b/src/gallium/winsys/xlib/SConscript
index 587cdb8e38..1a1879f128 100644
--- a/src/gallium/winsys/xlib/SConscript
+++ b/src/gallium/winsys/xlib/SConscript
@@ -15,13 +15,13 @@ if env['platform'] == 'linux' \
'#/src/gallium/drivers',
])
- st_xlib = env.ConvenienceLibrary(
- target = 'ws_xlib',
- source = [
- 'xlib_cell.c',
- 'xlib_llvmpipe.c',
- 'xlib_softpipe.c',
- 'xlib_sw_winsys.c',
- ]
+ ws_xlib = env.ConvenienceLibrary(
+ target = 'ws_xlib',
+ source = [
+ 'xlib_cell.c',
+ 'xlib_llvmpipe.c',
+ 'xlib_softpipe.c',
+ 'xlib_sw_winsys.c',
+ ]
)
Export('ws_xlib')