2010-08-27 13:56:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2010/08/27 09:56:40 pooka Exp $
|
2008-02-10 15:40:10 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-08-21 17:57:41 +04:00
|
|
|
TESTSDIR= ${TESTSBASE}/modules
|
2008-02-10 15:40:10 +03:00
|
|
|
|
2010-08-21 17:57:41 +04:00
|
|
|
# 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
|
2010-08-27 13:56:40 +04:00
|
|
|
TESTS_C+= t_builtin
|
2010-08-21 17:57:41 +04:00
|
|
|
LDADD= -lprop
|
2010-08-27 13:56:40 +04:00
|
|
|
LDADD+= -lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lpthread
|
2008-03-02 14:22:10 +03:00
|
|
|
|
2010-08-21 17:57:41 +04:00
|
|
|
TESTS_SH= t_modload
|
|
|
|
|
|
|
|
SUBDIR= k_helper
|
|
|
|
SUBDIR+= k_helper2
|
2008-02-10 15:40:10 +03:00
|
|
|
|
|
|
|
.include <bsd.test.mk>
|