Makefile.m4 revision 90792
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', `rmail') 10define(`bldNO_INSTALL', `true') 11define(`bldSOURCES', `rmail.c ') 12bldPUSH_SMLIB(`sm') 13bldPRODUCT_END 14 15bldPRODUCT_START(`manpage', `rmail') 16define(`bldSOURCES', `rmail.8') 17bldPRODUCT_END 18 19RMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install') 20 21divert(bldTARGETS_SECTION) 22install: ${RMAIL} 23 24defeat-install: 25 @echo "NOTE: This version of rmail is not suited for some operating" 26 @echo " systems. You can force the install using" 27 @echo " 'Build force-install'." 28 29force-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs') 30 31install-rmail: rmail 32 ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR} 33divert 34 35bldFINISH 36 37