]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - lib/atf/libatf-c/tests/detail/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.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+=        -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
11 CFLAGS+=        -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
22 ATF_TESTS_C+=   ${_T}
23 SRCS.${_T}=     ${_T}.c test_helpers.c
24 .endfor
25
26 .for p in process_helpers version_helper
27 PROGS+=         ${p}
28 SRCS.${p}=      ${p}.c
29 MAN.${p}=       # defined
30 BINDIR.${p}=    ${TESTSDIR}
31 .endfor
32 version_helper.o: atf-version
33
34 .include "../../../common.mk"
35 .include <bsd.test.mk>