Date: Sun, 16 Nov 2014 07:03:20 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274580 - in head: etc/mtree lib/librt lib/librt/tests Message-ID: <201411160703.sAG73KLR010633@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sun Nov 16 07:03:19 2014 New Revision: 274580 URL: https://svnweb.freebsd.org/changeset/base/274580 Log: Add reachover Makefiles for contrib/netbsd-tests/lib/librt A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division Added: head/lib/librt/Makefile.amd64 (contents, props changed) head/lib/librt/Makefile.i386 (contents, props changed) head/lib/librt/tests/ head/lib/librt/tests/Makefile (contents, props changed) Modified: head/etc/mtree/BSD.tests.dist head/lib/librt/Makefile Modified: head/etc/mtree/BSD.tests.dist ============================================================================== --- head/etc/mtree/BSD.tests.dist Sun Nov 16 06:59:58 2014 (r274579) +++ head/etc/mtree/BSD.tests.dist Sun Nov 16 07:03:19 2014 (r274580) @@ -149,6 +149,8 @@ .. libproc .. + librt + .. libthr dlopen .. Modified: head/lib/librt/Makefile ============================================================================== --- head/lib/librt/Makefile Sun Nov 16 06:59:58 2014 (r274579) +++ head/lib/librt/Makefile Sun Nov 16 07:03:19 2014 (r274580) @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <src.opts.mk> + LIB=rt SHLIB_MAJOR= 1 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} @@ -18,4 +20,6 @@ PRECIOUSLIB= VERSION_MAP= ${.CURDIR}/Version.map +.include <bsd.arch.inc.mk> + .include <bsd.lib.mk> Added: head/lib/librt/Makefile.amd64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/librt/Makefile.amd64 Sun Nov 16 07:03:19 2014 (r274580) @@ -0,0 +1,6 @@ +# $FreeBSD$ + +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + Added: head/lib/librt/Makefile.i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/librt/Makefile.i386 Sun Nov 16 07:03:19 2014 (r274580) @@ -0,0 +1,6 @@ +# $FreeBSD$ + +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + Added: head/lib/librt/tests/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/librt/tests/Makefile Sun Nov 16 07:03:19 2014 (r274580) @@ -0,0 +1,17 @@ +# $FreeBSD$ + +OBJTOP= ${.OBJDIR:H:H:H} +SRCTOP= ${.CURDIR:H:H:H} +TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/librt + +TESTSDIR= ${TESTSBASE}/lib/librt + +DPADD+= ${LIBRT} +LDADD+= -lrt + +NETBSD_ATF_TESTS_C= sched_test +NETBSD_ATF_TESTS_C+= sem_test + +.include <netbsd-tests.test.mk> + +.include <bsd.test.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411160703.sAG73KLR010633>