mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
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
This commit is contained in:
parent
e2b4fa14f9
commit
536b1b933e
@ -149,6 +149,8 @@
|
||||
..
|
||||
libproc
|
||||
..
|
||||
librt
|
||||
..
|
||||
libthr
|
||||
dlopen
|
||||
..
|
||||
|
@ -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>
|
||||
|
6
lib/librt/Makefile.amd64
Normal file
6
lib/librt/Makefile.amd64
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
SUBDIR+= tests
|
||||
.endif
|
||||
|
6
lib/librt/Makefile.i386
Normal file
6
lib/librt/Makefile.i386
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
SUBDIR+= tests
|
||||
.endif
|
||||
|
17
lib/librt/tests/Makefile
Normal file
17
lib/librt/tests/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user