summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.dist4
-rw-r--r--lib/Makefile.m323
-rw-r--r--src/Makefile.m323
3 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.dist b/Makefile.dist
index af351f3f5..29ca57530 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -77,6 +77,10 @@ mingw32-ssh2-ssl:
$(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
$(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
+mingw32-ssh2-ssl-sspi:
+ $(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
+ $(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
+
mingw32-clean:
$(MAKE) -C lib -f Makefile.m32 clean
$(MAKE) -C src -f Makefile.m32 clean
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index c3d1741e8..3e1a07680 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -47,6 +47,9 @@ ifdef ZLIB
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
DLL_LIBS += -L$(ZLIB_PATH) -lz
endif
+ifdef SSPI
+ CFLAGS += -DUSE_WINDOWS_SSPI
+endif
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)
# Makefile.inc provides the CSOURCES and HHEADERS defines
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 46eebaf5e..7bae32941 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -55,6 +55,9 @@ ifdef SSL
CFLAGS += -DUSE_SSLEAY -DHAVE_OPENSSL_ENGINE_H
curl_LDADD += -L$(OPENSSL_PATH)/out -leay32 -lssl32
endif
+ifdef SSPI
+ CFLAGS += -DUSE_WINDOWS_SSPI
+endif
curl_LDADD += -lwsock32 -lws2_32 -lwinmm -L$(ZLIB_PATH) -lz
# Makefile.inc provides the CSOURCES and HHEADERS defines