xref: /freebsd/lib/atf/libatf-c++/tests/detail/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <bsd.init.mk>
2
3TESTSDIR=	${TESTSBASE}/lib/atf/libatf-c++/detail
4
5ATF=		${SRCTOP}/contrib/atf
6.PATH:		${ATF}/atf-c++/detail
7
8CFLAGS+=	-DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
9CFLAGS+=	-DATF_INCLUDEDIR='"${INCLUDEDIR}"'
10CFLAGS+=	-I${ATF}
11
12.for _T in	application_test \
13		env_test \
14		exceptions_test \
15		fs_test \
16		process_test \
17		text_test
18ATF_TESTS_CXX+=	${_T}
19SRCS.${_T}=	${_T}.cpp test_helpers.cpp
20.endfor
21
22.for p in version_helper
23PROGS_CXX+=	${p}
24SRCS.${p}=	${p}.cpp
25MAN.${p}=	# defined
26BINDIR.${p}=	${TESTSDIR}
27.endfor
28version_helper.o: atf-version
29
30.include "../../../common.mk"
31.include <bsd.test.mk>
32