Makefile revision 74816
1# @(#)Makefile 8.4 (Berkeley) 6/10/97 2# $FreeBSD: head/usr.sbin/makemap/Makefile 74816 2001-03-26 14:42:20Z ru $ 3 4MAINTAINER= gshapiro@FreeBSD.org 5 6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/makemap 8 9PROG= makemap 10MAN= makemap.8 11CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include 12CFLAGS+=-DNEWDB -DNOT_SENDMAIL 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