1 2.include <bsd.init.mk> 3 4TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c++/detail 5 6ATF= ${SRCTOP}/contrib/atf 7.PATH: ${ATF}/atf-c++/detail 8 9CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"' 10CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' 11CFLAGS+= -I${ATF} 12 13.for _T in application_test \ 14 env_test \ 15 exceptions_test \ 16 fs_test \ 17 process_test \ 18 text_test 19ATF_TESTS_CXX+= ${_T} 20SRCS.${_T}= ${_T}.cpp test_helpers.cpp 21.endfor 22 23.for p in version_helper 24PROGS_CXX+= ${p} 25SRCS.${p}= ${p}.cpp 26MAN.${p}= # defined 27BINDIR.${p}= ${TESTSDIR} 28.endfor 29version_helper.o: atf-version 30 31.include "../../../common.mk" 32.include <bsd.test.mk> 33