1# @(#)Makefile 8.6 (Berkeley) 10/25/94 2 3######################################################################### 4# This Makefile is for 4.4BSD only!!! For all other systems, use # 5# the "makesendmail" script. # 6######################################################################### 7 8PROG= sendmail 9 10# define the database format to use for aliases et al. Can be -DNEWDB (for 11# the new BSD database package -- this is preferred) or -DNDBM for the NDBM 12# database package. The old putrescent V7 DBM package is no longer 13# supported. 14# You can define both NEWDB and NDBM during a transition period; old 15# databases are read, but the new format will be used on any rebuilds. On 16# really gnarly systems, you can set this to null; it will crawl like a high 17# spiral snail, but it will work. 18DBMDEF= -DNEWDB -DNDBM 19 20CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO 21 22SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ 23 deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \ 24 mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \ 25 srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \ 26 util.c version.c 27DPADD= 28LDADD= 29MAN1= mailq.0 newaliases.0 30MAN5= aliases.0 31MAN8= sendmail.0 32LINKS= /usr/sbin/sendmail /usr/bin/newaliases \ 33 /usr/sbin/sendmail /usr/bin/mailq 34BINDIR= /usr/sbin 35BINOWN= root 36BINGRP= kmem 37BINMODE=6555 38 39beforeinstall: 40# install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 41# ${DESTDIR}/etc/sendmail.fc 42 install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 43 ${DESTDIR}/var/log/sendmail.st 44 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \ 45 ${DESTDIR}/usr/share/misc 46 47.include <bsd.prog.mk> 48