# If you're running QNX, we can't assume a working autoconf.
# So just uncomment all the lines marked QNX.
-VERS=3.9.9
+VERS=4.0.0
# Ultrix 2.2 make doesn't expand the value of VPATH.
srcdir = @srcdir@
CTAGS = ctags -tw
protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
- etrn.o fetchmail.o options.o daemon.o smtp.o driver.o rfc822.o \
+ etrn.o fetchmail.o env.o options.o daemon.o smtp.o driver.o rfc822.o \
xmalloc.o uid.o mxget.o md5c.o md5ify.o interface.o netrc.o base64.o \
error.o
srcs = $(srcdir)/socket.c $(srcdir)/getpass.c $(srcdir)/pop2.c \
$(srcdir)/pop3.c $(srcdir)/imap.c $(srcdir)/etrn.c \
- $(srcdir)/fetchmail.c $(srcdir)/options.c $(srcdir)/daemon.c \
+ $(srcdir)/fetchmail.c $(srcdir)/env.c \
+ $(srcdir)/options.c $(srcdir)/daemon.c \
$(srcdir)/driver.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \
$(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \
$(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/interface.c \
rfc822: rfc822.c
gcc -DTESTMAIN -g rfc822.c -o rfc822
-# -I. is needed to find config.h in the build directory.
.c.o:
- $(CC) $(defines) -c -I. -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION)
+ $(CC) $(defines) -c -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION)
# lex rule
.l.o:
FORCE:
-tagsrcs = $(srcs) $(srcdir)/rcfile_l.c $(srcdir)/rcfile_y.c
+tagsrcs = $(srcs) rcfile_l.c rcfile_y.c
TAGS: $(tagsrcs)
$(ETAGS) $(tagsrcs)
tags: $(tagsrcs)
.NOEXPORT:
# Special dependencies, not easily handled without explicit rules
-$(srcdir)/rcfile_l.c $(srcdir)/rcfile_l.h: $(srcdir)/rcfile_l.l
-$(srcdir)/rcfile_y.c $(srcdir)/rcfile_y.h: $(srcdir)/rcfile_y.y
+rcfile_l.c rcfile_l.h: $(srcdir)/rcfile_l.l
+rcfile_y.c rcfile_y.h: $(srcdir)/rcfile_y.y
parser = $(srcdir)/rcfile_l.l $(srcdir)/rcfile_y.y
headers = $(srcdir)/fetchmail.h $(srcdir)/socket.h $(srcdir)/smtp.h \
extra = $(srcdir)/alloca.c $(srcdir)/getopt.[ch] $(srcdir)/getopt1.c \
$(srcdir)/strcasecmp.c
docs = $(srcdir)/COPYING $(srcdir)/FEATURES $(srcdir)/fetchmail-features.html \
- $(srcdir)/INSTALL $(srcdir)/NEWS $(srcdir)/NOTES $(srcdir)/README \
+ $(srcdir)/design-notes.html $(srcdir)/NOTES \
+ $(srcdir)/INSTALL $(srcdir)/NEWS $(srcdir)/README \
$(srcdir)/fetchmail.lsm $(srcdir)/sample.rcfile \
$(srcdir)/*.man $(srcdir)/FAQ $(srcdir)/fetchmail.FAQ.html
config = $(srcdir)/Makefile.in $(srcdir)/configure.in $(srcdir)/configure \
MANIFEST: $(srcdir) Makefile.in
@echo $(all) | tr "[ \t]" '\n' | sort | sed "s/\\./fetchmail-$(VERS)/" >MANIFEST
+ @wc -l MANIFEST
FAQ: fetchmail.FAQ.html
- lynx -dump -nolist fetchmail.FAQ.html >FAQ
+ echo "(This document was generated from fetchmail.FAQ.html)" >FAQ
+ lynx -dump -nolist fetchmail.FAQ.html >>FAQ
FEATURES: fetchmail-features.html
- lynx -dump -nolist fetchmail-features.html | grep -v "Back to " >FEATURES
+ echo "(This document was generated from fetchmail-features.html)" >FEATURES
+ lynx -dump -nolist fetchmail-features.html | grep -v "Back to " >>FEATURES
+
+NOTES: design-notes.html
+ echo "(This document was generated from design-notes.html)" >NOTES
+ lynx -dump -nolist design-notes.html | grep -v "Back to " >NOTES
# Make distribution, update LSM with proper size, remake distribution
dist: Makefile.in