aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile.srcs
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/makefile.srcs')
-rwxr-xr-xlibxcb/src/makefile.srcs21
1 files changed, 21 insertions, 0 deletions
diff --git a/libxcb/src/makefile.srcs b/libxcb/src/makefile.srcs
new file mode 100755
index 000000000..37dd181b8
--- /dev/null
+++ b/libxcb/src/makefile.srcs
@@ -0,0 +1,21 @@
+ifneq ($(NORELDBG),1)
+$(error NORELDBG should have been set to 1)
+endif
+
+PACKAGE_STRING=libxcb
+XORG_MAN_PAGE=libxcb
+LIB_MAN_SUFFIX=xcb
+
+XCBPROTO_XCBPYTHONDIR = ../xcb-proto
+XCBPROTO_XCBINCLUDEDIR = ../xcb-proto/src
+
+%.h: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
+ python c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
+ -s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
+
+%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
+ python c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
+ -s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
+
+CLEANRULEPOSTFIX=noobjs
+