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_INCLUDEDIR='"${INCLUDEDIR}"'
9CFLAGS+=	-I${ATF}
10
11.for _T in	dynstr_test \
12		env_test \
13		fs_test \
14		list_test \
15		map_test \
16		process_test \
17		sanity_test \
18		text_test \
19		user_test
20ATF_TESTS_C+=	${_T}
21SRCS.${_T}=	${_T}.c test_helpers.c
22.endfor
23
24.for p in process_helpers version_helper
25PROGS+=		${p}
26SRCS.${p}=	${p}.c
27MAN.${p}=	# defined
28BINDIR.${p}=	${TESTSDIR}
29.endfor
30version_helper.o: atf-version
31
32.include "../../../common.mk"
33.include <bsd.test.mk>
34