1 2PACKAGE=sendmail 3SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/smrsh 5 6PROG= smrsh 7SRCS= smrsh.c 8MAN= smrsh.8 9CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 10 11LIBADD= sm 12 13WARNS?= 2 14 15SRCS+= sm_os.h 16CLEANFILES+=sm_os.h 17 18# User customizations to the sendmail build environment 19CFLAGS+=${SENDMAIL_CFLAGS} 20DPADD+=${SENDMAIL_DPADD} 21LDADD+=${SENDMAIL_LDADD} 22LDFLAGS+=${SENDMAIL_LDFLAGS} 23 24sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 25 ln -sf ${.ALLSRC} ${.TARGET} 26 27.include <bsd.prog.mk> 28 29CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 30