summaryrefslogtreecommitdiff
path: root/src/gallium/targets/graw-gdi
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-18 13:02:36 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-18 13:02:36 +0000
commit3dcc3153b087a2ec42e6177d965dd8b2c95779c2 (patch)
tree4fb495a93b69f0b041de635c8c8d84a0640cc464 /src/gallium/targets/graw-gdi
parent185d862cd8cd0a56dd86daa01d9c692ff4abfb54 (diff)
scons: Use inline wrap helpers more consistently.
Diffstat (limited to 'src/gallium/targets/graw-gdi')
-rw-r--r--src/gallium/targets/graw-gdi/SConscript15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gallium/targets/graw-gdi/SConscript b/src/gallium/targets/graw-gdi/SConscript
index 8d98b36fba..352efe95d0 100644
--- a/src/gallium/targets/graw-gdi/SConscript
+++ b/src/gallium/targets/graw-gdi/SConscript
@@ -9,15 +9,9 @@ env.Append(CPPPATH = [
'#src/gallium/winsys/sw',
])
-env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD'])
-
env.Prepend(LIBS = [
gallium,
'gdi32',
- identity,
- rbug,
- trace,
- galahad,
'user32',
'ws2_32',
])
@@ -27,8 +21,13 @@ sources = [
graw_util,
]
-env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
-env.Prepend(LIBS = [softpipe])
+if True:
+ env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE'])
+ env.Prepend(LIBS = [trace, rbug, galahad, softpipe])
+
+if env['llvm']:
+ env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
+ env.Prepend(LIBS = [llvmpipe])
graw = env.SharedLibrary(
target = 'graw',