add MF_APPEND flag
[unix-history] / usr / src / usr.sbin / sendmail / Makefile
index a073a19..aa60bdb 100644 (file)
@@ -1,33 +1,25 @@
-#
-# Copyright (c) 1988 Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of California at Berkeley. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-#      @(#)Makefile    4.13 (Berkeley) %G%
-#
-SUBDIR=        lib src aux
+#       @(#)Makefile   8.5 (Berkeley) %G%
 
 
-all: ${SUBDIR}
+SUBDIR= src mailstats makemap praliases cf/cf
+FTPDIR=        barad-dur:/disks/barad-dur/ftp/sendmail/.
+VER=   XX
 
 
-${SUBDIR}: FRC
-       cd $@; make ${MFLAGS}
+tar: Files.base Files.cf Files.misc Files.xdoc
+       (cd src; ${MAKE})
+       (cd doc; PRINTER=ps ${MAKE})
+       (cd doc; chmod 444 op/op.ps intro/intro.ps usenix/usenix.ps)
+       (cd cf/cf; ${MAKE})
+       chmod +x src/makesendmail
+       pax -w -x tar -L -f sendmail.${VER}.base.tar `grep -v ^# Files.base`
+       compress sendmail.${VER}.base.tar
+       pax -w -x tar -L -f sendmail.${VER}.cf.tar `grep -v ^# Files.cf`
+       compress sendmail.${VER}.cf.tar
+       pax -w -x tar -L -f sendmail.${VER}.misc.tar `grep -v ^# Files.misc`
+       compress sendmail.${VER}.misc.tar
+       pax -w -x tar -L -f sendmail.${VER}.xdoc.tar `grep -v ^# Files.xdoc`
+       compress sendmail.${VER}.xdoc.tar
 
 
-clean: FRC
-       for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
+ftp: sendmail.${VER}.base.tar.Z sendmail.${VER}.cf.tar.Z sendmail.${VER}.misc.tar.Z sendmail.${VER}.xdoc.tar.Z
+       rcp sendmail.${VER}.*.tar.Z RELEASE_NOTES FAQ KNOWNBUGS ${FTPDIR}
 
 
-depend: FRC
-       for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done
-
-install: FRC
-       -mkdir ${DESTDIR}/usr/spool/mqueue
-       chown root.wheel ${DESTDIR}/usr/spool/mqueue
-       chmod 775 ${DESTDIR}/usr/spool/mqueue
-       for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done
-
-FRC:
+.include <bsd.subdir.mk>