1PACKAGE=sendmail 2SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 3.PATH: ${SENDMAIL_DIR}/mail.local 4 5PROG= mail.local 6SRCS= mail.local.c 7MAN= mail.local.8 8CFLAGS+=-I${SENDMAIL_DIR}/include -I. 9 10WARNS?= 2 11WFORMAT=0 12 13LIBADD= sm 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