Makefile.m4 revision 66494
1include(confBUILDTOOLSDIR`/M4/switch.m4') 2 3# sendmail dir 4SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 5PREPENDDEF(`confENVDEF', `confMAPDEF') 6PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 7 8bldPRODUCT_START(`executable', `rmail') 9define(`bldNO_INSTALL') 10define(`bldSOURCES', `rmail.c ') 11bldPUSH_SMLIB(`smutil') 12bldPRODUCT_END 13 14bldPRODUCT_START(`manpage', `rmail') 15define(`bldSOURCES', `rmail.8') 16bldPRODUCT_END 17 18RMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install') 19 20divert(bldTARGETS_SECTION) 21install: ${RMAIL} 22 23defeat-install: 24 @echo "NOTE: This version of rmail is not suited for some operating" 25 @echo " systems. You can force the install using" 26 @echo " 'Build force-install'." 27 28force-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs') 29 30install-rmail: rmail 31 ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR} 32divert 33 34bldFINISH 35 36