diff options
author | Joakim Sindholt <opensource@zhasha.com> | 2009-10-05 19:25:04 +0200 |
---|---|---|
committer | Joakim Sindholt <opensource@zhasha.com> | 2009-10-05 19:25:04 +0200 |
commit | 1f39d59a2996e2acf6893a8dd1a0293bd8790cc2 (patch) | |
tree | e675586dd2c3be3fa72bd22a7a8c12fea7059b85 /src/mesa/drivers/dri/r300/compiler/SConscript | |
parent | 6971be783b970f882e873fa40e2dccde4137201f (diff) | |
download | external_mesa3d-1f39d59a2996e2acf6893a8dd1a0293bd8790cc2.zip external_mesa3d-1f39d59a2996e2acf6893a8dd1a0293bd8790cc2.tar.gz external_mesa3d-1f39d59a2996e2acf6893a8dd1a0293bd8790cc2.tar.bz2 |
r300g: fix scons build
So I didn't touch r300compiler, but r300g now compiles after having
declarations and code untangled. As nha so gently points out, we shouldn't
have to do this just to comply with MSVC compilers.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/SConscript')
-rwxr-xr-x | src/mesa/drivers/dri/r300/compiler/SConscript | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/SConscript b/src/mesa/drivers/dri/r300/compiler/SConscript new file mode 100755 index 0000000..48fd65f --- /dev/null +++ b/src/mesa/drivers/dri/r300/compiler/SConscript @@ -0,0 +1,30 @@ +Import('*') + +env = env.Clone() +env.Append(CPPPATH = '#/include') +env.Append(CPPPATH = '#/src/mesa') + +# temporary fix +env['CFLAGS'] = str(env['CFLAGS']).replace('-Werror=declaration-after-statement', '') + +r300compiler = env.ConvenienceLibrary( + target = 'r300compiler', + source = [ + 'radeon_code.c', + 'radeon_compiler.c', + 'radeon_nqssadce.c', + 'radeon_program.c', + 'radeon_program_alu.c', + 'radeon_program_pair.c', + 'r3xx_fragprog.c', + 'r300_fragprog.c', + 'r300_fragprog_swizzle.c', + 'r300_fragprog_emit.c', + 'r500_fragprog.c', + 'r500_fragprog_emit.c', + 'r3xx_vertprog.c', + 'r3xx_vertprog_dump.c', + 'memory_pool.c', + ]) + +Return('r300compiler') |