3 from sys import executable as python_cmd
6 # Generate the GL API headers that are used by various parts of the
7 # Mesa and GLX tree. Other .c and .h files are generated elsewhere
8 # if they're only used in one place.
11 target = '../../../mesa/main/dispatch.h',
12 script = 'gl_table.py',
13 source = 'gl_and_es_API.xml',
14 command = python_cmd + ' $SCRIPT -m remap_table -f $SOURCE > $TARGET',
18 target = '../../../mapi/glapi/glapitable.h',
19 script = 'gl_table.py',
20 source = 'gl_and_es_API.xml',
21 command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
25 target = '../../../mapi/glapi/glapitemp.h',
26 script = 'gl_apitemp.py',
27 source = 'gl_and_es_API.xml',
28 command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
32 target = '../../../mapi/glapi/glprocs.h',
33 script = 'gl_procs.py',
34 source = 'gl_and_es_API.xml',
35 command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
39 target = '../../../mesa/main/remap_helper.h',
40 script = 'remap_helper.py',
41 source = 'gl_and_es_API.xml',
42 command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'