summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-26 06:27:07 +0000
committerngie <ngie@FreeBSD.org>2015-01-26 06:27:07 +0000
commit6b047416be9622d43fcc6acf8feafc498a3f8efc (patch)
treef9b26ec3aea5fcb8881f35ae243d14342c49285d /share
parent70dc4fad7a93ca73cc531060c49f47e0bd97911a (diff)
downloadFreeBSD-src-6b047416be9622d43fcc6acf8feafc498a3f8efc.zip
FreeBSD-src-6b047416be9622d43fcc6acf8feafc498a3f8efc.tar.gz
Add MK_HAST knob for building and installing hastd(8), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share')
-rw-r--r--share/examples/Makefile15
-rw-r--r--share/mk/src.opts.mk1
2 files changed, 10 insertions, 6 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 79de48e..0765a43 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -14,7 +14,6 @@ LDIRS= BSD_daemon \
drivers \
etc \
find_interface \
- hast \
ibcs2 \
indent \
ipfw \
@@ -64,11 +63,6 @@ XFILES= BSD_daemon/FreeBSD.pfa \
find_interface/Makefile \
find_interface/README \
find_interface/find_interface.c \
- hast/ucarp.sh \
- hast/ucarp_down.sh \
- hast/ucarp_up.sh \
- hast/vip-down.sh \
- hast/vip-up.sh \
ibcs2/README \
ibcs2/hello.uu \
indent/indent.pro \
@@ -202,6 +196,15 @@ BINDIR= ${SHAREDIR}/examples
NO_OBJ=
+.if ${MK_HAST} != "no"
+LDIRS+= hast
+XFILES+= hast/ucarp.sh \
+ hast/ucarp_down.sh \
+ hast/ucarp_up.sh \
+ hast/vip-down.sh \
+ hast/vip-up.sh
+.endif
+
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''); (latter useful
# in environments where it's not possible to keep /sys publicly readable)
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 8082b14..63dcb1bd 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -92,6 +92,7 @@ __DEFAULT_YES_OPTIONS = \
GPIO \
GPL_DTC \
GROFF \
+ HAST \
HTML \
HYPERV \
ICONV \
OpenPOWER on IntegriCloud