Merge from vendor branch LIBSTDC++:
[dragonfly.git] / contrib / sendmail / smrsh / Makefile.m4
1 dnl $Id: Makefile.m4,v 8.34.2.1 2002/06/21 21:58:48 ca Exp $
2 include(confBUILDTOOLSDIR`/M4/switch.m4')
3
4 define(`confREQUIRE_LIBSM', `true')
5 # sendmail dir
6 SMSRCDIR=       ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
7 PREPENDDEF(`confENVDEF', `confMAPDEF')
8 PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
9
10 bldPRODUCT_START(`executable', `smrsh')
11 define(`bldINSTALL_DIR', `E')
12 define(`bldSOURCES', `smrsh.c ')
13 bldPUSH_SMLIB(`sm')
14 APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
15 bldPRODUCT_END
16
17 bldPRODUCT_START(`manpage', `smrsh')
18 define(`bldSOURCES', `smrsh.8')
19 bldPRODUCT_END
20
21 bldFINISH