1266692Sgshapirodnl $Id: Makefile.m4,v 8.52 2006-06-28 21:08:02 ca Exp $ 264562Sgshapiroinclude(confBUILDTOOLSDIR`/M4/switch.m4') 338032Speter 490792Sgshapirodefine(`confREQUIRE_LIBSM', `true') 5168515Sgshapirodefine(`confREQUIRE_SM_OS_H', `true') 666494Sgshapiro# sendmail dir 766494SgshapiroSMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail') 866494SgshapiroPREPENDDEF(`confENVDEF', `confMAPDEF') 966494SgshapiroPREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ') 1066494Sgshapiro 1164562SgshapirobldPRODUCT_START(`executable', `mail.local') 12141858Sgshapirodefine(`bldINSTALL_DIR', `E') 1390792Sgshapirodefine(`bldNO_INSTALL', `true') 1464562Sgshapirodefine(`bldSOURCES', `mail.local.c ') 1590792SgshapirobldPUSH_SMLIB(`sm') 1694334SgshapiroAPPENDDEF(`confENVDEF', `-DNOT_SENDMAIL') 1764562SgshapirobldPRODUCT_END 1838032Speter 1964562SgshapirobldPRODUCT_START(`manpage', `mail.local') 2064562Sgshapirodefine(`bldSOURCES', `mail.local.8') 2164562SgshapirobldPRODUCT_END 2238032Speter 2364562Sgshapirodivert(bldTARGETS_SECTION) 2438032Speterinstall: 2538032Speter @echo "NOTE: This version of mail.local is not suited for some operating" 2638032Speter @echo " systems such as HP-UX and Solaris. Please consult the" 2738032Speter @echo " README file in the mail.local directory. You can force" 2864562Sgshapiro @echo " the install using 'Build force-install'." 2938032Speter 3064562Sgshapiroforce-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs') 3138032Speter 3238032Speterinstall-mail.local: mail.local 3364562Sgshapiro ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR} 3464562Sgshapirodivert 3538032Speter 3664562SgshapirobldFINISH 37