summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-11-08 14:24:47 +0000
committerjmmv <jmmv@FreeBSD.org>2013-11-08 14:24:47 +0000
commit627bb4f0bd2020972732244313ae50700ad26af2 (patch)
treeb24803c1f4d0f4f5e9536ebe8ff71f4dacf44b63 /lib/Makefile
parent74f0db8200d4bd28326cec2dad424441e91523ed (diff)
downloadFreeBSD-src-627bb4f0bd2020972732244313ae50700ad26af2.zip
FreeBSD-src-627bb4f0bd2020972732244313ae50700ad26af2.tar.gz
Subsume the functionality of MK_ATF into MK_TESTS.
There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 074a917..2db83a6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -140,10 +140,6 @@ _csu=csu
# NB: keep these sorted by MK_* knobs
-.if ${MK_ATF} != "no"
-_atf= atf
-.endif
-
.if ${MK_ATM} != "no"
_libngatm= libngatm
.endif
@@ -253,6 +249,10 @@ _libsmutil= libsmutil
_libtelnet= libtelnet
.endif
+.if ${MK_TESTS} != "no"
+_atf= atf
+.endif
+
.if ${MK_UNBOUND} != "no"
_libunbound= libunbound
.endif
OpenPOWER on IntegriCloud