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