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