Makefile.m4 revision 141858
1141858Sgshapirodnl $Id: Makefile.m4,v 8.51 2004/11/18 22:29:52 ca Exp $
264562Sgshapiroinclude(confBUILDTOOLSDIR`/M4/switch.m4')
338032Speter
490792Sgshapirodefine(`confREQUIRE_LIBSM', `true')
566494Sgshapiro# sendmail dir
666494SgshapiroSMSRCDIR=     ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
766494SgshapiroPREPENDDEF(`confENVDEF', `confMAPDEF')
866494SgshapiroPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
966494Sgshapiro
1064562SgshapirobldPRODUCT_START(`executable', `mail.local')
11141858Sgshapirodefine(`bldINSTALL_DIR', `E')
1290792Sgshapirodefine(`bldNO_INSTALL', `true')
1364562Sgshapirodefine(`bldSOURCES', `mail.local.c ')
1490792SgshapirobldPUSH_SMLIB(`sm')
1594334SgshapiroAPPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
1664562SgshapirobldPRODUCT_END
1738032Speter
1864562SgshapirobldPRODUCT_START(`manpage', `mail.local')
1964562Sgshapirodefine(`bldSOURCES', `mail.local.8')
2064562SgshapirobldPRODUCT_END
2138032Speter
2264562Sgshapirodivert(bldTARGETS_SECTION)
2338032Speterinstall:
2438032Speter	@echo "NOTE: This version of mail.local is not suited for some operating"
2538032Speter	@echo "      systems such as HP-UX and Solaris.  Please consult the"
2638032Speter	@echo "      README file in the mail.local directory.  You can force"
2764562Sgshapiro	@echo "      the install using 'Build force-install'."
2838032Speter
2964562Sgshapiroforce-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
3038032Speter
3138032Speterinstall-mail.local: mail.local
3264562Sgshapiro	${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
3364562Sgshapirodivert
3438032Speter
3564562SgshapirobldFINISH
36