freebsd-dev/usr.sbin/sendmail/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

1998-08-04 15:24:04 +00:00
# @(#)Makefile 8.8 (Berkeley) 3/28/97
1999-08-28 01:35:59 +00:00
# $FreeBSD$
1998-08-04 15:24:04 +00:00
SMDIR= ${.CURDIR}/../../contrib/sendmail/src
.PATH: ${SMDIR}
PROG= sendmail
# Define the database format to use for aliases et al.
DBMDEF= -DNEWDB
# If you don't want NIS alias/map support, comment out this line
NIS= -DNIS
# Map extensions
MAPS= -DMAP_REGEX
1999-03-28 10:55:03 +00:00
CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
CFLAGS+=-D_FFR_MAX_MIME_HEADER_LENGTH
CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH
1998-08-04 15:24:04 +00:00
SRCS= alias.c arpadate.c clock.c collect.c conf.c control.c convtime.c \
daemon.c deliver.c domain.c envelope.c err.c headers.c macro.c \
main.c map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
1998-08-04 15:24:04 +00:00
safefile.c savemail.c snprintf.c srvrsmtp.c stab.c stats.c \
sysexits.c trace.c udb.c usersmtp.c util.c version.c
1999-03-28 10:55:03 +00:00
DPADD= ${LIBUTIL} ${LIBWRAP}
LDADD= -lutil -lwrap
1998-08-04 15:24:04 +00:00
MAN1= mailq.1 newaliases.1
MAN5= aliases.5
MAN8= sendmail.8
LINKS= ${BINDIR}/sendmail /usr/bin/newaliases \
${BINDIR}/sendmail /usr/bin/mailq \
${BINDIR}/sendmail /usr/bin/hoststat \
${BINDIR}/sendmail ${BINDIR}/purgestat
BINMODE=4555
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>