]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - lib/atf/libatf-c/tests/detail/Makefile
MFC refactoring of the *.test.mk files.
[FreeBSD/stable/10.git] / lib / atf / libatf-c / tests / detail / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 TESTSDIR=       ${TESTSBASE}/lib/atf/libatf-c/detail
6
7 ATF=            ${.CURDIR:H:H:H:H:H}/contrib/atf
8 .PATH:          ${ATF}/atf-c/detail
9
10 CFLAGS+=        -I${ATF}
11
12 .for _T in      dynstr_test \
13                 env_test \
14                 fs_test \
15                 list_test \
16                 map_test \
17                 process_test \
18                 sanity_test \
19                 text_test \
20                 user_test
21 ATF_TESTS_C+=   ${_T}
22 SRCS.${_T}=     ${_T}.c test_helpers.c
23 .endfor
24
25 .for p in process_helpers version_helper
26 PROGS+=         ${p}
27 SRCS.${p}=      ${p}.c
28 MAN.${p}=       # defined
29 BINDIR.${p}=    ${TESTSDIR}
30 .endfor
31 version_helper.o: atf-version
32
33 .include "../../../common.mk"
34 .include <bsd.test.mk>