1 dnl $Id: Makefile.m4,v 8.42.4.1 2002/06/21 21:58:46 ca Exp $
2 include(confBUILDTOOLSDIR`/M4/switch.m4')
4 define(`confREQUIRE_LIBSM', `true')
6 SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
7 PREPENDDEF(`confENVDEF', `confMAPDEF')
8 PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
10 bldPRODUCT_START(`executable', `rmail')
11 define(`bldNO_INSTALL', `true')
12 define(`bldSOURCES', `rmail.c ')
16 bldPRODUCT_START(`manpage', `rmail')
17 define(`bldSOURCES', `rmail.8')
20 RMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install')
22 divert(bldTARGETS_SECTION)
26 @echo "NOTE: This version of rmail is not suited for some operating"
27 @echo " systems. You can force the install using"
28 @echo " 'Build force-install'."
30 force-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs')
33 ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR}