1 dnl $Id: Makefile.m4,v 8.43 2002/06/21 22:01:44 ca Exp $
2 include(confBUILDTOOLSDIR`/M4/switch.m4')
4 define(`confREQUIRE_LIBSM', `true')
6 SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
7 PREPENDDEF(`confENVDEF', `confMAPDEF')
8 PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
10 bldPRODUCT_START(`executable', `makemap')
11 define(`bldSOURCES', `makemap.c ')
12 define(`bldINSTALL_DIR', `S')
14 bldPUSH_SMLIB(`smutil')
16 APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
19 bldPRODUCT_START(`manpage', `makemap')
20 define(`bldSOURCES', `makemap.8')