1 2PACKAGE=sendmail 3SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/rmail 5 6# Not much point this being static. It calls a shared sendmail... 7NO_SHARED?= NO 8 9PROG= rmail 10SRCS= rmail.c 11MAN= rmail.8 12 13WARNS?= 2 14CFLAGS+=-I${SENDMAIL_DIR}/include -I. 15 16LIBADD= sm 17 18SRCS+= sm_os.h 19CLEANFILES+=sm_os.h 20 21# User customizations to the sendmail build environment 22CFLAGS+=${SENDMAIL_CFLAGS} 23DPADD+=${SENDMAIL_DPADD} 24LDADD+=${SENDMAIL_LDADD} 25LDFLAGS+=${SENDMAIL_LDFLAGS} 26 27# If you want to have your rmail queuing the mail only, uncomment the 28# following: 29# CFLAGS+= -DQUEUE_ONLY 30 31sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 32 ln -sf ${.ALLSRC} ${.TARGET} 33 34.include <bsd.prog.mk> 35 36CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 37