Makefile revision 90798
11556Srgrimes# @(#)Makefile 8.1 (Berkeley) 5/31/93 250471Speter# $FreeBSD: head/bin/rmail/Makefile 90798 2002-02-17 22:05:07Z gshapiro $ 31556Srgrimes 467660SgshapiroMAINTAINER= gshapiro@FreeBSD.org 567660Sgshapiro 664567SgshapiroSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 764567Sgshapiro.PATH: ${SENDMAIL_DIR}/rmail 838093Speter 91556SrgrimesPROG= rmail 1064567SgshapiroSRCS= rmail.c 1174845SruMAN= rmail.8 1290798SgshapiroCFLAGS+=-I${SENDMAIL_DIR}/include -I. 1387323SobrienWARNS= 0 1490167SkrisWFORMAT=0 151556Srgrimes 1690798Sgshapiro.if exists(${.OBJDIR}/../../lib/libsm) 1790798SgshapiroLIBSMDIR:= ${.OBJDIR}/../../lib/libsm 1864567Sgshapiro.else 1990798SgshapiroLIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR 2064567Sgshapiro.endif 2190798SgshapiroLIBSM:= ${LIBSMDIR}/libsm.a 2264567Sgshapiro 2390798SgshapiroDPADD= ${LIBSM} 2490798SgshapiroLDADD= ${LIBSM} 2564567Sgshapiro 2690798SgshapiroSRCS+= sm_os.h 2790798SgshapiroCLEANFILES+=sm_os.h 2890798Sgshapiro 2965970Sgshapiro# User customizations to the sendmail build environment 3065970SgshapiroCFLAGS+=${SENDMAIL_CFLAGS} 3166961SgshapiroDPADD+=${SENDMAIL_DPADD} 3266961SgshapiroLDADD+=${SENDMAIL_LDADD} 3365970SgshapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 3465970Sgshapiro 356904Sjoerg# If you want to have your rmail queuing the mail only, uncomment the 366904Sjoerg# following: 376904Sjoerg# CFLAGS+= -DQUEUE_ONLY 386904Sjoerg 3938093Speter# Not much point this being static. It calls a shared sendmail... 4038093SpeterNOSHARED?= NO 4138093Speter 4290798Sgshapirosm_os.h: 4390798Sgshapiro ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 4490798Sgshapiro 451556Srgrimes.include <bsd.prog.mk> 46