summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/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 /gnu/usr.bin/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 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 9a15f01..1abf8f7 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
SUBDIR= bc \
${_binutils} \
${_cc} \
@@ -23,38 +25,38 @@ SUBDIR= bc \
${_texinfo}
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
-NO_GDB= # not yet
+MK_GDB= no # not yet
.endif
-.if !defined(NO_CXX)
+.if ${MK_CXX} != "no"
.if ${MACHINE_ARCH} != "powerpc"
_gperf= gperf
.endif
-.if !defined(NO_GROFF)
+.if ${MK_GROFF} != "no"
_groff= groff
.endif
.endif
-.if !defined(NO_CVS)
+.if ${MK_CVS} != "no"
_cvs= cvs
.endif
-.if !defined(NO_MAN)
+.if ${MK_MAN} != "no"
_man= man
.endif
-.if !defined(NO_INFO)
+.if ${MK_INFO} != "no"
_texinfo= texinfo
.endif
-.if !defined(NO_TOOLCHAIN)
+.if ${MK_TOOLCHAIN} != "no"
_binutils= binutils
_cc= cc
-.if !defined(NO_GDB)
+.if ${MK_GDB} != "no"
_gdb= gdb
.endif
.endif
-.if !defined(NO_RCS)
+.if ${MK_RCS} != "no"
_rcs= rcs
.endif
OpenPOWER on IntegriCloud