aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/makefile')
-rw-r--r--apps/xwininfo/makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/apps/xwininfo/makefile b/apps/xwininfo/makefile
index d0b3abae0..81c1eaf54 100644
--- a/apps/xwininfo/makefile
+++ b/apps/xwininfo/makefile
@@ -3,17 +3,21 @@ TTYAPP = xwininfo
INCLUDELIBFILES = \
$(MHMAKECONF)\libX11\src\xkb\$(OBJDIR)\libxkb.lib \
$(MHMAKECONF)\libX11\src\xcms\$(OBJDIR)\libxcms.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)\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)\libxau\$(OBJDIR)\libXau.lib \
$(MHMAKECONF)\libXext\src\$(OBJDIR)\libXext.lib \
- $(MHMAKECONF)\libX11\src\$(OBJDIR)\libX11.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
@@ -21,7 +25,7 @@ else
LINKLIBS += $(MHMAKECONF)\pthreads\pthreadVC2.lib
endif
-CSRCS = \
+CSRCS = \
clientwin.c \
dsimple.c \
xwininfo.c