From: Adam Dickmeiss Date: Tue, 9 Dec 2014 12:47:40 +0000 (+0100) Subject: Update for VS 2013 X-Git-Tag: v1.6.2~5 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=47f9b9a22b818376c2e1490f1f74731c40068f22;p=yazpp-moved-to-github.git Update for VS 2013 --- diff --git a/win/makefile b/win/makefile index 25b78cc..83ddb2e 100644 --- a/win/makefile +++ b/win/makefile @@ -4,7 +4,7 @@ # Parameters DEBUG=0 # 0 for release, 1 for debug -USE_MANIFEST = 1 # Can be enabled Visual Studio 2005 +USE_MANIFEST = 1 # Can be enabled Visual Studio 2005, 2008 # YAZ YAZ_DIR=..\..\yaz @@ -13,14 +13,6 @@ default: all all: dirs generated dll myclient zclient yaz -NSIS="c:\program files\nsis\makensis-bz2.exe" - -nsis: all - $(NSIS) yazpp.nsi - -nsishelp: - $(NSIS) - # Directories # The current directory is supposed to be something like # ..../yaz/win, everything is relative to that @@ -115,7 +107,7 @@ LINK=link.exe LINK_LIBS= kernel32.lib advapi32.lib $(YAZ_LIB) -COMMON_LNK_OPTIONS= /nologo /subsystem:windows /incremental:no +COMMON_LNK_OPTIONS= /nologo /subsystem:windows /incremental:no $(MTOPT) DEBUG_LNK_OPTIONS= /debug @@ -195,8 +187,10 @@ RSOPT=/d_NDEBUG !if $(USE_MANIFEST) MT=mt.exe /nologo +MTOPT=/manifest !else MT=echo +MTOPT= !endif @@ -219,12 +213,13 @@ $(ZCLIENT) : "$(BINDIR)" $(ZCLIENT_OBJS) $(YAZPP_IMPLIB) generated: $(ZOOMDIR)\zoom.h "$(ZOOMDIR)\zoom.h": "$(ZOOMDIR)\master-header" - sed "s/^* / /; s/^*/ /" "$(ZOOMDIR)\master-header" >"$(ZOOMDIR)\zoom.h" + sed "s/^* / /; s/^*/ /" < "$(ZOOMDIR)\master-header" >"$(ZOOMDIR)\zoom.h" clean: -del $(BINDIR)\*.exe -del $(BINDIR)\*.dll -del $(TMPDIR)\*. + -del $(BINDIR)\*.manifest -del $(LIBDIR)\*.LIB -del $(OBJDIR)\*.OBJ