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