1# $FreeBSD: head/share/mk/netbsd-tests.test.mk 274079 2014-11-04 05:02:22Z ngie $
| 1# $FreeBSD: head/share/mk/netbsd-tests.test.mk 289151 2015-10-11 20:02:10Z ngie $
|
2 3.if !target(__netbsd_tests.test.mk__) 4__netbsd_tests.test.mk__: 5
| 2 3.if !target(__netbsd_tests.test.mk__) 4__netbsd_tests.test.mk__: 5
|
6.if !defined(OBJTOP) 7.error "Please define OBJTOP to the absolute path of the top of the object tree" 8.endif
| 6OBJTOP?= ${.OBJDIR:S/${RELDIR}//}
|
9
| 7
|
10.if !defined(SRCTOP) 11.error "Please define SRCTOP to the absolute path of the top of the source tree" 12.endif
| 8TESTSRC?= ${SRCTOP}/contrib/netbsd-tests/${RELDIR:H}
|
13
| 9
|
14.if !defined(TESTSRC) 15.error "Please define TESTSRC to the absolute path of the test sources, e.g. contrib/netbsd-tests/lib/libc/stdio"
| 10.if !exists(${TESTSRC}/) 11.error "Please define TESTSRC to the absolute path of the test sources, e.g. $${SRCTOP}/contrib/netbsd-tests/lib/libc/stdio"
|
16.endif 17 18.PATH: ${TESTSRC} 19 20LIBNETBSD_SRCDIR= ${SRCTOP}/lib/libnetbsd 21LIBNETBSD_OBJDIR= ${OBJTOP}/lib/libnetbsd 22 23.for t in ${NETBSD_ATF_TESTS_C}
--- 23 unchanged lines hidden --- | 12.endif 13 14.PATH: ${TESTSRC} 15 16LIBNETBSD_SRCDIR= ${SRCTOP}/lib/libnetbsd 17LIBNETBSD_OBJDIR= ${OBJTOP}/lib/libnetbsd 18 19.for t in ${NETBSD_ATF_TESTS_C}
--- 23 unchanged lines hidden --- |