diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-27 06:49:27 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-27 06:49:27 +0000 |
commit | e70955b9f3e0bf50084cce2441cbef78855cfe72 (patch) | |
tree | bd3b70795abfce5544a3f32da1005eccfe88235e /lib | |
parent | ae58ab71569db8b938431e9d65efd95a89636247 (diff) | |
download | FreeBSD-src-e70955b9f3e0bf50084cce2441cbef78855cfe72.zip FreeBSD-src-e70955b9f3e0bf50084cce2441cbef78855cfe72.tar.gz |
Build/install libc, librt, libthr, and msun NetBSD test suites on all
architectures
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/Makefile | 4 | ||||
-rw-r--r-- | lib/libc/Makefile.amd64 | 6 | ||||
-rw-r--r-- | lib/libc/Makefile.i386 | 6 | ||||
-rw-r--r-- | lib/librt/Makefile | 4 | ||||
-rw-r--r-- | lib/librt/Makefile.amd64 | 6 | ||||
-rw-r--r-- | lib/librt/Makefile.i386 | 6 | ||||
-rw-r--r-- | lib/libthr/Makefile | 4 | ||||
-rw-r--r-- | lib/libthr/Makefile.amd64 | 6 | ||||
-rw-r--r-- | lib/libthr/Makefile.i386 | 6 | ||||
-rw-r--r-- | lib/msun/Makefile | 4 | ||||
-rw-r--r-- | lib/msun/Makefile.amd64 | 6 | ||||
-rw-r--r-- | lib/msun/Makefile.i386 | 6 |
12 files changed, 12 insertions, 52 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 8e0db62..93ab138 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -157,7 +157,9 @@ libkern.${LIBC_ARCH}:: ${KMSRCS} ${CP} ${.ALLSRC} ${DESTDIR}/sys/libkern/${LIBC_ARCH} .endif -.include <bsd.arch.inc.mk> +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include <bsd.lib.mk> diff --git a/lib/libc/Makefile.amd64 b/lib/libc/Makefile.amd64 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/libc/Makefile.amd64 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/libc/Makefile.i386 b/lib/libc/Makefile.i386 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/libc/Makefile.i386 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/librt/Makefile b/lib/librt/Makefile index 3629610..5696610 100644 --- a/lib/librt/Makefile +++ b/lib/librt/Makefile @@ -19,6 +19,8 @@ PRECIOUSLIB= VERSION_MAP= ${.CURDIR}/Version.map -.include <bsd.arch.inc.mk> +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include <bsd.lib.mk> diff --git a/lib/librt/Makefile.amd64 b/lib/librt/Makefile.amd64 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/librt/Makefile.amd64 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/librt/Makefile.i386 b/lib/librt/Makefile.i386 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/librt/Makefile.i386 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 0770d06..1717672 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -61,6 +61,8 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a .endif -.include <bsd.arch.inc.mk> +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include <bsd.lib.mk> diff --git a/lib/libthr/Makefile.amd64 b/lib/libthr/Makefile.amd64 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/libthr/Makefile.amd64 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/libthr/Makefile.i386 b/lib/libthr/Makefile.i386 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/libthr/Makefile.i386 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/msun/Makefile b/lib/msun/Makefile index aee0f2d..5cb6292 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -221,6 +221,8 @@ MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3 .include <src.opts.mk> -.include <bsd.arch.inc.mk> +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include <bsd.lib.mk> diff --git a/lib/msun/Makefile.amd64 b/lib/msun/Makefile.amd64 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/msun/Makefile.amd64 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - diff --git a/lib/msun/Makefile.i386 b/lib/msun/Makefile.i386 deleted file mode 100644 index dd0f5b0..0000000 --- a/lib/msun/Makefile.i386 +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ - -.if ${MK_TESTS} != "no" -SUBDIR+= tests -.endif - |