aboutsummaryrefslogtreecommitdiff
path: root/apps/xhost/makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-01-23 16:14:39 +0100
committermarha <marha@users.sourceforge.net>2012-01-23 16:15:11 +0100
commit0570a1c7385684374b77a5f62b84feb7fc7099be (patch)
treeff4f3c619be76a758b75fb5aa14546012cf76b70 /apps/xhost/makefile
parent7c71281dc91e15ef59ab3f4d5c11422a8cb7afdb (diff)
downloadvcxsrv-0570a1c7385684374b77a5f62b84feb7fc7099be.tar.gz
vcxsrv-0570a1c7385684374b77a5f62b84feb7fc7099be.tar.bz2
vcxsrv-0570a1c7385684374b77a5f62b84feb7fc7099be.zip
xhost now compiles
Diffstat (limited to 'apps/xhost/makefile')
-rw-r--r--apps/xhost/makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/xhost/makefile b/apps/xhost/makefile
new file mode 100644
index 000000000..357b93fb3
--- /dev/null
+++ b/apps/xhost/makefile
@@ -0,0 +1,29 @@
+DEFINES += BAD_ARPAINET TCPCONN IPv6
+
+TTYAPP = xhost
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libX11\src\xkb\$(OBJDIR)\libxkb.lib \
+ $(MHMAKECONF)\libX11\src\xlibi18n\$(OBJDIR)\libi18n.lib \
+ $(MHMAKECONF)\libX11\modules\lc\xlocale\$(OBJDIR)\libxlocale.lib \
+ $(MHMAKECONF)\libX11\modules\lc\utf8\$(OBJDIR)\libxlcUTF8Load.lib \
+ $(MHMAKECONF)\libX11\modules\lc\def\$(OBJDIR)\libxlcDef.lib \
+ $(MHMAKECONF)\libX11\modules\om\generic\$(OBJDIR)\libxomGeneric.lib \
+ $(MHMAKECONF)\libX11\modules\lc\gen\$(OBJDIR)\liblcGenConvLoad.lib \
+ $(MHMAKECONF)\libX11\modules\im\ximcp\$(OBJDIR)\libximcp.lib \
+ $(MHMAKECONF)\libxcb\src\$(OBJDIR)\libxcb.lib \
+ $(MHMAKECONF)\libxau\$(OBJDIR)\libXau.lib \
+ $(MHMAKECONF)\libXmu\src\$(OBJDIR)\libXmu.lib \
+ $(MHMAKECONF)\libX11\src\$(OBJDIR)\libx11.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
+
+CSRCS = xhost.c inet.c