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 10SRCS= makemap.c 11MAN8= makemap.8 12CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include 13CFLAGS+=-DNEWDB -DNOT_SENDMAIL 14 15.if exists(${.OBJDIR}/../../lib/libsmdb) 16LIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb 17.else 18LIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR 19.endif 20LIBSMDB:= ${LIBSMDBDIR}/libsmdb.a 21 22.if exists(${.OBJDIR}/../../lib/libsmutil) 23LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil 24.else 25LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR 26.endif 27LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a 28 29DPADD= ${LIBSMDB} ${LIBSMUTIL} 30LDADD= ${LIBSMDB} ${LIBSMUTIL} 31 32# User customizations to the sendmail build environment 33CFLAGS+=${SENDMAIL_CFLAGS} 34DPADD+=${SENDMAIL_DPADD} 35LDADD+=${SENDMAIL_LDADD} 36LDFLAGS+=${SENDMAIL_LDFLAGS} 37 38.include <bsd.prog.mk> 39