From f1600d3a9725803f0526fb3fd673787307539d27 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 5 Nov 2010 18:30:06 +0000 Subject: scons: Unify state tracker SConscripts --- src/gallium/state_trackers/dri/drm/SConscript | 16 +++++++++------- src/gallium/state_trackers/dri/sw/SConscript | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) (limited to 'src/gallium/state_trackers/dri') diff --git a/src/gallium/state_trackers/dri/drm/SConscript b/src/gallium/state_trackers/dri/drm/SConscript index 90082ffb6ae..b188f76f910 100644 --- a/src/gallium/state_trackers/dri/drm/SConscript +++ b/src/gallium/state_trackers/dri/drm/SConscript @@ -14,13 +14,15 @@ env.Append(CPPPATH = [ '#/src/mesa/drivers/dri/common', ]) +sources = [ + 'dri_context.c', + 'dri_drawable.c', + 'dri_screen.c', + 'dri2.c', +] + st_dri = env.ConvenienceLibrary( target = 'st_dri', - source = [ 'dri_context.c', - 'dri_drawable.c', - 'dri_screen.c', - 'dri2.c', - ] - ) - + source = sources, +) Export('st_dri') diff --git a/src/gallium/state_trackers/dri/sw/SConscript b/src/gallium/state_trackers/dri/sw/SConscript index 8646d276c8d..d0c3efc6faa 100644 --- a/src/gallium/state_trackers/dri/sw/SConscript +++ b/src/gallium/state_trackers/dri/sw/SConscript @@ -14,13 +14,15 @@ env.Append(CPPPATH = [ env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')]) +sources = [ + 'dri_context.c', + 'dri_drawable.c', + 'dri_screen.c', + 'drisw.c', +] + st_drisw = env.ConvenienceLibrary( target = 'st_drisw', - source = [ 'dri_context.c', - 'dri_drawable.c', - 'dri_screen.c', - 'drisw.c', - ] - ) - + source = sources, +) Export('st_drisw') -- cgit v1.2.3