X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ae2d3983a057f31de433451c22c5d9e62336a596..26984f4d38d8fa6e82af0cb278dbe8b8bac111d5:/usr/src/usr.sbin/sendmail/Makefile diff --git a/usr/src/usr.sbin/sendmail/Makefile b/usr/src/usr.sbin/sendmail/Makefile index 12a2972a48..a9dc47dd99 100644 --- a/usr/src/usr.sbin/sendmail/Makefile +++ b/usr/src/usr.sbin/sendmail/Makefile @@ -1,80 +1,24 @@ -# -# Makefile for sendmail base directory -# -# @(#)Makefile 4.12 %G% -# - -ALL= src/sendmail -DIRS= $(DESTDIR)/usr/spool/mqueue -SRCDIR= $(DESTDIR)/usr/src/usr.lib/sendmail -ALLDIRS=include adm src aux md lib doc adb test -BACKUP= calder -SENDMAIL=$(DESTDIR)/usr/lib/sendmail -SYSLOG= /usr/spool/mqueue/syslog -HOST= `hostname | sed -e 's/ucb//' -e 's/\..*//'` - -# When hardlinks are used, the references to LN below will need changes -# for DESTDIR != / -LN= ln -s -CP= cp - -all: - cd lib; make ${MFLAGS} - cd src; m4 Makefile.m4 > Makefile; make ${MFLAGS} - -cd aux; m4 Makefile.m4 > Makefile; make ${MFLAGS} -# cd doc; make ${MFLAGS} - -install: - install -s -o root -g kmem -m 6755 src/sendmail $(SENDMAIL) - install -c -o bin -g bin -m 644 lib/sendmail.hf $(SENDMAIL).hf - install -c -o bin -g bin -m 666 /dev/null $(SENDMAIL).st - install -c -o bin -g bin -m 644 /dev/null $(SENDMAIL).fc - rm -f $(DESTDIR)/usr/ucb/newaliases - $(LN) /usr/lib/sendmail $(DESTDIR)/usr/ucb/newaliases - rm -f $(DESTDIR)/usr/ucb/mailq - $(LN) /usr/lib/sendmail $(DESTDIR)/usr/ucb/mailq -# install -c -o root -m 644 cf/$(HOST).cf $(SENDMAIL).cf -# install -o 1 aux/syslog $(DESTDIR)/etc/syslog -# install -c -o 1 -m 644 aux/syslog.conf $(DESTDIR)/etc/syslog.conf -# install -c -o 1 -m 644 /dev/null $(DESTDIR)/etc/syslog.pid -# install -c -o 1 -m 644 /dev/null $(DESTDIR)$(SYSLOG) -# for i in 0 1 2 3 4 5 6 7; do install -c -o 1 -m 644 /dev/null $(DESTDIR)$(SYSLOG).$$i; done -# install -c -o 1 lib/newsyslog.sh $(DESTDIR)/usr/adm/newsyslog -# echo '5 4 * * * sh /usr/adm/newsyslog' >> $(DESTDIR)/usr/lib/crontab - -installcf: - install -c -o bin -g bin -m 644 cf/$(HOST).cf $(SENDMAIL).cf - -src/sendmail: - cd src; make ${MFLAGS} sendmail - -aux/syslog: - -cd aux; make ${MFLAGS} syslog - -$(DESTDIR)/usr/spool/mqueue: - mkdir $(DESTDIR)/usr/spool/mqueue - chmod 777 $(DESTDIR)/usr/spool/mqueue - -clean: - -cd src; make ${MFLAGS} clean - -cd aux; make ${MFLAGS} clean - -cd lib; make ${MFLAGS} clean - -cd doc; make ${MFLAGS} clean - -depend: - -dirs: - mkdir $(SRCROOT) - cd $(SRCROOT); mkdir $(ALLDIRS) - -rcp: - rsh $(BACKUP) mkdir sendmail - rsh $(BACKUP) 'cd sendmail; mkdir $(ALLDIRS)' - for i in `cat FILES`; do rcp $$i $(BACKUP):sendmail/$$i; done - -srcinstall: - for i in `cat FILES`; do rm -f $(SRCDIR)/$$i; cp $$i $(SRCDIR)/$$i; done - -tar: - rm -f sendmail.tar - tar rcfh sendmail.tar `cat FILES` +# @(#)Makefile 8.4 (Berkeley) %G% + +SUBDIR= src mailstats makemap praliases cf/cf +FTPDIR= barad-dur:/disks/barad-dur/ftp/sendmail/. +VER= XX + +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}) + 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 + +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} + +.include