X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmapi%2Fglapi%2Fgen%2FSConscript;h=b9cdbbf363fa3f8fce20258f177b7a297ed10162;hb=2cf48c37c1e2946f7c0648e0a5927a90209f59a4;hp=18158ff8b10e9dbacd52beb150d0f4c40065f8f9;hpb=bcd6f3b23c906befd5f0351eaec908dc9496147a;p=mesa.git diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript index 18158ff8b10..b9cdbbf363f 100644 --- a/src/mapi/glapi/gen/SConscript +++ b/src/mapi/glapi/gen/SConscript @@ -38,12 +38,26 @@ env.CodeGenerate( target = '../../../mapi/glapi/glprocs.h', script = 'gl_procs.py', source = sources, - command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET' + command = python_cmd + ' $SCRIPT -c -f $SOURCE > $TARGET' ) 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' )