summaryrefslogtreecommitdiff
path: root/winbuild/Makefile.vc
diff options
context:
space:
mode:
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 a45e4ee56..59e29d6c1 100644
--- a/winbuild/Makefile.vc
+++ b/winbuild/Makefile.vc
@@ -27,6 +27,7 @@ CFGSET=true
!MESSAGE ENABLE_IPV6=<yes or no> - Enable IPV6, default to yes
!MESSAGE ENABLE_IDN=<yes or no> - Wheter or not to use IDN Windows APIs. Requires Windows Vista or later.
!MESSAGE or to install http://www.microsoft.com/downloads/details.aspx?FamilyID=AD6158D7-DDBA-416A-9109-07607425A815
+!MESSAGE ENABLE_WINSSL=<yes or no> - Enable native Windows SSL support, default to yes
!MESSAGE GEN_PDB=<yes or no> - Generate Program Database (debug symbols release build)
!MESSAGE DEBUG=<yes or no> - Debug builds
!ERROR please choose a valid mode
@@ -65,6 +66,14 @@ USE_IDN = true
USE_IDN = false
!ENDIF
+!IFNDEF ENABLE_WINSSL
+USE_WINSSL = true
+!ELSEIF "$(ENABLE_WINSSL)"=="yes"
+USE_WINSSL = true
+!ELSEIF "$(ENABLE_WINSSL)"=="no"
+USE_WINSSL = false
+!ENDIF
+
CONFIG_NAME_LIB = libcurl
!IF "$(WITH_SSL)"=="dll"
@@ -123,6 +132,10 @@ CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-ipv6
CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-sspi
!ENDIF
+!IF "$(USE_WINSSL)"=="true"
+CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-winssl
+!ENDIF
+
!MESSAGE configuration name: $(CONFIG_NAME_LIB)
BUILD_DIR=../builds/$(CONFIG_NAME_LIB)
@@ -141,6 +154,7 @@ $(MODE):
@gen_resp_file.bat $(CURL_OBJS)
@SET USE_IPV6=$(USE_IPV6)
@SET USE_IDN=$(USE_IDN)
+ @SET USE_WINSSL=$(USE_WINSSL)
@$(MAKE) /NOLOGO /F MakefileBuild.vc
copy_from_lib: