summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/Makefile
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-08-23 20:32:48 +0000
committerIan Romanick <[email protected]>2006-08-23 20:32:48 +0000
commit261a806f9e26347d756bddeae81f4e98325b8e84 (patch)
tree40279e4e65d9b1cfd42b7fedd5ea844ad70b247f /src/mesa/glapi/Makefile
parentd21ccb49c078f69030424c31dfe0b70dfe269ba8 (diff)
New script and API description file to enable generate of GLX protocol
decode tables in the server.
Diffstat (limited to 'src/mesa/glapi/Makefile')
-rw-r--r--src/mesa/glapi/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile
index 4eba897e4bf..6e8ed1508ac 100644
--- a/src/mesa/glapi/Makefile
+++ b/src/mesa/glapi/Makefile
@@ -27,7 +27,8 @@ SERVER_OUTPUTS = $(GLX_DIR)/indirect_dispatch.c \
$(GLX_DIR)/indirect_dispatch_swap.c \
$(GLX_DIR)/indirect_dispatch.h \
$(GLX_DIR)/indirect_size_get.c \
- $(GLX_DIR)/indirect_size_get.h
+ $(GLX_DIR)/indirect_size_get.h \
+ $(GLX_DIR)/indirect_table.c
COMMON = gl_XML.py license.py gl_API.xml typeexpr.py
COMMON_GLX = $(COMMON) glX_XML.py glX_proto_common.py
@@ -88,8 +89,8 @@ $(GLX_DIR)/indirect_dispatch.c: $(COMMON_GLX) glX_proto_recv.py
$(GLX_DIR)/indirect_dispatch_swap.c: $(COMMON_GLX) glX_proto_recv.py
$(PYTHON2) $(PYTHON_FLAGS) glX_proto_recv.py -m dispatch_c -s > $@
-$(GLX_DIR)/indirect_dispatch.h: $(COMMON_GLX) glX_proto_recv.py
- $(PYTHON2) $(PYTHON_FLAGS) glX_proto_recv.py -m dispatch_h -s > $@
+$(GLX_DIR)/indirect_dispatch.h: $(COMMON_GLX) glX_proto_recv.py glX_API.xml
+ $(PYTHON2) $(PYTHON_FLAGS) glX_proto_recv.py -m dispatch_h -f gl_and_glX_API.xml -s > $@
$(GLX_DIR)/indirect_size_get.h: $(COMMON_GLX) glX_proto_size.py
$(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_h --only-get -h '_INDIRECT_SIZE_GET_H_' > $@
@@ -97,6 +98,9 @@ $(GLX_DIR)/indirect_size_get.h: $(COMMON_GLX) glX_proto_size.py
$(GLX_DIR)/indirect_size_get.c: $(COMMON_GLX) glX_proto_size.py
$(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_c > $@
+$(GLX_DIR)/indirect_table.c: $(COMMON_GLX) glX_server_table.py glX_API.xml
+ $(PYTHON2) $(PYTHON_FLAGS) glX_server_table.py -f gl_and_glX_API.xml > $@
+
clean:
rm -f *~ *.pyo
rm -f $(OUTPUTS)