summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:30:27 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:31 +0800
commit11a56c430b84e97a10016045a2a0eeb126df88de (patch)
tree61c1b649af50bb4b305293c393e0b103a3bd1623 /src/gallium/drivers/nvc0/SConscript
parent1025f11327cc5fb91a2dbd286ee0d7c00daaa8b3 (diff)
nouveau: share the source lists
For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
Diffstat (limited to 'src/gallium/drivers/nvc0/SConscript')
-rw-r--r--src/gallium/drivers/nvc0/SConscript27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/gallium/drivers/nvc0/SConscript b/src/gallium/drivers/nvc0/SConscript
index dbbbf663b33..eb32373b71d 100644
--- a/src/gallium/drivers/nvc0/SConscript
+++ b/src/gallium/drivers/nvc0/SConscript
@@ -4,30 +4,7 @@ env = env.Clone()
nvc0 = env.ConvenienceLibrary(
target = 'nvc0',
- source = [
- 'nvc0_context.c',
- 'nvc0_draw.c',
- 'nvc0_formats.c',
- 'nvc0_miptree.c',
- 'nvc0_resource.c',
- 'nvc0_screen.c',
- 'nvc0_state.c',
- 'nvc0_state_validate.c',
- 'nvc0_surface.c',
- 'nvc0_tex.c',
- 'nvc0_transfer.c',
- 'nvc0_vbo.c',
- 'nvc0_program.c',
- 'nvc0_shader_state.c',
- 'nvc0_pc.c',
- 'nvc0_pc_print.c',
- 'nvc0_pc_emit.c',
- 'nvc0_tgsi_to_nc.c',
- 'nvc0_pc_optimize.c',
- 'nvc0_pc_regalloc.c',
- 'nvc0_push.c',
- 'nvc0_push2.c',
- 'nvc0_query.c'
- ])
+ source = env.ParserSourceList('Makefile.sources', 'C_SOURCES')
+ )
Export('nvc0')