11556Srgrimes# @(#)Makefile 8.1 (Berkeley) 5/31/93 250471Speter# $FreeBSD: releng/10.3/bin/rmail/Makefile 203916 2010-02-15 14:07:40Z uqs $ 31556Srgrimes 464567SgshapiroSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 564567Sgshapiro.PATH: ${SENDMAIL_DIR}/rmail 638093Speter 7127287Sobrien# Not much point this being static. It calls a shared sendmail... 8139112SruNO_SHARED?= NO 9127287Sobrien 101556SrgrimesPROG= rmail 1164567SgshapiroSRCS= rmail.c 1274845SruMAN= rmail.8 13127287Sobrien 14203916SuqsWARNS?= 2 1590798SgshapiroCFLAGS+=-I${SENDMAIL_DIR}/include -I. 161556Srgrimes 17147225SdesLIBSMDIR= ${.OBJDIR}/../../lib/libsm 18147225SdesLIBSM= ${LIBSMDIR}/libsm.a 1964567Sgshapiro 2090798SgshapiroDPADD= ${LIBSM} 2190798SgshapiroLDADD= ${LIBSM} 2264567Sgshapiro 2390798SgshapiroSRCS+= sm_os.h 2490798SgshapiroCLEANFILES+=sm_os.h 2590798Sgshapiro 2665970Sgshapiro# User customizations to the sendmail build environment 2765970SgshapiroCFLAGS+=${SENDMAIL_CFLAGS} 2866961SgshapiroDPADD+=${SENDMAIL_DPADD} 2966961SgshapiroLDADD+=${SENDMAIL_LDADD} 3065970SgshapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 3165970Sgshapiro 326904Sjoerg# If you want to have your rmail queuing the mail only, uncomment the 336904Sjoerg# following: 346904Sjoerg# CFLAGS+= -DQUEUE_ONLY 356904Sjoerg 3690798Sgshapirosm_os.h: 3790798Sgshapiro ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 3890798Sgshapiro 391556Srgrimes.include <bsd.prog.mk> 40