summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
committerru <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
commit388e590f951441f619cd32710dc151e0ac810a10 (patch)
tree801e953598fc63a37f62cf997017301675552fe9 /sbin/Makefile
parenta251964eaca5833ff2c4651fe4f7f8cac7199da5 (diff)
downloadFreeBSD-src-388e590f951441f619cd32710dc151e0ac810a10.zip
FreeBSD-src-388e590f951441f619cd32710dc151e0ac810a10.tar.gz
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Diffstat (limited to 'sbin/Makefile')
-rw-r--r--sbin/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index bf43850..a2daff4 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.5 (Berkeley) 3/31/94
# $FreeBSD$
+.include <bsd.own.mk>
+
# XXX MISSING: icheck ncheck
SUBDIR= adjkerntz \
@@ -92,24 +94,24 @@ SUBDIR= adjkerntz \
tunefs \
umount \
-.if !defined(NO_ATM)
+.if ${MK_ATM} != "no"
_atm= atm
.endif
-.if !defined(NO_CXX)
+.if ${MK_CXX} != "no"
_devd= devd
.endif
-.if !defined(NO_IPFILTER)
+.if ${MK_IPFILTER} != "no"
_ipf= ipf
.endif
-.if !defined(NO_PF)
+.if ${MK_PF} != "no"
_pfctl= pfctl
_pflogd= pflogd
.endif
-.if !defined(NO_INET6)
+.if ${MK_INET6} != "no"
_ip6fw= ip6fw
_ping6= ping6
.endif
OpenPOWER on IntegriCloud