2002-06-26 02:48:44 +00:00
|
|
|
dnl $Id: Makefile.m4,v 8.49.2.1 2002/06/21 21:58:36 ca Exp $
|
2000-08-12 21:55:49 +00:00
|
|
|
include(confBUILDTOOLSDIR`/M4/switch.m4')
|
1998-08-03 05:56:20 +00:00
|
|
|
|
2002-02-17 21:56:45 +00:00
|
|
|
define(`confREQUIRE_LIBSM', `true')
|
2000-10-01 01:49:02 +00:00
|
|
|
# sendmail dir
|
|
|
|
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
|
|
|
|
PREPENDDEF(`confENVDEF', `confMAPDEF')
|
|
|
|
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
|
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
bldPRODUCT_START(`executable', `mail.local')
|
2002-02-17 21:56:45 +00:00
|
|
|
define(`bldNO_INSTALL', `true')
|
2000-08-12 21:55:49 +00:00
|
|
|
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')
|
2000-08-12 21:55:49 +00:00
|
|
|
bldPRODUCT_END
|
1998-08-03 05:56:20 +00:00
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
bldPRODUCT_START(`manpage', `mail.local')
|
|
|
|
define(`bldSOURCES', `mail.local.8')
|
|
|
|
bldPRODUCT_END
|
1998-08-03 05:56:20 +00:00
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
divert(bldTARGETS_SECTION)
|
1998-08-03 05:56:20 +00:00
|
|
|
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-08-12 21:55:49 +00:00
|
|
|
@echo " the install using 'Build force-install'."
|
1998-08-03 05:56:20 +00:00
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
|
1998-08-03 05:56:20 +00:00
|
|
|
|
|
|
|
install-mail.local: mail.local
|
2000-08-12 21:55:49 +00:00
|
|
|
${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
|
|
|
|
divert
|
1998-08-03 05:56:20 +00:00
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
bldFINISH
|