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