aboutsummaryrefslogtreecommitdiff
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-01-26 06:27:07 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-01-26 06:27:07 +0000
commit4e39505449baa89abfdb1d234f540d0e366d793d (patch)
treef9b26ec3aea5fcb8881f35ae243d14342c49285d /share/examples/Makefile
parent9500dd9f0bbfddbda46306f53d1d63a4984cb119 (diff)
downloadsrc-4e39505449baa89abfdb1d234f540d0e366d793d.tar.gz
src-4e39505449baa89abfdb1d234f540d0e366d793d.zip
Add MK_HAST knob for building and installing hastd(8), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=277725
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 79de48eb3129..0765a4376fbb 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)