Makefile revision 65970
11556Srgrimes# @(#)Makefile 8.1 (Berkeley) 5/31/93 250471Speter# $FreeBSD: head/bin/rmail/Makefile 65970 2000-09-17 00:41:33Z gshapiro $ 31556Srgrimes 464567SgshapiroSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 564567Sgshapiro.PATH: ${SENDMAIL_DIR}/rmail 638093Speter 71556SrgrimesPROG= rmail 864567SgshapiroSRCS= rmail.c 91864SwollmanMAN8= rmail.8 1064567SgshapiroCFLAGS+=-I${SENDMAIL_DIR}/include 111556Srgrimes 1264567Sgshapiro.if exists(${.OBJDIR}/../../lib/libsmutil) 1364567SgshapiroLIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil 1464567Sgshapiro.else 1564567SgshapiroLIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR 1664567Sgshapiro.endif 1764567SgshapiroLIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a 1864567Sgshapiro 1964567SgshapiroDPADD+= ${LIBSMUTIL} 2064567SgshapiroLDADD+= ${LIBSMUTIL} 2164567Sgshapiro 2265970Sgshapiro# User customizations to the sendmail build environment 2365970SgshapiroCFLAGS+=${SENDMAIL_CFLAGS} 2465970SgshapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 2565970SgshapiroLDADD+=${SENDMAIL_LDADD} 2665970SgshapiroDPADD+=${SENDMAIL_DPADD} 2765970Sgshapiro 286904Sjoerg# If you want to have your rmail queuing the mail only, uncomment the 296904Sjoerg# following: 306904Sjoerg# CFLAGS+= -DQUEUE_ONLY 316904Sjoerg 3238093Speter# Not much point this being static. It calls a shared sendmail... 3338093SpeterNOSHARED?= NO 3438093Speter 351556Srgrimes.include <bsd.prog.mk> 36