138095Speter# @(#)Makefile 8.2 (Berkeley) 9/21/96 264567Sgshapiro# $FreeBSD: releng/10.2/usr.sbin/mailstats/Makefile 201390 2010-01-02 11:07:44Z ed $ 338095Speter 480029SobrienSENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail 580029Sobrien.PATH: ${SENDMAIL_DIR}/mailstats 664567Sgshapiro 738095SpeterPROG= mailstats 890798SgshapiroSRCS= mailstats.c 974816SruMAN= mailstats.8 1038095Speter 1190798SgshapiroCFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 1290798SgshapiroCFLAGS+= -DNOT_SENDMAIL 1380029Sobrien 14201390SedWARNS?= 2 15201390Sed 16147225SdesLIBSMDIR= ${.OBJDIR}/../../lib/libsm 17147225SdesLIBSM= ${LIBSMDIR}/libsm.a 1890798Sgshapiro 19147225SdesLIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 20147225SdesLIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 2138095Speter 2290798SgshapiroDPADD= ${LIBSMUTIL} ${LIBSM} 2390798SgshapiroLDADD= ${LIBSMUTIL} ${LIBSM} 2464567Sgshapiro 2590798SgshapiroSRCS+= sm_os.h 2690798SgshapiroCLEANFILES+=sm_os.h 2790798Sgshapiro 2865970Sgshapiro# User customizations to the sendmail build environment 2980029SobrienCFLAGS+= ${SENDMAIL_CFLAGS} 3080029SobrienDPADD+= ${SENDMAIL_DPADD} 3180029SobrienLDADD+= ${SENDMAIL_LDADD} 3280029SobrienLDFLAGS+= ${SENDMAIL_LDFLAGS} 3365970Sgshapiro 3490798Sgshapirosm_os.h: 3590798Sgshapiro ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 3690798Sgshapiro 3738095Speter.include <bsd.prog.mk> 38