aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Shearman <robertshearman@gmail.com>2008-07-09 22:29:00 +0100
committerJunio C Hamano <gitster@pobox.com>2008-07-25 21:51:30 -0700
commit684ec6c63cd92a3755500b3b63f3d5ad9f6828b2 (patch)
treee88bd07e6ff3a3fc92d990721bb6aec2b61a1cb2 /Makefile
parenta0406b94d57e8443a7b31b5412763cac4ddb5d21 (diff)
downloadgit-684ec6c63cd92a3755500b3b63f3d5ad9f6828b2.tar.gz
git-684ec6c63cd92a3755500b3b63f3d5ad9f6828b2.tar.xz
git-imap-send: Support SSL
Allow SSL to be used when a imaps:// URL is used for the host name. Also, automatically use TLS when not using imaps:// by using the IMAP STARTTLS command, if the server supports it. Tested with Courier and Gimap IMAP servers. Signed-off-by: Robert Shearman <robertshearman@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 798a2f2f7..bb2a98828 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,7 +1208,9 @@ endif
git-%$X: %.o $(GITLIBS)
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
-git-imap-send$X: imap-send.o $(LIB_FILE)
+git-imap-send$X: imap-send.o $(GITLIBS)
+ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
+ $(LIBS) $(OPENSSL_LINK) $(OPENSSL_LIBSSL)
http.o http-walker.o http-push.o transport.o: http.h