1# $FreeBSD$ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/vacation 5 6PROG= vacation 7SRCS= vacation.c 8CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 9CFLAGS+=-DNEWDB -DNOT_SENDMAIL 10CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 11 12WARNS?= 2 13 14LIBADD= smdb smutil 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: 26 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 27 28.include <bsd.prog.mk> 29