mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
38f0b757fd
This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
36 lines
558 B
Makefile
36 lines
558 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= ${_drti} \
|
|
libavl \
|
|
libctf \
|
|
${_libdtrace} \
|
|
libnvpair \
|
|
libumem \
|
|
libuutil \
|
|
${_libzfs_core} \
|
|
${_libzfs} \
|
|
${_libzpool} \
|
|
${_tests}
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
_tests= tests
|
|
.endif
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_libzfs_core= libzfs_core
|
|
_libzfs= libzfs
|
|
.if ${MK_LIBTHR} != "no"
|
|
_libzpool= libzpool
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc"
|
|
_drti= drti
|
|
_libdtrace= libdtrace
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|