summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/mail.local/Makefile.m4
blob: f5344f8142d9d738696ff7177acca7170a0c505d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include(confBUILDTOOLSDIR`/M4/switch.m4')

bldPRODUCT_START(`executable', `mail.local')
define(`bldNO_INSTALL')
define(`bldSOURCES', `mail.local.c ')
bldPUSH_SMLIB(`smutil')
PREPENDDEF(`confENVDEF', `confMAPDEF')
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


OpenPOWER on IntegriCloud