summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript')
-rw-r--r--dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript10
1 files changed, 9 insertions, 1 deletions
diff --git a/dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript b/dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript
index 17dd02105..0d19944f5 100644
--- a/dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript
+++ b/dist/Mesa/src/gallium/targets/dri-vmwgfx/SConscript
@@ -2,10 +2,18 @@ Import('*')
env = drienv.Clone()
-if True:
+if env['suncc']:
+ print 'warning: not building dri-vmwgfx'
+ Return()
+
+if env['build'] == 'release':
+ env.Append(CPPDEFINES = ['GALLIUM_RBUG'])
+ env.Prepend(LIBS = [rbug])
+else:
env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE'])
env.Prepend(LIBS = [trace, rbug, galahad, softpipe, ws_wrapper])
+
env.Prepend(LIBS = [
st_dri,
svgadrm,