aboutsummaryrefslogtreecommitdiff
path: root/sbin/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
commite1fe3dba5ce2826061f6489765be9b4a341736a9 (patch)
tree801e953598fc63a37f62cf997017301675552fe9 /sbin/Makefile
parent23801379f0e7cdddcb057ea05fe79b340a01dbf5 (diff)
downloadsrc-e1fe3dba5ce2826061f6489765be9b4a341736a9.tar.gz
src-e1fe3dba5ce2826061f6489765be9b4a341736a9.zip
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)
Notes
Notes: svn path=/head/; revision=156813
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 bf43850f8d1d..a2daff4900e5 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