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 12LIBSMDIR= ${.OBJDIR}/../../lib/libsm 13LIBSM= ${LIBSMDIR}/libsm.a 14 15LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb 16LIBSMDB= ${LIBSMDBDIR}/libsmdb.a 17 18LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 19LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 20 21DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 22LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 23 24SRCS+= sm_os.h 25CLEANFILES+=sm_os.h 26 27# User customizations to the sendmail build environment 28CFLAGS+=${SENDMAIL_CFLAGS} 29DPADD+=${SENDMAIL_DPADD} 30LDADD+=${SENDMAIL_LDADD} 31LDFLAGS+=${SENDMAIL_LDFLAGS} 32 33sm_os.h: 34 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 35 36.include <bsd.prog.mk> 37