Makefile.m4 revision 94334
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')
1394334SgshapiroAPPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
1464562SgshapirobldPRODUCT_END
1538032Speter
1664562SgshapirobldPRODUCT_START(`manpage', `mail.local')
1764562Sgshapirodefine(`bldSOURCES', `mail.local.8')
1864562SgshapirobldPRODUCT_END
1938032Speter
2064562Sgshapirodivert(bldTARGETS_SECTION)
2138032Speterinstall:
2238032Speter	@echo "NOTE: This version of mail.local is not suited for some operating"
2338032Speter	@echo "      systems such as HP-UX and Solaris.  Please consult the"
2438032Speter	@echo "      README file in the mail.local directory.  You can force"
2564562Sgshapiro	@echo "      the install using 'Build force-install'."
2638032Speter
2764562Sgshapiroforce-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
2838032Speter
2938032Speterinstall-mail.local: mail.local
3064562Sgshapiro	${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
3164562Sgshapirodivert
3238032Speter
3364562SgshapirobldFINISH
34