winbuild: Adjusted order of options to generated config name

Cleaned up order of handled build options by ordering them
nearly alphabetically by using the order of the generated
config name. Preparation for future/more build options.
This commit is contained in:
Marc Hoersken 2012-09-10 21:56:39 +02:00
parent fa4b4d2033
commit f665e5d130
2 changed files with 31 additions and 31 deletions

View File

@ -23,11 +23,11 @@ CFGSET=true
!MESSAGE WITH_SSL=<dll or static> - Enable OpenSSL support, DLL or static !MESSAGE WITH_SSL=<dll or static> - Enable OpenSSL support, DLL or static
!MESSAGE WITH_ZLIB=<dll or static> - Enable zlib support, DLL or static !MESSAGE WITH_ZLIB=<dll or static> - Enable zlib support, DLL or static
!MESSAGE WITH_SSH2=<dll or static> - Enable libSSH2 support, DLL or static !MESSAGE WITH_SSH2=<dll or static> - Enable libSSH2 support, DLL or static
!MESSAGE ENABLE_SSPI=<yes or no> - Enable SSPI support, defaults to yes
!MESSAGE ENABLE_IPV6=<yes or no> - Enable IPv6, defaults to yes
!MESSAGE ENABLE_IDN=<yes or no> - Enable use of Windows IDN APIs, defaults to yes !MESSAGE ENABLE_IDN=<yes or no> - Enable use of Windows IDN APIs, defaults to yes
!MESSAGE Requires Windows Vista or later, or installation from: !MESSAGE Requires Windows Vista or later, or installation from:
!MESSAGE http://www.microsoft.com/downloads/details.aspx?FamilyID=AD6158D7-DDBA-416A-9109-07607425A815 !MESSAGE http://www.microsoft.com/downloads/details.aspx?FamilyID=AD6158D7-DDBA-416A-9109-07607425A815
!MESSAGE ENABLE_IPV6=<yes or no> - Enable IPv6, defaults to yes
!MESSAGE ENABLE_SSPI=<yes or no> - Enable SSPI support, defaults to yes
!MESSAGE ENABLE_WINSSL=<yes or no> - Enable native Windows SSL support, defaults to yes !MESSAGE ENABLE_WINSSL=<yes or no> - Enable native Windows SSL support, defaults to yes
!MESSAGE GEN_PDB=<yes or no> - Generate Program Database (debug symbols for release build) !MESSAGE GEN_PDB=<yes or no> - Generate Program Database (debug symbols for release build)
!MESSAGE DEBUG=<yes or no> - Debug builds !MESSAGE DEBUG=<yes or no> - Debug builds
@ -53,12 +53,12 @@ ENABLE_SSPI = $(USE_SSPI)
!ENDIF !ENDIF
# default options # default options
!IFNDEF ENABLE_SSPI !IFNDEF ENABLE_IDN
USE_SSPI = true USE_IDN = true
!ELSEIF "$(ENABLE_SSPI)"=="yes" !ELSEIF "$(ENABLE_IDN)"=="yes"
USE_SSPI = true USE_IDN = true
!ELSEIF "$(ENABLE_SSPI)"=="no" !ELSEIF "$(ENABLE_IDN)"=="no"
USE_SSPI = false USE_IDN = false
!ENDIF !ENDIF
!IFNDEF ENABLE_IPV6 !IFNDEF ENABLE_IPV6
@ -69,12 +69,12 @@ USE_IPV6 = true
USE_IPV6 = false USE_IPV6 = false
!ENDIF !ENDIF
!IFNDEF ENABLE_IDN !IFNDEF ENABLE_SSPI
USE_IDN = true USE_SSPI = true
!ELSEIF "$(ENABLE_IDN)"=="yes" !ELSEIF "$(ENABLE_SSPI)"=="yes"
USE_IDN = true USE_SSPI = true
!ELSEIF "$(ENABLE_IDN)"=="no" !ELSEIF "$(ENABLE_SSPI)"=="no"
USE_IDN = false USE_SSPI = false
!ENDIF !ENDIF
!IFNDEF ENABLE_WINSSL !IFNDEF ENABLE_WINSSL
@ -163,9 +163,9 @@ $(MODE):
@SET MACRO_NAME=CURL_OBJS @SET MACRO_NAME=CURL_OBJS
@SET OUTFILE=CURL_OBJS.inc @SET OUTFILE=CURL_OBJS.inc
@gen_resp_file.bat $(CURL_OBJS) @gen_resp_file.bat $(CURL_OBJS)
@SET USE_SSPI=$(USE_SSPI)
@SET USE_IPV6=$(USE_IPV6)
@SET USE_IDN=$(USE_IDN) @SET USE_IDN=$(USE_IDN)
@SET USE_IPV6=$(USE_IPV6)
@SET USE_SSPI=$(USE_SSPI)
@SET USE_WINSSL=$(USE_WINSSL) @SET USE_WINSSL=$(USE_WINSSL)
@$(MAKE) /NOLOGO /F MakefileBuild.vc @$(MAKE) /NOLOGO /F MakefileBuild.vc

View File

@ -143,14 +143,15 @@ SSH2_CFLAGS = $(SSH2_CFLAGS) /I$(WITH_DEVEL)/include/libssh2
!ENDIF !ENDIF
!IFNDEF USE_SSPI !IFNDEF USE_IDN
USE_SSPI = true USE_IDN = true
!ELSEIF "$(USE_SSPI)"=="yes" !ELSEIF "$(USE_IDN)"=="yes"
USE_SSPI = true USE_IDN = true
!ENDIF !ENDIF
!IF "$(USE_SSPI)"=="true" !IF "$(USE_IDN)"=="true"
SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI CFLAGS = $(CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES
LFLAGS = $(LFLAGS) Normaliz.lib
!ENDIF !ENDIF
@ -165,15 +166,14 @@ IPV6_CFLAGS = $(IPV6_CFLAGS) /DUSE_IPV6
!ENDIF !ENDIF
!IFNDEF USE_IDN !IFNDEF USE_SSPI
USE_IDN = true USE_SSPI = true
!ELSEIF "$(USE_IDN)"=="yes" !ELSEIF "$(USE_SSPI)"=="yes"
USE_IDN = true USE_SSPI = true
!ENDIF !ENDIF
!IF "$(USE_IDN)"=="true" !IF "$(USE_SSPI)"=="true"
CFLAGS = $(CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI
LFLAGS = $(LFLAGS) Normaliz.lib
!ENDIF !ENDIF
@ -372,9 +372,9 @@ $(TARGET): $(LIB_OBJS) $(LIB_DIROBJ) $(DISTDIR)
@echo Using SSL: $(USE_SSL) @echo Using SSL: $(USE_SSL)
@echo Using SSH2: $(USE_SSH2) @echo Using SSH2: $(USE_SSH2)
@echo Using ZLIB: $(USE_ZLIB) @echo Using ZLIB: $(USE_ZLIB)
@echo Using SSPI: $(USE_SSPI)
@echo Using IPv6: $(USE_IPV6)
@echo Using IDN: $(USE_IDN) @echo Using IDN: $(USE_IDN)
@echo Using IPv6: $(USE_IPV6)
@echo Using SSPI: $(USE_SSPI)
@echo Using WinSSL: $(USE_WINSSL) @echo Using WinSSL: $(USE_WINSSL)
@echo CFLAGS: $(CFLAGS) @echo CFLAGS: $(CFLAGS)
@echo LFLAGS: $(LFLAGS) @echo LFLAGS: $(LFLAGS)