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_INCLUDEDIR='"${INCLUDEDIR}"' 11CFLAGS+= -I${ATF} 12 13.for _T in dynstr_test \ 14 env_test \ 15 fs_test \ 16 list_test \ 17 map_test \ 18 process_test \ 19 sanity_test \ 20 text_test \ 21 user_test 22ATF_TESTS_C+= ${_T} 23SRCS.${_T}= ${_T}.c test_helpers.c 24.endfor 25 26.for p in process_helpers version_helper 27PROGS+= ${p} 28SRCS.${p}= ${p}.c 29MAN.${p}= # defined 30BINDIR.${p}= ${TESTSDIR} 31.endfor 32version_helper.o: atf-version 33 34.include "../../../common.mk" 35.include <bsd.test.mk> 36