aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile.srcs
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-18 17:15:15 +0000
committermarha <marha@users.sourceforge.net>2009-11-18 17:15:15 +0000
commitb6ebd3b00a6080469e40e83c1c97571fded386e2 (patch)
treecb2d605203e1fb54e5fd2c2e73a281cb00377f4f /libxcb/src/makefile.srcs
parentcac6184d466da272f4eaf5d6dc8a072035523ebf (diff)
downloadvcxsrv-b6ebd3b00a6080469e40e83c1c97571fded386e2.tar.gz
vcxsrv-b6ebd3b00a6080469e40e83c1c97571fded386e2.tar.bz2
vcxsrv-b6ebd3b00a6080469e40e83c1c97571fded386e2.zip
Optimised makefile of libxcb\src
Avoid needless rebuilds.
Diffstat (limited to 'libxcb/src/makefile.srcs')
-rw-r--r--libxcb/src/makefile.srcs13
1 files changed, 13 insertions, 0 deletions
diff --git a/libxcb/src/makefile.srcs b/libxcb/src/makefile.srcs
new file mode 100644
index 000000000..2d4846a89
--- /dev/null
+++ b/libxcb/src/makefile.srcs
@@ -0,0 +1,13 @@
+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) $<
+
+%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
+ python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $<
+