diff options
Diffstat (limited to 'src/gallium/drivers/r600/SConscript')
-rw-r--r-- | src/gallium/drivers/r600/SConscript | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript new file mode 100644 index 0000000000..26e2f1941c --- /dev/null +++ b/src/gallium/drivers/r600/SConscript @@ -0,0 +1,37 @@ +Import('*') + +env = env.Clone() + +try: + env.ParseConfig('pkg-config --cflags libdrm_radeon') +except OSError: + print 'warning: not building r600' + Return() + +env.Append(CPPPATH = [ + '#/include', + '#/src/mesa', +]) + +r600 = env.ConvenienceLibrary( + target = 'r600', + source = [ + 'r600_buffer.c', + 'r600_context.c', + 'r600_draw.c', + 'r600_blit.c', + 'r600_helper.c', + 'r600_query.c', + 'r600_resource.c', + 'r600_screen.c', + 'r600_state.c', + 'r600_texture.c', + 'r600_shader.c', + 'r600_compiler.c', + 'r600_compiler_tgsi.c', + 'r600_compiler_dump.c', + 'r600_compiler_r600.c', + 'r600_compiler_r700.c' + ]) + +Export('r600') |