Makefile.m4 revision 94334
1include(confBUILDTOOLSDIR`/M4/switch.m4') 2 3define(`confREQUIRE_LIBSM', `true') 4# sendmail dir 5SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 6PREPENDDEF(`confENVDEF', `confMAPDEF') 7PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 8 9bldPRODUCT_START(`executable', `mail.local') 10define(`bldNO_INSTALL', `true') 11define(`bldSOURCES', `mail.local.c ') 12bldPUSH_SMLIB(`sm') 13APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL') 14bldPRODUCT_END 15 16bldPRODUCT_START(`manpage', `mail.local') 17define(`bldSOURCES', `mail.local.8') 18bldPRODUCT_END 19 20divert(bldTARGETS_SECTION) 21install: 22 @echo "NOTE: This version of mail.local is not suited for some operating" 23 @echo " systems such as HP-UX and Solaris. Please consult the" 24 @echo " README file in the mail.local directory. You can force" 25 @echo " the install using 'Build force-install'." 26 27force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs') 28 29install-mail.local: mail.local 30 ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR} 31divert 32 33bldFINISH 34