1 2.include <bsd.init.mk> 3 4PACKAGE= tests 5 6TESTS_SUBDIRS= detail 7 8ATF= ${SRCTOP}/contrib/atf 9.PATH: ${ATF}/atf-c 10.PATH: ${ATF}/atf-c/detail 11 12CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' 13CFLAGS+= -I${ATF} 14 15${PACKAGE}FILES+= macros_h_test.c 16${PACKAGE}FILES+= unused_test.c 17 18.for _T in atf_c_test \ 19 build_test \ 20 check_test \ 21 error_test \ 22 macros_test \ 23 tc_test \ 24 tp_test \ 25 utils_test 26ATF_TESTS_C+= ${_T} 27SRCS.${_T}= ${_T}.c test_helpers.c 28.endfor 29 30.for _T in atf_c_test \ 31 build_test \ 32 check_test \ 33 macros_test 34TEST_METADATA.${_T}+= required_programs="cc" 35.endfor 36 37.include "Makefile.inc" 38.include <bsd.test.mk> 39