1) Add the sysctl(9) manual page from FreeBSD with the following
[dragonfly.git] / contrib / sendmail-8.13.7 / mail.local / Makefile.m4
1 dnl $Id: Makefile.m4,v 8.51 2004/11/18 22:29:52 ca Exp $
2 include(confBUILDTOOLSDIR`/M4/switch.m4')
3
4 define(`confREQUIRE_LIBSM', `true')
5 # sendmail dir
6 SMSRCDIR=     ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
7 PREPENDDEF(`confENVDEF', `confMAPDEF')
8 PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
9
10 bldPRODUCT_START(`executable', `mail.local')
11 define(`bldINSTALL_DIR', `E')
12 define(`bldNO_INSTALL', `true')
13 define(`bldSOURCES', `mail.local.c ')
14 bldPUSH_SMLIB(`sm')
15 APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL')
16 bldPRODUCT_END
17
18 bldPRODUCT_START(`manpage', `mail.local')
19 define(`bldSOURCES', `mail.local.8')
20 bldPRODUCT_END
21
22 divert(bldTARGETS_SECTION)
23 install:
24         @echo "NOTE: This version of mail.local is not suited for some operating"
25         @echo "      systems such as HP-UX and Solaris.  Please consult the"
26         @echo "      README file in the mail.local directory.  You can force"
27         @echo "      the install using 'Build force-install'."
28
29 force-install: install-mail.local ifdef(`confNO_MAN_BUILD',, `install-docs')
30
31 install-mail.local: mail.local
32         ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}
33 divert
34
35 bldFINISH