1# 2# NetBSD Makefile 3# 4# @(#)Makefile.NetBSD 8.2 (Berkeley) 07/23/94 5# @Id: Makefile.NetBSD,v 1.3 1994/02/01 05:33:44 glass Exp $ 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 -DNIS 19 20#nasty warning about gcc 2.4.x caused bugs 21CFLAGS=-I${.CURDIR} ${DBMDEF} -DNETISO 22#CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO 23 24SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ 25 deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \ 26 mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \ 27 srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \ 28 util.c version.c 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 36BINMODE=4555 37 38beforeinstall: 39# install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 40# ${DESTDIR}/etc/sendmail.fc 41 install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 42 ${DESTDIR}/var/log/sendmail.st 43 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \ 44 ${DESTDIR}/usr/share/misc 45 46.include <bsd.prog.mk> 47