1# @(#)Makefile 8.4 (Berkeley) 6/10/97 2# $FreeBSD$ 3 4MAINTAINER= gshapiro@FreeBSD.org 5 6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/makemap 8 9PROG= makemap 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# 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