summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:07:26 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:31 +0800
commita558bf69cb2ec21ad40d9d1f829036ee8b817def (patch)
treee6f615a994cc85fb9237babc49f4109f8501cb64 /src/gallium/drivers/i915/SConscript
parentd2f10d8267407b58cac989ad4c57cdbe7ec5d564 (diff)
i915g: share the source list
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
Diffstat (limited to 'src/gallium/drivers/i915/SConscript')
-rw-r--r--src/gallium/drivers/i915/SConscript29
1 files changed, 2 insertions, 27 deletions
diff --git a/src/gallium/drivers/i915/SConscript b/src/gallium/drivers/i915/SConscript
index 76f597001fe..22de67d5ac9 100644
--- a/src/gallium/drivers/i915/SConscript
+++ b/src/gallium/drivers/i915/SConscript
@@ -4,33 +4,8 @@ env = env.Clone()
i915 = env.ConvenienceLibrary(
target = 'i915',
- source = [
- 'i915_blit.c',
- 'i915_resource_buffer.c',
- 'i915_clear.c',
- 'i915_context.c',
- 'i915_debug.c',
- 'i915_debug_fp.c',
- 'i915_flush.c',
- 'i915_fpc_emit.c',
- 'i915_fpc_translate.c',
- 'i915_fpc_optimize.c',
- 'i915_prim_emit.c',
- 'i915_prim_vbuf.c',
- 'i915_query.c',
- 'i915_screen.c',
- 'i915_state.c',
- 'i915_state_derived.c',
- 'i915_state_dynamic.c',
- 'i915_state_fpc.c',
- 'i915_state_emit.c',
- 'i915_state_immediate.c',
- 'i915_state_sampler.c',
- 'i915_state_static.c',
- 'i915_surface.c',
- 'i915_resource.c',
- 'i915_resource_texture.c',
- ])
+ source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
+ )
env.Alias('i915', i915)