st/xorg: consolidate C sources list into Makefile.sources
[mesa.git] / src / gallium / state_trackers / xorg / SConscript
index 1768f701e480c1d95d3e6e06f6bf5850e5692012..88990d589a92c17c39660b45d3f54390cbecee81 100644 (file)
@@ -22,21 +22,8 @@ if conf.CheckHeader('X11/extensions/dpmsconst.h'):
 
 conf.Finish()
 
-sources = [
-    'xorg_composite.c',
-    'xorg_crtc.c',
-    'xorg_dri2.c',
-    'xorg_driver.c',
-    'xorg_exa.c',
-    'xorg_exa_tgsi.c',
-    'xorg_output.c',
-    'xorg_renderer.c',
-    'xorg_xv.c',
-    'xorg_xvmc.c',
-]
-
 st_xorg = env.ConvenienceLibrary(
     target = 'st_xorg',
-    source = sources,
+    source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
 )
 Export('st_xorg')