aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile.srcs
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/makefile.srcs')
-rw-r--r--libxcb/src/makefile.srcs15
1 files changed, 15 insertions, 0 deletions
diff --git a/libxcb/src/makefile.srcs b/libxcb/src/makefile.srcs
new file mode 100644
index 000000000..0dc043ece
--- /dev/null
+++ b/libxcb/src/makefile.srcs
@@ -0,0 +1,15 @@
+ifneq ($(NORELDBG),1)
+$(error NORELDBG should have been set to 1)
+endif
+
+XCBPROTO_XCBPYTHONDIR = ../xcb-proto
+XCBPROTO_XCBINCLUDEDIR = ../xcb-proto/src
+
+%.h: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
+ python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
+
+%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
+ python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
+
+CLEANRULEPOSTFIX=noobjs
+