summaryrefslogtreecommitdiffstats
path: root/src/egl/main/SConscript
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-20 19:41:58 +0100
committerEmil Velikov <[email protected]>2014-08-13 00:46:52 +0100
commitb26017fad82af73b91da1e132256e8304bb60c4d (patch)
tree586f5273c8468878f0078ae9286dc6219af08686 /src/egl/main/SConscript
parent2787bff8dddfa0770b6f0fb1bf81cf1076606965 (diff)
egl/main: Bring in the Makefile.sources
Rather than having the sources list duplicated across all three build systems, define it once and use it whenever needed. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/main/SConscript')
-rw-r--r--src/egl/main/SConscript21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index 8c57ceaf20f..390f28a6b84 100644
--- a/src/egl/main/SConscript
+++ b/src/egl/main/SConscript
@@ -28,25 +28,8 @@ env.Append(CPPPATH = [
'#/include',
])
-egl_sources = [
- 'eglapi.c',
- 'eglarray.c',
- 'eglconfig.c',
- 'eglcontext.c',
- 'eglcurrent.c',
- 'egldisplay.c',
- 'egldriver.c',
- 'eglfallbacks.c',
- 'eglglobals.c',
- 'eglimage.c',
- 'egllog.c',
- 'eglmisc.c',
- 'eglmode.c',
- 'eglscreen.c',
- 'eglstring.c',
- 'eglsurface.c',
- 'eglsync.c',
-]
+# parse Makefile.sources
+egl_sources = env.ParseSourceList('Makefile.sources', 'LIBEGL_C_FILES')
egl = env.ConvenienceLibrary(
target = 'egl',