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