1# @(#)Makefile 8.2 (Berkeley) 9/21/96 2 3SENDMAIL_DIR= ${SRCTOP}/contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/mailstats 5 6PROG= mailstats 7SRCS= mailstats.c 8MAN= mailstats.8 9 10CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 11CFLAGS+= -DNOT_SENDMAIL 12 13WARNS?= 2 14 15LIBADD= sm smutil 16 17SRCS+= sm_os.h 18CLEANFILES+=sm_os.h 19 20# User customizations to the sendmail build environment 21CFLAGS+= ${SENDMAIL_CFLAGS} 22DPADD+= ${SENDMAIL_DPADD} 23LDADD+= ${SENDMAIL_LDADD} 24LDFLAGS+= ${SENDMAIL_LDFLAGS} 25 26sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 27 ln -sf ${.ALLSRC} ${.TARGET} 28 29.include <bsd.prog.mk> 30 31CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 32