Makefile revision 66960
1# $FreeBSD: head/usr.bin/vacation/Makefile 66960 2000-10-11 04:53:30Z gshapiro $ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/vacation 5 6PROG= vacation 7CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include 8CFLAGS+=-DNEWDB -DNOT_SENDMAIL 9CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 10 11.if exists(${.OBJDIR}/../../lib/libsmdb) 12LIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb 13.else 14LIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR 15.endif 16LIBSMDB:= ${LIBSMDBDIR}/libsmdb.a 17 18.if exists(${.OBJDIR}/../../lib/libsmutil) 19LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil 20.else 21LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR 22.endif 23LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a 24 25DPADD= ${LIBSMDB} ${LIBSMUTIL} 26LDADD= ${LIBSMDB} ${LIBSMUTIL} 27 28# User customizations to the sendmail build environment 29CFLAGS+=${SENDMAIL_CFLAGS} 30DPADD+=${SENDMAIL_DPADD} 31LDADD+=${SENDMAIL_LDADD} 32LDFLAGS+=${SENDMAIL_LDFLAGS} 33 34.include <bsd.prog.mk> 35