Makefile revision 147225
1233294Sstas# @(#)Makefile 8.1 (Berkeley) 5/31/93 2233294Sstas# $FreeBSD: head/bin/rmail/Makefile 147225 2005-06-10 06:12:53Z des $ 3233294Sstas 4276486SngieSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 5233294Sstas.PATH: ${SENDMAIL_DIR}/rmail 6233294Sstas 7233294Sstas# Not much point this being static. It calls a shared sendmail... 8233294SstasNO_SHARED?= NO 9233294Sstas 10233294SstasPROG= rmail 11233294SstasSRCS= rmail.c 12233294SstasMAN= rmail.8 13236337Sobrien 14236422SobrienWARNS?= 0 15233294SstasCFLAGS+=-I${SENDMAIL_DIR}/include -I. 16236337Sobrien 17236337SobrienLIBSMDIR= ${.OBJDIR}/../../lib/libsm 18236337SobrienLIBSM= ${LIBSMDIR}/libsm.a 19236337Sobrien 20233294SstasDPADD= ${LIBSM} 21233294SstasLDADD= ${LIBSM} 22233294Sstas 23SRCS+= sm_os.h 24CLEANFILES+=sm_os.h 25 26# User customizations to the sendmail build environment 27CFLAGS+=${SENDMAIL_CFLAGS} 28DPADD+=${SENDMAIL_DPADD} 29LDADD+=${SENDMAIL_LDADD} 30LDFLAGS+=${SENDMAIL_LDFLAGS} 31 32# If you want to have your rmail queuing the mail only, uncomment the 33# following: 34# CFLAGS+= -DQUEUE_ONLY 35 36sm_os.h: 37 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 38 39.include <bsd.prog.mk> 40