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_INCLUDEDIR='"${INCLUDEDIR}"' 14CFLAGS+= -I${ATF} 15 16${PACKAGE}FILES+= macros_h_test.c 17${PACKAGE}FILES+= unused_test.c 18 19.for _T in atf_c_test \ 20 build_test \ 21 check_test \ 22 error_test \ 23 macros_test \ 24 tc_test \ 25 tp_test \ 26 utils_test 27ATF_TESTS_C+= ${_T} 28SRCS.${_T}= ${_T}.c test_helpers.c 29.endfor 30 31.for _T in atf_c_test \ 32 build_test \ 33 check_test \ 34 macros_test 35TEST_METADATA.${_T}+= required_programs="cc" 36.endfor 37 38.include "Makefile.inc" 39.include <bsd.test.mk> 40