aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/makefile')
-rw-r--r--libxcb/src/makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/libxcb/src/makefile b/libxcb/src/makefile
index 8205311c6..5b63df63a 100644
--- a/libxcb/src/makefile
+++ b/libxcb/src/makefile
@@ -1,5 +1,4 @@
-
-LIBRARY=libxcb
+SHAREDLIB=libxcb
CSRCS = \
xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
@@ -7,6 +6,19 @@ CSRCS = \
DEFINES += PTW32_STATIC_LIB HAVE_GETADDRINFO
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libxau\$(OBJDIR)\libXau.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+ifeq ($(DEBUG),1)
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2d.lib
+else
+LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2.lib
+endif
+
XCBPROTO_XCBINCLUDEDIR = ..\xcb-proto\src
XMLFILES := $(notdir $(wildcard $(XCBPROTO_XCBINCLUDEDIR)\*.xml))