aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-10-19 21:25:59 +0000
committerEd Maste <emaste@FreeBSD.org>2016-10-19 21:25:59 +0000
commitba2cde94c611ad8fd43c6c64e950e70e094e65db (patch)
tree0d751ece502788a772773a65aa381555a5cd81f1 /gnu/usr.bin/Makefile
parent2c818119867a10ee37cc20145b194ef63f60786e (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile41
1 files changed, 10 insertions, 31 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 8e42053c08ab..a92971750691 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -2,48 +2,27 @@
.include <src.opts.mk>
-SUBDIR= ${_binutils} \
- ${_cc} \
- diff \
+SUBDIR= diff \
diff3 \
- ${_dtc} \
- ${_gdb} \
- ${_gperf} \
- grep \
- ${_groff} \
- ${_tests}
+ grep
SUBDIR_DEPEND_gdb= ${_binutils}
.if ${MK_CXX} != "no"
-.if ${MK_GCC} != "no"
-_gperf= gperf
-.endif
-.if ${MK_GROFF} != "no"
-_groff= groff
-.endif
+SUBDIR.${MK_GCC}+= gperf
+SUBDIR.${MK_GROFF}+= groff
.endif
-.if ${MK_GPL_DTC} != "no"
-_dtc= dtc
-.endif
-
-.if ${MK_TESTS} != "no"
-_tests= tests
-.endif
+SUBDIR.${MK_BINUTILS}+= binutils
+SUBDIR.${MK_DIALOG}+= dialog
.if ${MK_BINUTILS} != "no"
-_binutils= binutils
-.if ${MK_GDB} != "no"
-_gdb= gdb
-.endif
+SUBDIR.${MK_GDB}+= gdb
.endif
-.if ${MK_GCC} != "no"
-_cc= cc
-.endif
-
-SUBDIR.${MK_DIALOG}+= dialog
+SUBDIR.${MK_GCC}+= cc
+SUBDIR.${MK_GPL_DTC}+= dtc
+SUBDIR.${MK_TESTS}+= tests
SUBDIR_PARALLEL=