]> 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      application_test \
13                 env_test \
14                 exceptions_test \
15                 fs_test \
16                 process_test \
17                 sanity_test \
18                 text_test
19 ATF_TESTS_CXX+= ${_T}
20 SRCS.${_T}=     ${_T}.cpp test_helpers.cpp
21 .endfor
22
23 .for p in version_helper
24 PROGS_CXX+=     ${p}
25 SRCS.${p}=      ${p}.cpp
26 MAN.${p}=       # defined
27 BINDIR.${p}=    ${TESTSDIR}
28 .endfor
29 version_helper.o: atf-version
30
31 .include "../../../common.mk"
32 .include <bsd.test.mk>