summaryrefslogtreecommitdiffstats
path: root/src/egl/main/SConscript
diff options
context:
space:
mode:
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',