freebsd-dev/contrib/sendmail/mail.local/Makefile.m4

32 lines
984 B
Makefile
Raw Normal View History

include(confBUILDTOOLSDIR`/M4/switch.m4')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`executable', `mail.local')
define(`bldNO_INSTALL')
define(`bldSOURCES', `mail.local.c ')
bldPUSH_SMLIB(`smutil')
bldPRODUCT_END
bldPRODUCT_START(`manpage', `mail.local')
define(`bldSOURCES', `mail.local.8')
bldPRODUCT_END
divert(bldTARGETS_SECTION)
install:
@echo "NOTE: This version of mail.local is not suited for some operating"
@echo " systems such as HP-UX and Solaris. Please consult the"
@echo " README file in the mail.local directory. You can force"
@echo " the install using 'Build force-install'."
force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
install-mail.local: mail.local
${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
divert
bldFINISH