summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-06-01 08:27:21 -0600
committerBrian Paul <[email protected]>2012-06-01 08:27:21 -0600
commit091a61a8d5468365ec2ade2535dc8c439095cf18 (patch)
tree3901a7898fd02661f45b8e809cbcf03a73f0c531 /src/mapi/glapi
parent8009fca501a021cbaf9b25e01ff3a7793cc2c6cb (diff)
scons: generate the glapitable.h file too
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/SConscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 81f69dfea47..e8bb22731ca 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -19,6 +19,13 @@ glapi_headers += env.CodeGenerate(
)
glapi_headers += env.CodeGenerate(
+ target = '#src/mapi/glapi/glapitable.h',
+ script = GLAPI + 'gen/gl_table.py',
+ source = GLAPI + 'gen/gl_API.xml',
+ command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
+ )
+
+glapi_headers += env.CodeGenerate(
target = '#src/mapi/glapi/glapitemp.h',
script = GLAPI + 'gen/gl_apitemp.py',
source = GLAPI + 'gen/gl_API.xml',