diff options
| author | Julio Merino <jmmv@FreeBSD.org> | 2014-04-28 04:20:14 +0000 |
|---|---|---|
| committer | Julio Merino <jmmv@FreeBSD.org> | 2014-04-28 04:20:14 +0000 |
| commit | 71c282135622b077adab17a30a6fcdeb83c47fbb (patch) | |
| tree | 75b9c0126658bfd0f8c3a40cc52ce8056da937c4 /gnu | |
| parent | 2402ae908e5e838dab124bc7f51c7782da40a725 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/Makefile | 8 | ||||
| -rw-r--r-- | gnu/lib/Makefile | 4 | ||||
| -rw-r--r-- | gnu/lib/tests/Makefile | 10 | ||||
| -rw-r--r-- | gnu/tests/Makefile | 10 | ||||
| -rw-r--r-- | gnu/usr.bin/Makefile | 5 | ||||
| -rw-r--r-- | gnu/usr.bin/tests/Makefile | 10 |
6 files changed, 46 insertions, 1 deletions
diff --git a/gnu/Makefile b/gnu/Makefile index 6656adfbdfad..b460590387ae 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 50797fced309..70e68113fd84 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 000000000000..256e24512e30 --- /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 000000000000..de42fae1ec00 --- /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 02d0b2a95375..7e96a6f4829f 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 000000000000..eebbff675d2e --- /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> |
