1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5PACKAGE= tests 6 7TESTS_SUBDIRS= detail 8 9ATF= ${SRCTOP}/contrib/atf 10.PATH: ${ATF}/atf-c++ 11.PATH: ${ATF}/atf-c++/detail 12 13CFLAGS+= -DATF_BUILD_CXX='"c++"' 14CFLAGS+= -DATF_BUILD_CXXFLAGS='"-Wall"' 15CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"' 16CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' 17CFLAGS+= -I${ATF} 18 19${PACKAGE}FILES+= macros_hpp_test.cpp 20${PACKAGE}FILES+= unused_test.cpp 21 22.for _T in atf_c++_test \ 23 build_test \ 24 check_test \ 25 macros_test \ 26 tests_test \ 27 utils_test 28ATF_TESTS_CXX+= ${_T} 29SRCS.${_T}= ${_T}.cpp test_helpers.cpp 30.endfor 31 32.for _T in atf_c++_test \ 33 build_test \ 34 check_test \ 35 macros_test 36TEST_METADATA.${_T}+= required_programs="c++" 37.endfor 38 39.include <bsd.test.mk> 40