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