]> Pileus Git - ~andy/fetchmail/blobdiff - Makefile.am
Shuffle 0*.html files from ML archive into contrib/ directory.
[~andy/fetchmail] / Makefile.am
index 2a7b34011d5d57edf2852855259f2c675227416a..82fb7d7ae2735931401440f7ff7a7f6d81ef0629 100644 (file)
@@ -39,7 +39,7 @@ libfm_a_SOURCES=      xmalloc.c base64.c rfc822.c report.c rfc2047e.c \
                        servport.c ntlm.h smbbyteorder.h smbdes.h smbmd4.h \
                        smbencrypt.h smbdes.c smbencrypt.c smbmd4.c smbutil.c \
                        libesmtp/gethostbyname.h libesmtp/gethostbyname.c \
-                       smbtypes.h
+                       smbtypes.h fm_getaddrinfo.c tls.c
 libfm_a_LIBADD=                $(EXTRAOBJ)
 libfm_a_DEPENDENCIES=  $(EXTRAOBJ)
 LDADD  =               libfm.a @LIBINTL@ $(LIBOBJS)
@@ -64,15 +64,41 @@ endif
 fetchmail_SOURCES=     fetchmail.h getopt.h \
                i18n.h kerberos.h md5.h mx.h netrc.h smtp.h \
                socket.h tunable.h \
-               socket.c getpass.c pop2.c pop3.c imap.c etrn.c \
-               odmr.c fetchmail.c env.c idle.c options.c daemon.c \
+               socket.c getpass.c \
+               fetchmail.c env.c idle.c options.c daemon.c \
                driver.c transact.c sink.c smtp.c \
-               uid.c mxget.c md5ify.c cram.c kerberos.c gssapi.c \
-               opie.c rpa.c interface.c netrc.c \
-               unmime.c conf.c checkalias.c lock.c \
-               rcfile_l.l rcfile_y.y ucs/norm_charmap.c \
-               libesmtp/getaddrinfo.h libesmtp/getaddrinfo.c \
-               KAME/getnameinfo.c
+               uid.c mxget.c md5ify.c cram.c gssapi.c \
+               opie.c interface.c netrc.c \
+               unmime.c conf.c checkalias.c \
+               lock.h lock.c \
+               rcfile_l.l rcfile_y.y ucs/norm_charmap.c
+if POP2_ENABLE
+fetchmail_SOURCES += pop2.c
+endif
+if POP3_ENABLE
+fetchmail_SOURCES += pop3.c
+endif
+if IMAP_ENABLE
+fetchmail_SOURCES += imap.c
+endif
+if ETRN_ENABLE
+fetchmail_SOURCES += etrn.c
+endif
+if ODMR_ENABLE
+fetchmail_SOURCES += odmr.c
+endif
+if KERBEROS_V4_ENABLE
+fetchmail_SOURCES += kerberos.c
+endif
+if RPA_ENABLE
+fetchmail_SOURCES += rpa.c
+endif
+if NEED_GETNAMEINFO
+fetchmail_SOURCES += KAME/getnameinfo.c
+endif
+if NEED_GETADDRINFO
+fetchmail_SOURCES += libesmtp/getaddrinfo.h libesmtp/getaddrinfo.c
+endif
 
 check_PROGRAMS +=      rfc822 unmime netrc rfc2047e mxget
 
@@ -101,6 +127,8 @@ DISTDOCS=   FAQ FEATURES NOTES OLDNEWS fetchmail-man.html \
                fetchmail-features.html README.SSL README.NTLM \
                README.packaging \
                fetchmail-FAQ.book fetchmail-FAQ.pdf fetchmail-FAQ.html \
+               fetchmail-SA-2006-03.txt \
+               fetchmail-SA-2006-02.txt \
                fetchmail-SA-2006-01.txt \
                fetchmail-SA-2005-01.txt \
                fetchmail-SA-2005-02.txt \
@@ -117,7 +145,8 @@ EXTRA_DIST+=        $(DISTDOCS) fetchmail.spec $(distdirs) ucs/README.svn \
                m4-local/autobuild.m4 \
                t.smoke t.rc \
                dist-tools/html2txt \
-               dist-tools/manServer.pl
+               dist-tools/manServer.pl \
+               Doxyfile
 
 fetchmailconf:
        ( echo '#! /bin/sh' && echo 'exec @PYTHON@ @pythondir@/fetchmailconf.py "$$@"' ) >$@ || { rm -f $@ ; exit 1; }
@@ -156,6 +185,13 @@ dist-hook:
 lsm: genlsm.sh dist
        $(SHELL) genlsm.sh >$(PACKAGE)-$(VERSION).lsm
 
+# this target expects a .rsyncs file with lines of this format:
+# host:directory/
+# it will call rsync from its source directory to the destination for
+# each of them, running them in parallel
+rsync:  distdir $(srcdir)/.rsyncs
+       @( cat $(srcdir)/.rsyncs | sed -e 's}^}rsync -aH --delete-after $(PACKAGE)-$(VERSION)/ }; s/\($$\)/ \&/;' ; echo "wait" ) | $(SHELL) -x
+
 # The following sets edit modes for GNU EMACS.
 # Local Variables:
 # compile-command:"configure"