1dnl $Id: Makefile.m4,v 8.51 2004/11/18 22:29:52 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', `mail.local') 11define(`bldINSTALL_DIR', `E') 12define(`bldNO_INSTALL', `true') 13define(`bldSOURCES', `mail.local.c ') 14bldPUSH_SMLIB(`sm') 15APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL') 16bldPRODUCT_END 17 18bldPRODUCT_START(`manpage', `mail.local') 19define(`bldSOURCES', `mail.local.8') 20bldPRODUCT_END 21 22divert(bldTARGETS_SECTION) 23install: 24 @echo "NOTE: This version of mail.local is not suited for some operating" 25 @echo " systems such as HP-UX and Solaris. Please consult the" 26 @echo " README file in the mail.local directory. You can force" 27 @echo " the install using 'Build force-install'." 28 29force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs') 30 31install-mail.local: mail.local 32 ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR} 33divert 34 35bldFINISH 36