--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/authenticate/Makefile.am Wed Jan 16 22:39:43 2008 +0100
@@ -0,0 +1,33 @@
+bin_PROGRAMS = checkvpw vauthenticate
+authlib_PROGRAMS = authvmailmgr
+authlibdir = ${prefix}/lib/courier-imap/libexec/authlib/
+
+noinst_PODS = checkvpw.pod vauthenticate.pod
+noinst_HTMLS = $(noinst_PODS:.pod=.html)
+man_MANS = $(noinst_PODS:.pod=.1)
+
+CLEANFILES = $(man_MANS) $(noinst_HTMLS) \
+ pod2html-dircache pod2html-itemcache
+EXTRA_DIST = $(man_MANS) $(noinst_HTMLS) $(noinst_PODS)
+
+all: docs
+
+docs: $(noinst_HTMLS) $(man_MANS)
+
+dist-hook:
+ touch $(distdir)/*.html $(distdir)/*.[123456789]
+
+%.1: %.pod ../configure.in; $(POD2MAN) --section=1 $< >$@
+%.html: %.pod; $(POD2HTML) $< >$@
+
+CXXLINK = $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@
+INCLUDES = $(CIINCLUDES) -I../lib
+
+checkvpw_SOURCES = checkvpw.cc authvlib.cc authvlib.h
+checkvpw_LDADD = ../lib/libvmailmgr.a
+
+authvmailmgr_SOURCES = authvmailmgr.cc authvlib.cc authvlib.h
+authvmailmgr_LDADD = ../lib/libvmailmgr.a -L../lib/courier-authlib -lauthmod
+
+vauthenticate_SOURCES = vauthenticate.cc authvlib.cc authvlib.h
+vauthenticate_LDADD = ../lib/libvmailmgr.a