freebsd-dev/modules/Makefile
Enji Cooper 014db25b98 Update ^/vendor/NetBSD/tests/dist to a more recent snapshot
Pulled on "Thu Aug 11 18:01:19 PDT 2016"
2016-08-12 01:05:07 +00:00

27 lines
725 B
Makefile

# $NetBSD: Makefile,v 1.12 2016/01/23 21:22:49 christos Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/modules
CPPFLAGS+= -D_KERNTYPES
# Ideally this test could be in the parent Makefile, which could not descend
# into this directory at all. Unfortunately, the etc/mtree/NetBSD.dist file
# creates the 'modules' subdirectory unconditionally, which if left empty
# will confuse atf-run. Therefore we must install, at the very least, the
# Atffile into it.
TESTS_C= t_modctl
TESTS_C+= t_builtin
LDADD= -lprop
LDADD+= -lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
TESTS_SH= t_abi_uvm
TESTS_SH+= t_modload
SUBDIR= k_helper
SUBDIR+= k_helper2
SUBDIR+= k_helper3
SUBDIR+= k_uvm
.include <bsd.test.mk>