diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-01-28 19:00:54 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-01-28 19:00:54 +0000 |
commit | 16c3c7401846bbc7c300e6a9b433584ec5b68699 (patch) | |
tree | b34e784e5b84cf802a50fae6d1544aae4bd28b14 /src/mesa/glapi/Makefile | |
parent | 8d27148bbd13fbc8192f9c5aeeb9b39b92f1045d (diff) |
Refactor the code to emit multiple-inclusion protection to
FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be
used to generate multiple header files, add an option to specify the define
that is used for multiple-inclusion protection.
The changes to the header files in this commit are just a side-effect of the
changes to the Python scripts.
Diffstat (limited to 'src/mesa/glapi/Makefile')
-rw-r--r-- | src/mesa/glapi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile index ba89550eda..9fad47e00a 100644 --- a/src/mesa/glapi/Makefile +++ b/src/mesa/glapi/Makefile @@ -57,7 +57,7 @@ glapitable.h: $(COMMON) gl_table.py $(PYTHON2) $(PYTHON_FLAGS) glX_proto_send.py -m init_c > ../../glx/x11/indirect_init.c ../../glx/x11/indirect_size.h: $(COMMON_GLX) glX_proto_size.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_h --only-set > ../../glx/x11/indirect_size.h + $(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_h --only-set -h _INDIRECT_SIZE_H_ > ../../glx/x11/indirect_size.h ../../glx/x11/indirect_size.c: $(COMMON_GLX) glX_proto_size.py $(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_c --only-set > ../../glx/x11/indirect_size.c |