Makefile revision 67660
1# $FreeBSD: head/usr.bin/vacation/Makefile 67660 2000-10-26 23:02:36Z gshapiro $ 2 3MAINTAINER= gshapiro@FreeBSD.org 4 5SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 6.PATH: ${SENDMAIL_DIR}/vacation 7 8PROG= vacation 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} 32DPADD+=${SENDMAIL_DPADD} 33LDADD+=${SENDMAIL_LDADD} 34LDFLAGS+=${SENDMAIL_LDFLAGS} 35 36.include <bsd.prog.mk> 37