summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-01 17:59:19 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:21 +0100
commit7d043162c5d9150947d9341cfa22192bd4c70fde (patch)
treec43d690f2194a55e218d0b0251d36f104337c216 /src/gallium/drivers/llvmpipe/SConscript
parentd2cf3e8dfd37d6225d5f6911fc53a07706cd07f7 (diff)
llvmpipe: Blending.
The code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index e09608ed644..4a365e0cb3f 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -2,7 +2,7 @@ Import('*')
env = env.Clone()
-env.ParseConfig('llvm-config --cflags --libs jit interpreter nativecodegen')
+env.ParseConfig('llvm-config --cflags')
llvmpipe = env.ConvenienceLibrary(
target = 'llvmpipe',
@@ -17,6 +17,7 @@ llvmpipe = env.ConvenienceLibrary(
'lp_bld_store.c',
'lp_bld_loop.c',
'lp_bld_logicop.c',
+ 'lp_bld_blend.c',
'lp_clear.c',
'lp_context.c',
'lp_draw_arrays.c',
@@ -45,12 +46,21 @@ llvmpipe = env.ConvenienceLibrary(
'lp_tile_cache.c',
])
+
+env = env.Clone()
+
env['LINK'] = env['CXX']
+env.ParseConfig('llvm-config --libs jit interpreter nativecodegen bitwriter')
+env.Prepend(LIBS = [llvmpipe] + auxiliaries)
env.Program(
target = 'lp_bld_test',
source = ['lp_bld_test.c'],
- LIBS = [llvmpipe] + auxiliaries + env['LIBS'],
+)
+
+env.Program(
+ target = 'lp_test_blend',
+ source = ['lp_test_blend.c'],
)
Export('llvmpipe')