mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:23:43 +03:00
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.
This commit is contained in:
parent
949ff9715a
commit
23b05e8473
4 changed files with 16 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue