diff options
Diffstat (limited to 'src/gallium/drivers/r600/SConscript')
-rw-r--r-- | src/gallium/drivers/r600/SConscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript new file mode 100644 index 00000000000..b6d9b7d8d22 --- /dev/null +++ b/src/gallium/drivers/r600/SConscript @@ -0,0 +1,33 @@ +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_asm.c', + 'r600_buffer.c', + 'r600_helper.c', + 'r600_pipe.c', + 'r600_query.c', + 'r600_resource.c', + 'r600_shader.c', + 'r600_state.c', + 'r600_texture.c', + 'r700_asm.c', + 'evergreen_state.c', + 'eg_asm.c', + ]) + +Export('r600') |