aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
committermarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
commit3458e8f13f8389a146c5b54b145dfb586af98dce (patch)
tree0efd2afba851fe3129bf047dbfcac1a37e4ec24d /libxcb/src/makefile
parent2207e9e23c1875aef1ef657db83b502ec38eb196 (diff)
downloadvcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.gz
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.bz2
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.zip
libxcb is now a dll
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))