1# @(#)Makefile 8.2 (Berkeley) 9/21/96 2# $FreeBSD$ 3 4MAINTAINER= gshapiro@FreeBSD.org 5 6SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/praliases 8 9PROG= praliases 10MAN= praliases.8 11 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} 34LDFLAGS+=${SENDMAIL_LDFLAGS} 35DPADD+= ${SENDMAIL_DPADD} 36LDADD+= ${SENDMAIL_LDADD} 37 38.include <bsd.prog.mk> 39