1 # This file isn't used during a normal compilation since we don't want to
2 # require Python in order to compile Mesa.
3 # Instead, when the Mesa developers update/change the API interface it's
4 # up to him/her to re-run this makefile and check in the newly generated files.
7 OUTPUTS
= glprocs.h glapitemp.h glapioffsets.h glapitable.h \
10 ..
/..
/glx
/x11
/indirect.c \
11 ..
/..
/glx
/x11
/indirect.h \
12 ..
/..
/glx
/x11
/indirect_init.c \
13 ..
/..
/glx
/x11
/indirect_size.h \
14 ..
/..
/glx
/x11
/indirect_size.c
16 COMMON
= gl_XML.pyo license.pyo gl_API.xml
17 COMMON_GLX
= $(COMMON
) glX_XML.pyo
20 PYTHON_FLAGS
= -t
-O
-O
25 rm -f gl_XML.pyo
> /dev
/null
26 $(PYTHON2
) $(PYTHON_FLAGS
) gl_XML.py
28 glX_XML.pyo
: glX_XML.py
$(COMMON
)
29 rm -f glX_XML.pyo
> /dev
/null
30 $(PYTHON2
) $(PYTHON_FLAGS
) glX_XML.py
32 license.pyo
: license.py
33 rm -f license.pyo
> /dev
/null
34 $(PYTHON2
) $(PYTHON_FLAGS
) license.py
36 glprocs.h
: $(COMMON
) gl_procs.py
37 $(PYTHON2
) $(PYTHON_FLAGS
) gl_procs.py
> glprocs.h
39 glapitemp.h
: $(COMMON
) gl_apitemp.py
40 $(PYTHON2
) $(PYTHON_FLAGS
) gl_apitemp.py
> glapitemp.h
42 glapioffsets.h
: $(COMMON
) gl_offsets.py
43 $(PYTHON2
) $(PYTHON_FLAGS
) gl_offsets.py
> glapioffsets.h
45 glapitable.h
: $(COMMON
) gl_table.py
46 $(PYTHON2
) $(PYTHON_FLAGS
) gl_table.py
> glapitable.h
48 ..
/main
/enums.c
: $(COMMON
) gl_enums.py
49 $(PYTHON2
) $(PYTHON_FLAGS
) gl_enums.py
> ..
/main
/enums.c
51 ..
/x86
/glapi_x86.S
: $(COMMON
) gl_x86_asm.py
52 $(PYTHON2
) $(PYTHON_FLAGS
) gl_x86_asm.py
> ..
/x86
/glapi_x86.S
54 ..
/..
/glx
/x11
/indirect.c
: $(COMMON_GLX
) glX_proto_send.py
55 $(PYTHON2
) $(PYTHON_FLAGS
) glX_proto_send.py
-m proto
> ..
/..
/glx
/x11
/indirect.c
57 ..
/..
/glx
/x11
/indirect.h
: $(COMMON_GLX
) glX_proto_send.py
58 $(PYTHON2
) $(PYTHON_FLAGS
) glX_proto_send.py
-m init_h
> ..
/..
/glx
/x11
/indirect.h
60 ..
/..
/glx
/x11
/indirect_init.c
: $(COMMON_GLX
) glX_proto_send.py
61 $(PYTHON2
) $(PYTHON_FLAGS
) glX_proto_send.py
-m init_c
> ..
/..
/glx
/x11
/indirect_init.c
63 ..
/..
/glx
/x11
/indirect_size.h
: $(COMMON_GLX
) glX_proto_size.py
64 $(PYTHON2
) $(PYTHON_FLAGS
) glX_proto_size.py
-m size_h
--only-set
-h _INDIRECT_SIZE_H_
> ..
/..
/glx
/x11
/indirect_size.h
66 ..
/..
/glx
/x11
/indirect_size.c
: $(COMMON_GLX
) glX_proto_size.py
67 $(PYTHON2
) $(PYTHON_FLAGS
) glX_proto_size.py
-m size_c
--only-set
> ..
/..
/glx
/x11
/indirect_size.c