summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-07-01 12:04:59 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-07-01 12:04:59 +0100
commitfa3040c117a998582eb04666ecbb32d3b77edf5c (patch)
tree0cc0e8dd0ada9b91ccbbb1fe88d6ff03200bf84c /src/mapi
parentbf95ca7de0c02a00a75d1d5e2693a33b68ff784d (diff)
scons: Fix dependencies of enums.c and api_exec.c.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/SConscript16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 18158ff8b10..e4abe906a4d 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -44,6 +44,20 @@ env.CodeGenerate(
env.CodeGenerate(
target = '../../../mesa/main/remap_helper.h',
script = 'remap_helper.py',
- source = 'gl_and_es_API.xml',
+ source = sources,
+ command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
+ )
+
+env.CodeGenerate(
+ target = '../../../mesa/main/enums.c',
+ script = 'gl_enums.py',
+ source = sources,
+ command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
+ )
+
+env.CodeGenerate(
+ target = '../../../mesa/main/api_exec.c',
+ script = 'gl_genexec.py',
+ source = sources,
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)