freebsd-dev/contrib/sendmail/rmail/Makefile.m4

38 lines
1.0 KiB
Makefile
Raw Normal View History

2004-08-01 01:04:57 +00:00
dnl $Id: Makefile.m4,v 8.43 2002/06/21 22:01:49 ca Exp $
include(confBUILDTOOLSDIR`/M4/switch.m4')
2002-02-17 21:56:45 +00:00
define(`confREQUIRE_LIBSM', `true')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`executable', `rmail')
2002-02-17 21:56:45 +00:00
define(`bldNO_INSTALL', `true')
define(`bldSOURCES', `rmail.c ')
2002-02-17 21:56:45 +00:00
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