r600g: support all channels of TGSI_FILE_ADDRESS
[mesa.git] / src / gallium / targets / graw-gdi / SConscript
index 8ee8915acec5882fb5d3024991a8d369d8bf5aa7..352efe95d09f0ca4c0b9fd4399c9955e576edc94 100644 (file)
@@ -12,9 +12,6 @@ env.Append(CPPPATH = [
 env.Prepend(LIBS = [
     gallium,
     'gdi32',
-    identity,
-    rbug,
-    trace,
     'user32',
     'ws2_32',
 ])
@@ -24,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',