Makefile.m4 revision 259065
1279399Sloosdnl $Id: Makefile.m4,v 8.44 2006/06/28 21:08:04 ca Exp $ 2279399Sloosinclude(confBUILDTOOLSDIR`/M4/switch.m4') 3279399Sloos 4279399Sloosdefine(`confREQUIRE_LIBSM', `true') 5279399Sloosdefine(`confREQUIRE_SM_OS_H', `true') 6279399Sloos# sendmail dir 7279399SloosSMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 8279399SloosPREPENDDEF(`confENVDEF', `confMAPDEF') 9279399SloosPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 10279399Sloos 11279399SloosbldPRODUCT_START(`executable', `rmail') 12279399Sloosdefine(`bldNO_INSTALL', `true') 13279399Sloosdefine(`bldSOURCES', `rmail.c ') 14279399SloosbldPUSH_SMLIB(`sm') 15279399SloosbldPRODUCT_END 16279399Sloos 17279399SloosbldPRODUCT_START(`manpage', `rmail') 18279399Sloosdefine(`bldSOURCES', `rmail.8') 19279399SloosbldPRODUCT_END 20279399Sloos 21279399SloosRMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install') 22279399Sloos 23279399Sloosdivert(bldTARGETS_SECTION) 24279399Sloosinstall: ${RMAIL} 25279399Sloos 26279399Sloosdefeat-install: 27295566Sbjk @echo "NOTE: This version of rmail is not suited for some operating" 28279399Sloos @echo " systems. You can force the install using" 29279399Sloos @echo " 'Build force-install'." 30279399Sloos 31279399Sloosforce-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs') 32279399Sloos 33279399Sloosinstall-rmail: rmail 34279399Sloos ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR} 35279399Sloosdivert 36279399Sloos 37279399SloosbldFINISH 38279399Sloos 39279399Sloos