From: Brian Paul Date: Fri, 1 Jun 2012 14:27:21 +0000 (-0600) Subject: scons: generate the glapitable.h file too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=091a61a8d5468365ec2ade2535dc8c439095cf18;p=mesa.git scons: generate the glapitable.h file too --- 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 @@ -18,6 +18,13 @@ glapi_headers += env.CodeGenerate( command = python_cmd + ' $SCRIPT -m remap_table -f $SOURCE > $TARGET', ) +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',