xref: /freebsd/contrib/sendmail/mailstats/Makefile.m4 (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1dnl $Id: Makefile.m4,v 8.36 2006-06-28 21:08:02 ca Exp $
2include(confBUILDTOOLSDIR`/M4/switch.m4')
3
4define(`confREQUIRE_LIBSM', `true')
5define(`confREQUIRE_SM_OS_H', `true')
6# sendmail dir
7SMSRCDIR=	ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
8PREPENDDEF(`confENVDEF', `confMAPDEF')
9PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
10
11bldPRODUCT_START(`executable', `mailstats')
12define(`bldINSTALL_DIR', `S')
13define(`bldSOURCES', `mailstats.c ')
14bldPUSH_SMLIB(`sm')
15bldPUSH_SMLIB(`smutil')
16APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
17bldPRODUCT_END
18
19bldPRODUCT_START(`manpage', `mailstats')
20define(`bldSOURCES', `mailstats.8')
21bldPRODUCT_END
22
23bldFINISH
24
25