aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/makefile')
-rw-r--r--libxcb/src/makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/libxcb/src/makefile b/libxcb/src/makefile
new file mode 100644
index 000000000..d76306138
--- /dev/null
+++ b/libxcb/src/makefile
@@ -0,0 +1,30 @@
+SHAREDLIB=libxcb
+
+CSRCS = \
+ xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
+ xcb_list.c xcb_util.c xcb_auth.c
+
+DEFINES += PTW32_STATIC_LIB HAVE_GETADDRINFO LIBXCB_DLL
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libXau\$(OBJDIR)\libXau.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+LINKLIBS += $(PTHREADLIB)
+
+XCBPROTO_XCBINCLUDEDIR = ..\xcb-proto\src
+
+XMLFILES := $(notdir $(wildcard $(XCBPROTO_XCBINCLUDEDIR)\*.xml))
+XMLFILES := $(filter-out xkb.xml, $(XMLFILES))
+
+EXTSOURCES := $(XMLFILES:%.xml=%.c)
+CSRCS += $(EXTSOURCES)
+
+EXTHEADERS = $(XMLFILES:%.xml=%.h)
+
+$(EXTHEADERS) $(EXTSOURCES): c_client.py
+
+load_makefile NORELDBG=1 makefile.srcs