diff options
author | Ian Romanick <[email protected]> | 2004-12-20 04:53:00 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-12-20 04:53:00 +0000 |
commit | 0d84c68313cba241b8020f12211f2abdfd53a955 (patch) | |
tree | a2f1a7d9bb14166a0ea8b250acc32068e49f11e9 /src/mesa/glapi/Makefile | |
parent | 46be433c47027ad1bed6ccaa0200fa2ffa6a7b2c (diff) |
Use GLX protocol code generated by glX_proto_send.py.
Diffstat (limited to 'src/mesa/glapi/Makefile')
-rw-r--r-- | src/mesa/glapi/Makefile | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile index 67a1d09160f..d0a73424759 100644 --- a/src/mesa/glapi/Makefile +++ b/src/mesa/glapi/Makefile @@ -4,34 +4,56 @@ # up to him/her to re-run this makefile and check in the newly generated files. -OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h ../x86/glapi_x86.S +OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h \ + ../x86/glapi_x86.S \ + ../../glx/x11/indirect.c \ + ../../glx/x11/indirect.h \ + ../../glx/x11/indirect_init.c \ + ../../glx/x11/indirect_size.h \ + ../../glx/x11/indirect_size.c COMMON = gl_XML.pyc license.pyc gl_API.xml +PYTHON2 = python all: $(OUTPUTS) gl_XML.pyc: gl_XML.py rm -f gl_XML.pyc > /dev/null - python2 -t -O gl_XML.py + $(PYTHON2) -t -O gl_XML.py license.pyc: license.py rm -f license.pyc > /dev/null - python2 -t -O license.py + $(PYTHON2) -t -O license.py glprocs.h: $(COMMON) gl_procs.py - python2 -t gl_procs.py > glprocs.h + $(PYTHON2) -t gl_procs.py > glprocs.h glapitemp.h: $(COMMON) gl_apitemp.py - python2 -t gl_apitemp.py > glapitemp.h + $(PYTHON2) -t gl_apitemp.py > glapitemp.h glapioffsets.h: $(COMMON) gl_offsets.py - python2 -t gl_offsets.py > glapioffsets.h + $(PYTHON2) -t gl_offsets.py > glapioffsets.h glapitable.h: $(COMMON) gl_table.py - python2 -t gl_table.py > glapitable.h + $(PYTHON2) -t gl_table.py > glapitable.h ../x86/glapi_x86.S: $(COMMON) gl_x86_asm.py - python2 -t gl_x86_asm.py > ../x86/glapi_x86.S + $(PYTHON2) -t gl_x86_asm.py > ../x86/glapi_x86.S + +../../glx/x11/indirect.c: $(COMMON) glX_proto_send.py + $(PYTHON2) -t glX_proto_send.py -m proto > ../../glx/x11/indirect.c + +../../glx/x11/indirect.h: $(COMMON) glX_proto_send.py + $(PYTHON2) -t glX_proto_send.py -m init_h > ../../glx/x11/indirect.h + +../../glx/x11/indirect_init.c: $(COMMON) glX_proto_send.py + $(PYTHON2) -t glX_proto_send.py -m init_c > ../../glx/x11/indirect_init.c + +../../glx/x11/indirect_size.h: $(COMMON) glX_proto_send.py + $(PYTHON2) -t glX_proto_send.py -m size_h > ../../glx/x11/indirect_size.h + +../../glx/x11/indirect_size.c: $(COMMON) glX_proto_send.py + $(PYTHON2) -t glX_proto_send.py -m size_c > ../../glx/x11/indirect_size.c clean: rm -f *~ *.pyc |