Makefile.m4 revision 168516
1169691Skandnl $Id: Makefile.m4,v 8.44 2006/06/28 21:08:04 ca Exp $ 2169691Skaninclude(confBUILDTOOLSDIR`/M4/switch.m4') 3169691Skan 4169691Skandefine(`confREQUIRE_LIBSM', `true') 5169691Skandefine(`confREQUIRE_SM_OS_H', `true') 6169691Skan# sendmail dir 7169691SkanSMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 8169691SkanPREPENDDEF(`confENVDEF', `confMAPDEF') 9169691SkanPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 10169691Skan 11169691SkanbldPRODUCT_START(`executable', `rmail') 12169691Skandefine(`bldNO_INSTALL', `true') 13169691Skandefine(`bldSOURCES', `rmail.c ') 14169691SkanbldPUSH_SMLIB(`sm') 15169691SkanbldPRODUCT_END 16169691Skan 17169691SkanbldPRODUCT_START(`manpage', `rmail') 18169691Skandefine(`bldSOURCES', `rmail.8') 19169691SkanbldPRODUCT_END 20169691Skan 21169691SkanRMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install') 22169691Skan 23169691Skandivert(bldTARGETS_SECTION) 24169691Skaninstall: ${RMAIL} 25169691Skan 26169691Skandefeat-install: 27169691Skan @echo "NOTE: This version of rmail is not suited for some operating" 28169691Skan @echo " systems. You can force the install using" 29169691Skan @echo " 'Build force-install'." 30169691Skan 31169691Skanforce-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs') 32169691Skan 33169691Skaninstall-rmail: rmail 34169691Skan ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR} 35169691Skandivert 36169691Skan 37169691SkanbldFINISH 38169691Skan 39169691Skan