1 2SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 3.PATH: ${SENDMAIL_DIR}/vacation 4 5PROG= vacation 6SRCS= vacation.c 7CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 8CFLAGS+=-DNEWDB -DNOT_SENDMAIL 9CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 10 11WARNS?= 2 12 13LIBADD= smdb smutil 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