Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libproc Only build tests if MKATF != no



details:   https://anonhg.NetBSD.org/src/rev/d296246318e0
branches:  trunk
changeset: 343459:d296246318e0
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Feb 05 10:16:12 2016 +0000

description:
Only build tests if MKATF != no

diffstat:

 external/bsd/libproc/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2f1f2168f001 -r d296246318e0 external/bsd/libproc/Makefile
--- a/external/bsd/libproc/Makefile     Fri Feb 05 10:14:49 2016 +0000
+++ b/external/bsd/libproc/Makefile     Fri Feb 05 10:16:12 2016 +0000
@@ -1,5 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2015/09/24 14:12:47 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/02/05 10:16:12 roy Exp $
+
+.include <bsd.own.mk>
 
-SUBDIR= lib .WAIT tests
+TEST_SUBDIRS=
+.if ${MKATF} != "no"
+TEST_SUBDIRS+= tests
+.endif
+
+SUBDIR= lib .WAIT ${TEST_SUBDIRS}
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index