1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/mail.local/Makefile.m4

37 lines
1.2 KiB
Makefile
Raw Normal View History

2007-04-09 01:38:51 +00:00
dnl $Id: Makefile.m4,v 8.52 2006/06/28 21:08:02 ca Exp $
include(confBUILDTOOLSDIR`/M4/switch.m4')
2002-02-17 21:56:45 +00:00
define(`confREQUIRE_LIBSM', `true')
2007-04-09 01:38:51 +00:00
define(`confREQUIRE_SM_OS_H', `true')
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
bldPRODUCT_START(`executable', `mail.local')
2005-02-14 02:30:00 +00:00
define(`bldINSTALL_DIR', `E')
2002-02-17 21:56:45 +00:00
define(`bldNO_INSTALL', `true')
define(`bldSOURCES', `mail.local.c ')
2002-02-17 21:56:45 +00:00
bldPUSH_SMLIB(`sm')
2002-04-10 03:05:00 +00:00
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
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