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