aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-10-24 09:28:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-10-24 09:28:36 +0000
commit23b05e8473174123b5042f240e8b48ccd951d9a9 (patch)
tree1b1537d6e1067a8ab5448e2463c24d0d765b32a5 /src
parent949ff9715a55886ab13fd6cb59d4b4043d457793 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.vc67
1 files changed, 7 insertions, 0 deletions
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