aboutsummaryrefslogtreecommitdiff
path: root/winbuild/Makefile.vc
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-10 22:03:56 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-10 22:03:56 +0200
commit8a57b3c9726763208caa5223c0d3a0c6751aa1d8 (patch)
tree47446ff23c29f0bd833a8f134339f1899f5d4957 /winbuild/Makefile.vc
parentf665e5d1303262045580ac72989e17a1db94f356 (diff)
winbuild: Added support for building with SPNEGO enabled
Since Simple and Protected GSSAPI Negotiation Mechanism is already implemented in curl and supported by the MinGW builds, this change adds build support to winbuild makefiles.
Diffstat (limited to 'winbuild/Makefile.vc')
-rw-r--r--winbuild/Makefile.vc14
1 files changed, 14 insertions, 0 deletions
diff --git a/winbuild/Makefile.vc b/winbuild/Makefile.vc
index e61ee92eb..137be213a 100644
--- a/winbuild/Makefile.vc
+++ b/winbuild/Makefile.vc
@@ -28,6 +28,7 @@ CFGSET=true
!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_SPNEGO=<yes or no> - Enable Simple and Protected GSSAPI Negotiation Mechanism, 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 DEBUG=<yes or no> - Debug builds
@@ -77,6 +78,14 @@ USE_SSPI = true
USE_SSPI = false
!ENDIF
+!IFNDEF ENABLE_SPNEGO
+USE_SPNEGO = true
+!ELSEIF "$(ENABLE_SPNEGO)"=="yes"
+USE_SPNEGO = true
+!ELSEIF "$(ENABLE_SPNEGO)"=="no"
+USE_SPNEGO = false
+!ENDIF
+
!IFNDEF ENABLE_WINSSL
USE_WINSSL = $(USE_SSPI)
!ELSEIF "$(ENABLE_WINSSL)"=="yes"
@@ -143,6 +152,10 @@ CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-ipv6
CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-sspi
!ENDIF
+!IF "$(USE_SPNEGO)"=="true"
+CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-spnego
+!ENDIF
+
!IF "$(USE_WINSSL)"=="true"
CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-winssl
!ENDIF
@@ -166,6 +179,7 @@ $(MODE):
@SET USE_IDN=$(USE_IDN)
@SET USE_IPV6=$(USE_IPV6)
@SET USE_SSPI=$(USE_SSPI)
+ @SET USE_SPNEGO=$(USE_SPNEGO)
@SET USE_WINSSL=$(USE_WINSSL)
@$(MAKE) /NOLOGO /F MakefileBuild.vc