aboutsummaryrefslogtreecommitdiff
path: root/winbuild/MakefileBuild.vc
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-10 21:56:39 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-10 21:56:39 +0200
commitf665e5d1303262045580ac72989e17a1db94f356 (patch)
treefc4310dc1217fcaa500841235ea47c9c4d59614e /winbuild/MakefileBuild.vc
parentfa4b4d2033bd79bcc40e754b19ca50849e2e0e69 (diff)
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.
Diffstat (limited to 'winbuild/MakefileBuild.vc')
-rw-r--r--winbuild/MakefileBuild.vc30
1 files changed, 15 insertions, 15 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 800bebcce..218b7c9c6 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -143,14 +143,15 @@ SSH2_CFLAGS = $(SSH2_CFLAGS) /I$(WITH_DEVEL)/include/libssh2
!ENDIF
-!IFNDEF USE_SSPI
-USE_SSPI = true
-!ELSEIF "$(USE_SSPI)"=="yes"
-USE_SSPI = true
+!IFNDEF USE_IDN
+USE_IDN = true
+!ELSEIF "$(USE_IDN)"=="yes"
+USE_IDN = true
!ENDIF
-!IF "$(USE_SSPI)"=="true"
-SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI
+!IF "$(USE_IDN)"=="true"
+CFLAGS = $(CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES
+LFLAGS = $(LFLAGS) Normaliz.lib
!ENDIF
@@ -165,15 +166,14 @@ IPV6_CFLAGS = $(IPV6_CFLAGS) /DUSE_IPV6
!ENDIF
-!IFNDEF USE_IDN
-USE_IDN = true
-!ELSEIF "$(USE_IDN)"=="yes"
-USE_IDN = true
+!IFNDEF USE_SSPI
+USE_SSPI = true
+!ELSEIF "$(USE_SSPI)"=="yes"
+USE_SSPI = true
!ENDIF
-!IF "$(USE_IDN)"=="true"
-CFLAGS = $(CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES
-LFLAGS = $(LFLAGS) Normaliz.lib
+!IF "$(USE_SSPI)"=="true"
+SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI
!ENDIF
@@ -372,9 +372,9 @@ $(TARGET): $(LIB_OBJS) $(LIB_DIROBJ) $(DISTDIR)
@echo Using SSL: $(USE_SSL)
@echo Using SSH2: $(USE_SSH2)
@echo Using ZLIB: $(USE_ZLIB)
- @echo Using SSPI: $(USE_SSPI)
- @echo Using IPv6: $(USE_IPV6)
@echo Using IDN: $(USE_IDN)
+ @echo Using IPv6: $(USE_IPV6)
+ @echo Using SSPI: $(USE_SSPI)
@echo Using WinSSL: $(USE_WINSSL)
@echo CFLAGS: $(CFLAGS)
@echo LFLAGS: $(LFLAGS)