diff options
author | Gunter Knauf <gk@gknw.de> | 2007-01-28 21:54:10 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-01-28 21:54:10 +0000 |
commit | daf527b276fc81726eb927ed9ef3d794f1ec4b2c (patch) | |
tree | 68092810e67defdd42cbd2cfb70180124b04d5b4 | |
parent | ee51c07be607c9592c1fac3210604924603c46a3 (diff) |
enabled build with sspi.
-rw-r--r-- | Makefile.dist | 4 | ||||
-rw-r--r-- | lib/Makefile.m32 | 3 | ||||
-rw-r--r-- | src/Makefile.m32 | 3 |
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 |