NetBSD/gnu/dist/sendmail/mail.local/Makefile.m4

32 lines
984 B
Makefile
Raw Normal View History

2000-05-03 13:27:16 +04:00
include(confBUILDTOOLSDIR`/M4/switch.m4')
2000-10-10 14:57:49 +04:00
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
2000-05-03 13:27:16 +04:00
bldPRODUCT_START(`executable', `mail.local')
define(`bldNO_INSTALL')
define(`bldSOURCES', `mail.local.c ')
bldPUSH_SMLIB(`smutil')
bldPRODUCT_END
2000-05-03 13:27:16 +04:00
bldPRODUCT_START(`manpage', `mail.local')
define(`bldSOURCES', `mail.local.8')
bldPRODUCT_END
2000-05-03 13:27:16 +04:00
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"
2000-05-03 13:27:16 +04:00
@echo " the install using 'Build force-install'."
2000-05-03 13:27:16 +04:00
force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
install-mail.local: mail.local
2000-05-03 13:27:16 +04:00
${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
divert
2000-05-03 13:27:16 +04:00
bldFINISH