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