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
30
31
32
33
34
35
36
|
include(confBUILDTOOLSDIR`/M4/switch.m4')
define(`confREQUIRE_LIBSM', `true')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`executable', `rmail')
define(`bldNO_INSTALL', `true')
define(`bldSOURCES', `rmail.c ')
bldPUSH_SMLIB(`sm')
bldPRODUCT_END
bldPRODUCT_START(`manpage', `rmail')
define(`bldSOURCES', `rmail.8')
bldPRODUCT_END
RMAIL=ifdef(`confFORCE_RMAIL', `force-install', `defeat-install')
divert(bldTARGETS_SECTION)
install: ${RMAIL}
defeat-install:
@echo "NOTE: This version of rmail is not suited for some operating"
@echo " systems. You can force the install using"
@echo " 'Build force-install'."
force-install: install-rmail ifdef(`confNO_MAN_BUILD',, `install-docs')
install-rmail: rmail
${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR}
divert
bldFINISH
|