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