]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/sendmail/Makefile
This commit was generated by cvs2svn to compensate for changes in r53574,
[FreeBSD/FreeBSD.git] / usr.sbin / sendmail / Makefile
1 #       @(#)Makefile    8.8 (Berkeley) 3/28/97
2 # $FreeBSD$
3
4 SMDIR=  ${.CURDIR}/../../contrib/sendmail/src
5 .PATH:  ${SMDIR}
6
7 PROG=   sendmail
8
9 # Define the database format to use for aliases et al.
10 DBMDEF= -DNEWDB
11
12 # If you don't want NIS alias/map support, comment out this line
13 NIS=    -DNIS
14
15 # Map extensions
16 MAPS=   -DMAP_REGEX
17
18 CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
19 CFLAGS+=-D_FFR_MAX_MIME_HEADER_LENGTH
20 CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH
21
22 SRCS=   alias.c arpadate.c clock.c collect.c conf.c control.c convtime.c \
23         daemon.c deliver.c domain.c envelope.c err.c headers.c macro.c \
24         main.c map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
25         safefile.c savemail.c snprintf.c srvrsmtp.c stab.c stats.c \
26         sysexits.c trace.c udb.c usersmtp.c util.c version.c
27 DPADD=  ${LIBUTIL} ${LIBWRAP}
28 LDADD=  -lutil -lwrap
29 MAN1=   mailq.1 newaliases.1
30 MAN5=   aliases.5
31 MAN8=   sendmail.8 
32 LINKS=  ${BINDIR}/sendmail /usr/bin/newaliases \
33         ${BINDIR}/sendmail /usr/bin/mailq \
34         ${BINDIR}/sendmail /usr/bin/hoststat \
35         ${BINDIR}/sendmail ${BINDIR}/purgestat
36 BINMODE=4555
37
38 beforeinstall:
39         ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
40             ${DESTDIR}/var/log/sendmail.st
41         ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/sendmail.hf \
42             ${DESTDIR}/usr/share/misc
43
44 .include <bsd.prog.mk>