diff options
Diffstat (limited to 'lib/csu/tests/dynamiclib/Makefile')
-rw-r--r-- | lib/csu/tests/dynamiclib/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/csu/tests/dynamiclib/Makefile b/lib/csu/tests/dynamiclib/Makefile new file mode 100644 index 000000000000..13a9b837684e --- /dev/null +++ b/lib/csu/tests/dynamiclib/Makefile @@ -0,0 +1,15 @@ +.PATH: ${.CURDIR:H} +CFLAGS+= -DDSO_BASE +DPADD+= ${.OBJDIR:H}/dso/libh_csu.so +LDFLAGS+= -Wl,-rpath,${TESTSDIR} -L${.OBJDIR:H}/dso +LDADD+= -lh_csu + +.include "../Makefile.tests" + +.for test in ${ATF_TESTS_C} +ATF_TESTS_CXX+= ${test} +SRCS.${test}= ${test}.c +.endfor +ATF_TESTS_C:= + +.include <bsd.test.mk> |