From 23b05e8473174123b5042f240e8b48ccd951d9a9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Oct 2007 09:28:36 +0000 Subject: Vladimir Lazarenko pointed out that we should do some 'mt' magic when building with VC8 to get the "manifest" embedded to make fine stand-alone binaries. The maketgz and the src/Makefile.vc6 files were adjusted accordingly. --- src/Makefile.vc6 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/Makefile.vc6 b/src/Makefile.vc6 index 23fb15e32..df0cefdf5 100644 --- a/src/Makefile.vc6 +++ b/src/Makefile.vc6 @@ -75,6 +75,11 @@ CFLAGS = /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:$(MACHINE) RESFLAGS = /i../include +# This manifest thing is for VC8, enabled by the maketgz script that +# builds the VC8 version of this makefile. Left commented out in the VC6 +# version! +#MANIFESTTOOL = mt -manifest $(PROGRAM_NAME).manifest -outputresource:$(PROGRAM_NAME);1 + !IFDEF WINDOWS_SSPI CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include !ENDIF @@ -214,9 +219,11 @@ all : release release: $(RELEASE_OBJS) $(LINKR) $(LFLAGS) $(LINKLIBS) $(RELEASE_OBJS) + $(MANIFESTTOOL) debug: $(DEBUG_OBJS) $(LINKD) $(LFLAGS) $(LINKLIBS_DEBUG) $(DEBUG_OBJS) + $(MANIFESTTOOL) ## Release hugehelpr.obj: hugehelp.c -- cgit v1.2.3