Merge from vendor branch CVS:
[dragonfly.git] / contrib / sendmail-8.13.4 / editmap / Makefile.m4
1 dnl $Id: Makefile.m4,v 1.5 2002/06/21 22:01:30 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', `editmap')
11 define(`bldSOURCES', `editmap.c ')
12 define(`bldINSTALL_DIR', `S')
13 bldPUSH_SMLIB(`sm')
14 bldPUSH_SMLIB(`smutil')
15 bldPUSH_SMLIB(`smdb')
16 APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
17 bldPRODUCT_END
18
19 bldPRODUCT_START(`manpage', `editmap')
20 define(`bldSOURCES', `editmap.8')
21 bldPRODUCT_END
22
23 bldFINISH