155228Speter# $FreeBSD: releng/10.2/usr.sbin/mailwrapper/Makefile 213749 2010-10-12 21:01:26Z markm $ 254816Speter 3156813Sru.include <bsd.own.mk> 4156813Sru 5156813Sru.if ${MK_MAILWRAPPER} != "no" 654816SpeterPROG= mailwrapper 774816SruMAN= mailwrapper.8 854816Speter 980029SobrienDPADD= ${LIBUTIL} 1080029SobrienLDADD= -lutil 11100639Speter.endif 1254816Speter 13156813Sru.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" 1455228SpeterSYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ 1593858Sgshapiro ${BINDIR}/mailwrapper /usr/sbin/hoststat \ 1693858Sgshapiro ${BINDIR}/mailwrapper /usr/sbin/purgestat \ 1755228Speter ${BINDIR}/mailwrapper /usr/bin/newaliases \ 1855228Speter ${BINDIR}/mailwrapper /usr/bin/mailq 1954816Speter 20156813Sru.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no" 21100639SpeterSYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper 22100639Speter.endif 23124644Sjohan.endif 24100639Speter 25213749Smarkm.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no" 26213749SmarkmSYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail 27213749Smarkm.endif 28213749Smarkm 29156813Sru.if ${MK_MAILWRAPPER} != "no" 3061230Shoek.if !exists(${DESTDIR}/etc/mail/mailer.conf) 31136670SruFILES= ${.CURDIR}/../../etc/mail/mailer.conf 32136670SruFILESDIR= /etc/mail 33136670SruFILESMODE= 644 3461230Shoek.endif 35100639Speter.endif 3655234Speter 3754816Speter.include <bsd.prog.mk> 38