1 # @(#)Makefile 8.8 (Berkeley) 3/28/97
3 SMDIR= ${.CURDIR}/../../contrib/sendmail/src
8 # Define the database format to use for aliases et al.
11 # If you don't want NIS alias/map support, comment out this line
17 # If you want tcp wrapper support, uncomment the following two lines
18 #TCPWRAPPERSBASEDIR= /usr/local
19 #TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
21 CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} ${MAPS}
22 CFLAGS+=-D_FFR_MAX_MIME_HEADER_LENGTH
23 CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH
25 SRCS= alias.c arpadate.c clock.c collect.c conf.c control.c convtime.c \
26 daemon.c deliver.c domain.c envelope.c err.c headers.c macro.c \
27 main.c map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
28 safefile.c savemail.c snprintf.c srvrsmtp.c stab.c stats.c \
29 sysexits.c trace.c udb.c usersmtp.c util.c version.c
32 .if defined(TCPWRAPPERS)
33 LDADD+= -L${TCPWRAPPERSBASEDIR}/lib -lwrap
35 MAN1= mailq.1 newaliases.1
38 LINKS= ${BINDIR}/sendmail /usr/bin/newaliases \
39 ${BINDIR}/sendmail /usr/bin/mailq \
40 ${BINDIR}/sendmail /usr/bin/hoststat \
41 ${BINDIR}/sendmail ${BINDIR}/purgestat
45 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
46 ${DESTDIR}/var/log/sendmail.st
47 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/sendmail.hf \
48 ${DESTDIR}/usr/share/misc
50 .include <bsd.prog.mk>