summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-11-05 18:30:06 +0000
committerJakob Bornecrantz <jakob@vmware.com>2010-11-05 20:58:49 +0000
commitf1600d3a9725803f0526fb3fd673787307539d27 (patch)
treef481425778080affde776f0ed224eb19c1de6bb0 /src/gallium/state_trackers/dri
parent7e9f5eab4e18e0b661fc9b65a0f409d10e041b24 (diff)
scons: Unify state tracker SConscripts
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r--src/gallium/state_trackers/dri/drm/SConscript16
-rw-r--r--src/gallium/state_trackers/dri/sw/SConscript16
2 files changed, 18 insertions, 14 deletions
diff --git a/src/gallium/state_trackers/dri/drm/SConscript b/src/gallium/state_trackers/dri/drm/SConscript
index 90082ffb6a..b188f76f91 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 8646d276c8..d0c3efc6fa 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')