diff options
Diffstat (limited to 'src/Makefiles/Makefile.Utah')
-rw-r--r-- | src/Makefiles/Makefile.Utah | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/Makefiles/Makefile.Utah b/src/Makefiles/Makefile.Utah new file mode 100644 index 0000000..f5e8965 --- /dev/null +++ b/src/Makefiles/Makefile.Utah @@ -0,0 +1,43 @@ +# @(#)Makefile.Utah 8.6 (Berkeley) 8/7/97 + +PROG= sendmail + +# define the database format to use for aliases et al. Can be -DNEWDB (for +# the new BSD database package -- this is preferred) or -DNDBM for the NDBM +# database package. The old putrescent V7 DBM package is no longer +# supported. +# You can define both NEWDB and NDBM during a transition period; old +# databases are read, but the new format will be used on any rebuilds. On +# really gnarly systems, you can set this to null; it will crawl like a high +# spiral snail, but it will work. +DBMDEF= -DNEWDB -DNDBM -DOLD_NEWDB + +CFLAGS+=-I${.CURDIR} ${DBMDEF} -Dsetpgid=setpgrp + +SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ + deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \ + mci.c mime.c parseaddr.c queue.c readcf.c recipient.c safefile.c \ + savemail.c srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c \ + usersmtp.c util.c version.c +DPADD= ${LIBDBM} ${LIBCOMPAT} +LDADD= +MAN1= mailq.0 newaliases.0 +MAN5= aliases.0 +MAN8= sendmail.0 +LINKS= ${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/newaliases \ + ${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/mailq \ + ${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/hoststat \ + ${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/purgestat +INSTALL=install +BINDIR= /usr/sbin +BINOWN= root +BINGRP= kmem +BINMODE=4555 + +beforeinstall: + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ + ${DESTDIR}/var/log/sendmail.st + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \ + ${DESTDIR}/usr/share/misc + +.include <bsd.prog.mk> |