Makefile revision 66961
138100Speter# @(#)Makefile 8.1 (Berkeley) 7/2/95 264567Sgshapiro# $FreeBSD: head/libexec/smrsh/Makefile 66961 2000-10-11 05:04:21Z gshapiro $ 338100Speter 464567SgshapiroSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 564567Sgshapiro.PATH: ${SENDMAIL_DIR}/smrsh 638100Speter 738100SpeterPROG= smrsh 864567SgshapiroSRCS= smrsh.c 938100SpeterMAN8= smrsh.8 1064567SgshapiroCFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include 1138100Speter 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 1966961SgshapiroDPADD= ${LIBSMUTIL} 2066961SgshapiroLDADD= ${LIBSMUTIL} 2164567Sgshapiro 2265970Sgshapiro# User customizations to the sendmail build environment 2365970SgshapiroCFLAGS+=${SENDMAIL_CFLAGS} 2466961SgshapiroDPADD+=${SENDMAIL_DPADD} 2566961SgshapiroLDADD+=${SENDMAIL_LDADD} 2665970SgshapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 2765970Sgshapiro 2838100Speter.include <bsd.prog.mk> 29