NetBSD/gnu/dist/sendmail/mail.local/Makefile.m4

37 lines
1.2 KiB
Makefile
Raw Normal View History

2005-03-15 05:05:26 +03:00
dnl Id: Makefile.m4,v 8.51 2004/11/18 22:29:52 ca Exp
dnl $NetBSD: Makefile.m4,v 1.1.1.6 2005/03/15 02:05:36 atatat Exp $
2000-05-03 13:27:16 +04:00
include(confBUILDTOOLSDIR`/M4/switch.m4')
2003-03-24 17:47:07 +03:00
define(`confREQUIRE_LIBSM', `true')
2000-10-10 14:57:49 +04:00
# sendmail dir
SMSRCDIR= ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
PREPENDDEF(`confENVDEF', `confMAPDEF')
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
2000-05-03 13:27:16 +04:00
bldPRODUCT_START(`executable', `mail.local')
2005-03-15 05:05:26 +03:00
define(`bldINSTALL_DIR', `E')
2003-03-24 17:47:07 +03:00
define(`bldNO_INSTALL', `true')
2000-05-03 13:27:16 +04:00
define(`bldSOURCES', `mail.local.c ')
2003-03-24 17:47:07 +03:00
bldPUSH_SMLIB(`sm')
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
2000-05-03 13:27:16 +04:00
bldPRODUCT_END
2000-05-03 13:27:16 +04:00
bldPRODUCT_START(`manpage', `mail.local')
define(`bldSOURCES', `mail.local.8')
bldPRODUCT_END
2000-05-03 13:27:16 +04:00
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"
2000-05-03 13:27:16 +04:00
@echo " the install using 'Build force-install'."
2000-05-03 13:27:16 +04:00
force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
install-mail.local: mail.local
2000-05-03 13:27:16 +04:00
${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
divert
2000-05-03 13:27:16 +04:00
bldFINISH