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