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