aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/SConscript')
-rw-r--r--mesalib/src/mesa/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesalib/src/mesa/SConscript b/mesalib/src/mesa/SConscript
index 53e5ee8c2..11e034f84 100644
--- a/mesalib/src/mesa/SConscript
+++ b/mesalib/src/mesa/SConscript
@@ -441,6 +441,14 @@ env.CodeGenerate(
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)
+# The api_exec.c file is generated from the GL/ES API.xml file
+env.CodeGenerate(
+ target = 'main/api_exec.c',
+ script = GLAPI + 'gen/gl_genexec.py',
+ source = GLAPI + 'gen/gl_and_es_API.xml',
+ command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
+ )
+
# We also depend on the auto-generated GL API headers
env.Depends(mesa_sources, glapi_headers)