Makefile.m4 revision 90792
164562Sgshapiroinclude(confBUILDTOOLSDIR`/M4/switch.m4')
238032Speter
390792Sgshapirodefine(`confREQUIRE_LIBSM', `true')
466494Sgshapiro# sendmail dir
566494SgshapiroSMSRCDIR=     ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
666494SgshapiroPREPENDDEF(`confENVDEF', `confMAPDEF')
766494SgshapiroPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
866494Sgshapiro
964562SgshapirobldPRODUCT_START(`executable', `mail.local')
1090792Sgshapirodefine(`bldNO_INSTALL', `true')
1164562Sgshapirodefine(`bldSOURCES', `mail.local.c ')
1290792SgshapirobldPUSH_SMLIB(`sm')
1364562SgshapirobldPRODUCT_END
1438032Speter
1564562SgshapirobldPRODUCT_START(`manpage', `mail.local')
1664562Sgshapirodefine(`bldSOURCES', `mail.local.8')
1764562SgshapirobldPRODUCT_END
1838032Speter
1964562Sgshapirodivert(bldTARGETS_SECTION)
2038032Speterinstall:
2138032Speter	@echo "NOTE: This version of mail.local is not suited for some operating"
2238032Speter	@echo "      systems such as HP-UX and Solaris.  Please consult the"
2338032Speter	@echo "      README file in the mail.local directory.  You can force"
2464562Sgshapiro	@echo "      the install using 'Build force-install'."
2538032Speter
2664562Sgshapiroforce-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
2738032Speter
2838032Speterinstall-mail.local: mail.local
2964562Sgshapiro	${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
3064562Sgshapirodivert
3138032Speter
3264562SgshapirobldFINISH
33