diff options
author | Chia-I Wu <[email protected]> | 2011-08-22 11:30:27 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-27 17:28:31 +0800 |
commit | 11a56c430b84e97a10016045a2a0eeb126df88de (patch) | |
tree | 61c1b649af50bb4b305293c393e0b103a3bd1623 /src/gallium/drivers/nvfx/SConscript | |
parent | 1025f11327cc5fb91a2dbd286ee0d7c00daaa8b3 (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/nvfx/SConscript')
-rw-r--r-- | src/gallium/drivers/nvfx/SConscript | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/gallium/drivers/nvfx/SConscript b/src/gallium/drivers/nvfx/SConscript index f1041e77633..4f57662d5e1 100644 --- a/src/gallium/drivers/nvfx/SConscript +++ b/src/gallium/drivers/nvfx/SConscript @@ -8,28 +8,7 @@ env.PrependUnique(delete_existing=1, CPPPATH = [ nvfx = env.ConvenienceLibrary( target = 'nvfx', - source = [ - 'nv04_2d.c', - 'nvfx_buffer.c', - 'nvfx_context.c', - 'nvfx_clear.c', - 'nvfx_draw.c', - 'nvfx_fragprog.c', - 'nvfx_fragtex.c', - 'nv30_fragtex.c', - 'nv40_fragtex.c', - 'nvfx_miptree.c', - 'nvfx_push.c', - 'nvfx_query.c', - 'nvfx_resource.c', - 'nvfx_screen.c', - 'nvfx_state.c', - 'nvfx_state_emit.c', - 'nvfx_state_fb.c', - 'nvfx_surface.c', - 'nvfx_transfer.c', - 'nvfx_vbo.c', - 'nvfx_vertprog.c', - ]) + source = env.ParserSourceList('Makefile.sources', 'C_SOURCES') + ) Export('nvfx') |