Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / usr.sbin / mailwrapper / Makefile
blob252f5e772413fd66c7b51e10df0f3cff054bc15d
1 # $FreeBSD$
3 .include <bsd.own.mk>
5 .if ${MK_MAILWRAPPER} != "no"
6 PROG= mailwrapper
7 MAN= mailwrapper.8
9 DPADD= ${LIBUTIL}
10 LDADD= -lutil
11 WARNS?= 6
12 .endif
14 .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
15 SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
16 ${BINDIR}/mailwrapper /usr/sbin/hoststat \
17 ${BINDIR}/mailwrapper /usr/sbin/purgestat \
18 ${BINDIR}/mailwrapper /usr/bin/newaliases \
19 ${BINDIR}/mailwrapper /usr/bin/mailq
21 .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
22 SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
23 .endif
24 .endif
26 .if ${MK_MAILWRAPPER} != "no"
27 .if !exists(${DESTDIR}/etc/mail/mailer.conf)
28 FILES= ${.CURDIR}/../../etc/mail/mailer.conf
29 FILESDIR= /etc/mail
30 FILESMODE= 644
31 .endif
32 .endif
34 .include <bsd.prog.mk>