1# @(#)Makefile 8.4 (Berkeley) 6/10/97 2# $FreeBSD$ 3 4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/makemap 6 7PROG= makemap 8SRCS= makemap.c 9MAN8= makemap.8 10CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include 11CFLAGS+=-DNEWDB -DNOT_SENDMAIL 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.include <bsd.prog.mk> 31