summaryrefslogtreecommitdiffstats
path: root/libexec
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 /libexec
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 'libexec')
-rw-r--r--libexec/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index 0b9c961..576335f 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -33,10 +33,6 @@ SUBDIR= ${_atf} \
ulog-helper \
${_ypxfr}
-.if ${MK_ATF} != "no"
-_atf= atf
-.endif
-
.if ${MK_AT} != "no"
_atrun= atrun
.endif
@@ -76,4 +72,8 @@ _smrsh= smrsh
_telnetd= telnetd
.endif
+.if ${MK_TESTS} != "no"
+_atf= atf
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud