xref: /freebsd/contrib/sendmail/smrsh/Makefile.m4 (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1dnl $Id: Makefile.m4,v 8.36 2006-06-28 21:08:04 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', `smrsh')
12define(`bldINSTALL_DIR', `E')
13define(`bldSOURCES', `smrsh.c ')
14bldPUSH_SMLIB(`sm')
15APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
16bldPRODUCT_END
17
18bldPRODUCT_START(`manpage', `smrsh')
19define(`bldSOURCES', `smrsh.8')
20bldPRODUCT_END
21
22bldFINISH
23