1*67546Seric# @(#)Makefile.386BSD 8.2 (Berkeley) 07/23/94 266262Seric 366262SericPROG= sendmail 466262Seric 566262Seric# define the database format to use for aliases et al. Can be -DNEWDB (for 666262Seric# the new BSD database package -- this is preferred) or -DNDBM for the NDBM 766262Seric# database package. The old putrescent V7 DBM package is no longer 866262Seric# supported. 966262Seric# You can define both NEWDB and NDBM during a transition period; old 1066262Seric# databases are read, but the new format will be used on any rebuilds. On 1166262Seric# really gnarly systems, you can set this to null; it will crawl like a high 1266262Seric# spiral snail, but it will work. 1366262SericDBMDEF= -DNEWDB 1466262Seric 1566262SericCFLAGS+=-I${.CURDIR} ${DBMDEF} -DMIME 1666262Seric 1766262SericSRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ 1866262Seric deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \ 19*67546Seric mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \ 20*67546Seric srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \ 2166262Seric util.c version.c 2266262SericDPADD= 2366262SericLDADD= $(LIBUTIL) 2466262SericMAN1= newaliases.0 mailq.0 2566262SericMAN5= aliases.0 2666262SericMAN8= sendmail.0 2766262SericLINKS= /usr/sbin/sendmail /usr/bin/newaliases \ 2866262Seric /usr/sbin/sendmail /usr/bin/mailq 2966262SericBINDIR= /usr/sbin 3066262SericBINOWN= root 3166262SericBINGRP= kmem 3266262SericBINMODE=6555 3366262Seric 3466262Sericbeforeinstall: 3566262Seric# install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 3666262Seric# ${DESTDIR}/etc/sendmail.fc 3766262Seric install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 3866262Seric ${DESTDIR}/var/log/sendmail.st 3966262Seric install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \ 4066262Seric ${DESTDIR}/usr/share/misc 4166262Seric 4266262Seric.include <bsd.prog.mk> 43