aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-04-13 13:17:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-11 19:00:35 +0200
commit0bb5ff5d1a13f51344cdc666d08db7aefc4dc5a9 (patch)
tree6b226d66b177260f903c62b9abc54fe96af260ae /lib/Makefile.m32
parent64dc957a41d7a2f00e2b5acc4a41e67dde00675e (diff)
downloadgnurl-0bb5ff5d1a13f51344cdc666d08db7aefc4dc5a9.tar.gz
gnurl-0bb5ff5d1a13f51344cdc666d08db7aefc4dc5a9.tar.bz2
gnurl-0bb5ff5d1a13f51344cdc666d08db7aefc4dc5a9.zip
schannel: Updated mingw32 makefiles
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m329
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 988427e8f..abbcca3e0 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -115,6 +115,11 @@ endif
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
IPV6 = 1
endif
+ifeq ($(findstring -schannel,$(CFG)),-schannel)
+SCHANNEL = 1
+SSPI = 1
+SSL = 1
+endif
INCLUDES = -I. -I../include
CFLAGS += -DBUILDING_LIBCURL
@@ -136,6 +141,9 @@ ifdef SSH2
DLL_LIBS += -L"$(LIBSSH2_PATH)/win32" -lssh2
endif
ifdef SSL
+ifdef SCHANNEL
+ CFLAGS += -DUSE_SSL -DUSE_SCHANNEL
+else
ifndef OPENSSL_INCLUDE
ifeq "$(wildcard $(OPENSSL_PATH)/outinc)" "$(OPENSSL_PATH)/outinc"
OPENSSL_INCLUDE = $(OPENSSL_PATH)/outinc
@@ -163,6 +171,7 @@ ifdef SSL
-DCURL_WANTS_CA_BUNDLE_ENV
DLL_LIBS += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
endif
+endif
ifdef ZLIB
INCLUDES += -I"$(ZLIB_PATH)"
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H