[Dovecot] [PATCH 7/10] NTLM, add lib-ntlm to makefiles

Andrey Panin pazke at donpac.ru
Tue Jul 27 16:18:47 EEST 2004


This patch includes lib-ntlm directory into the dovecot build process.


 configure.in             |    1 +
 src/Makefile.am          |    2 +-
 src/auth/Makefile.am     |    2 ++
 src/lib-ntlm/Makefile.am |   22 ++++++++++++++++++++++
 4 files changed, 26 insertions(+), 1 deletion(-)

diff -urpNX /usr/share/dontdiff dovecot-1.0-test30.vanilla/configure.in dovecot-1.0-test30/configure.in
--- dovecot-1.0-test30.vanilla/configure.in	2004-07-27 10:03:21.000000000 +0400
+++ dovecot-1.0-test30/configure.in	2004-07-27 11:06:12.000000000 +0400
@@ -1282,6 +1282,7 @@ src/lib-charset/Makefile
 src/lib-imap/Makefile
 src/lib-index/Makefile
 src/lib-mail/Makefile
+src/lib-ntlm/Makefile
 src/lib-settings/Makefile
 src/lib-storage/Makefile
 src/lib-storage/index/Makefile
diff -urpNX /usr/share/dontdiff dovecot-1.0-test30.vanilla/src/auth/Makefile.am dovecot-1.0-test30/src/auth/Makefile.am
--- dovecot-1.0-test30.vanilla/src/auth/Makefile.am	2004-07-27 10:03:23.000000000 +0400
+++ dovecot-1.0-test30/src/auth/Makefile.am	2004-07-27 11:56:34.000000000 +0400
@@ -5,12 +5,14 @@ pkglibexec_PROGRAMS = dovecot-auth check
 INCLUDES = \
 	-I$(top_srcdir)/src/lib \
 	-I$(top_srcdir)/src/lib-settings \
+	-I$(top_srcdir)/src/lib-ntlm \
 	-DAUTH_MODULE_DIR=\""$(moduledir)/auth"\" \
 	-DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
 	$(AUTH_CFLAGS)
 
 dovecot_auth_LDADD = \
 	../lib-settings/libsettings.a \
+	../lib-ntlm/libntlm.a \
 	../lib/liblib.a \
 	$(AUTH_LIBS) \
 	$(RAND_LIBS) \
diff -urpNX /usr/share/dontdiff dovecot-1.0-test30.vanilla/src/lib-ntlm/Makefile.am dovecot-1.0-test30/src/lib-ntlm/Makefile.am
--- dovecot-1.0-test30.vanilla/src/lib-ntlm/Makefile.am	1970-01-01 03:00:00.000000000 +0300
+++ dovecot-1.0-test30/src/lib-ntlm/Makefile.am	2004-07-27 14:26:55.000000000 +0400
@@ -0,0 +1,22 @@
+noinst_LIBRARIES = libntlm.a
+
+INCLUDES = \
+	-I$(top_srcdir)/src/lib
+
+libntlm_a_SOURCES = \
+	md4.c \
+	hmac-md5.c \
+	ntlm-des.c \
+	ntlm-encrypt.c \
+	ntlm-message.c
+
+noinst_HEADERS = \
+	md4.h \
+	hmac-md5.h \
+	ntlm.h \
+	ntlm-types.h \
+	ntlm-flags.h \
+	ntlm-byteorder.h \
+	ntlm-des.h \
+	ntlm-encrypt.h \
+	ntlm-message.h
diff -urpNX /usr/share/dontdiff dovecot-1.0-test30.vanilla/src/Makefile.am dovecot-1.0-test30/src/Makefile.am
--- dovecot-1.0-test30.vanilla/src/Makefile.am	2004-07-27 10:03:22.000000000 +0400
+++ dovecot-1.0-test30/src/Makefile.am	2004-07-27 11:03:29.000000000 +0400
@@ -2,4 +2,4 @@ if BUILD_POP3D
 POP3D = pop3-login pop3
 endif
 
-SUBDIRS = lib lib-settings lib-charset lib-mail lib-imap lib-index lib-storage lib-auth auth master login-common imap-login imap $(POP3D) util
+SUBDIRS = lib lib-ntlm lib-settings lib-charset lib-mail lib-imap lib-index lib-storage lib-auth auth master login-common imap-login imap $(POP3D) util




More information about the dovecot mailing list