summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-04-28 04:20:14 +0000
committerjmmv <jmmv@FreeBSD.org>2014-04-28 04:20:14 +0000
commit797209d767d2ab0f25d4df1b759273052ae7b6d4 (patch)
tree75b9c0126658bfd0f8c3a40cc52ce8056da937c4 /gnu
parent5b89692b00a51ee27c4f004b3c954b0b123bf551 (diff)
downloadFreeBSD-src-797209d767d2ab0f25d4df1b759273052ae7b6d4.zip
FreeBSD-src-797209d767d2ab0f25d4df1b759273052ae7b6d4.tar.gz
MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies.
This is "make tinderbox" clean.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/Makefile8
-rw-r--r--gnu/lib/Makefile4
-rw-r--r--gnu/lib/tests/Makefile10
-rw-r--r--gnu/tests/Makefile10
-rw-r--r--gnu/usr.bin/Makefile5
-rw-r--r--gnu/usr.bin/tests/Makefile10
6 files changed, 46 insertions, 1 deletions
diff --git a/gnu/Makefile b/gnu/Makefile
index 6656adf..b460590 100644
--- a/gnu/Makefile
+++ b/gnu/Makefile
@@ -1,6 +1,12 @@
# @(#)Makefile 5.33.1.1 (Berkeley) 5/6/91
# $FreeBSD$
-SUBDIR= lib usr.bin
+.include <bsd.own.mk>
+
+SUBDIR= lib ${_tests} usr.bin
+
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
.include <bsd.subdir.mk>
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 50797fc..70e6811 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -8,6 +8,10 @@ SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline
SUBDIR+= libssp
.endif
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"
diff --git a/gnu/lib/tests/Makefile b/gnu/lib/tests/Makefile
new file mode 100644
index 0000000..256e245
--- /dev/null
+++ b/gnu/lib/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/gnu/lib
+
+.PATH: ${.CURDIR:H:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
diff --git a/gnu/tests/Makefile b/gnu/tests/Makefile
new file mode 100644
index 0000000..de42fae
--- /dev/null
+++ b/gnu/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/gnu
+
+.PATH: ${.CURDIR:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 02d0b2a..7e96a6f 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -15,6 +15,7 @@ SUBDIR= ${_binutils} \
${_rcs} \
sdiff \
send-pr \
+ ${_tests} \
${_texinfo}
.if ${MK_CXX} != "no"
@@ -36,6 +37,10 @@ _texinfo= texinfo
_rcs= rcs
.endif
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
+
.if ${MK_BINUTILS} != "no"
_binutils= binutils
.endif
diff --git a/gnu/usr.bin/tests/Makefile b/gnu/usr.bin/tests/Makefile
new file mode 100644
index 0000000..eebbff6
--- /dev/null
+++ b/gnu/usr.bin/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/gnu/usr.bin
+
+.PATH: ${.CURDIR:H:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud