summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorlidl <lidl@FreeBSD.org>2016-06-02 19:06:04 +0000
committerlidl <lidl@FreeBSD.org>2016-06-02 19:06:04 +0000
commit6f31a383cc6d2459585d754d3d30f980487df06f (patch)
tree45c1a8bc32e7b9d60122086211c8fa6df289de16 /libexec
parent44920da28cde32f352e76a4220b068c8f623c60d (diff)
downloadFreeBSD-src-6f31a383cc6d2459585d754d3d30f980487df06f.zip
FreeBSD-src-6f31a383cc6d2459585d754d3d30f980487df06f.tar.gz
Add basic blacklist build support
Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5913
Diffstat (limited to 'libexec')
-rw-r--r--libexec/Makefile5
-rw-r--r--libexec/blacklistd-helper/Makefile7
2 files changed, 12 insertions, 0 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index b60cc34..fdcc49a 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -5,6 +5,7 @@
SUBDIR= ${_atf} \
${_atrun} \
+ ${_blacklistd-helper} \
${_comsat} \
${_dma} \
getty \
@@ -33,6 +34,10 @@ SUBDIR= ${_atf} \
_atrun= atrun
.endif
+.if ${MK_BLACKLIST_SUPPORT} != "no"
+_blacklistd-helper+= blacklistd-helper
+.endif
+
.if ${MK_BOOTPD} != "no"
SUBDIR+= bootpd
.endif
diff --git a/libexec/blacklistd-helper/Makefile b/libexec/blacklistd-helper/Makefile
new file mode 100644
index 0000000..649c619
--- /dev/null
+++ b/libexec/blacklistd-helper/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+BLACKLIST_DIR=${SRCTOP}/contrib/blacklist
+
+SCRIPTS= ${BLACKLIST_DIR}/libexec/blacklistd-helper
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud