]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - lib/atf/libatf-c++/tests/detail/Makefile
MFC r289172,r290254:
[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=            ${SRCTOP}/contrib/atf
8 .PATH:          ${ATF}/atf-c++/detail
9
10 CFLAGS+=        -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
11 CFLAGS+=        -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
12 CFLAGS+=        -I${ATF}
13
14 .for _T in      application_test \
15                 env_test \
16                 exceptions_test \
17                 fs_test \
18                 process_test \
19                 text_test
20 ATF_TESTS_CXX+= ${_T}
21 SRCS.${_T}=     ${_T}.cpp test_helpers.cpp
22 .endfor
23
24 .for p in version_helper
25 PROGS_CXX+=     ${p}
26 SRCS.${p}=      ${p}.cpp
27 MAN.${p}=       # defined
28 BINDIR.${p}=    ${TESTSDIR}
29 .endfor
30 version_helper.o: atf-version
31
32 .include "../../../common.mk"
33 .include <bsd.test.mk>