xref: /freebsd/lib/csu/tests/dynamiclib/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1*6ec0ee84SAndrew Turner.PATH: ${.CURDIR:H}
2*6ec0ee84SAndrew TurnerCFLAGS+=	-DDSO_BASE
3*6ec0ee84SAndrew TurnerDPADD+=		${.OBJDIR:H}/dso/libh_csu.so
4*6ec0ee84SAndrew TurnerLDFLAGS+=	-Wl,-rpath,${TESTSDIR} -L${.OBJDIR:H}/dso
5*6ec0ee84SAndrew TurnerLDADD+=		-lh_csu
6*6ec0ee84SAndrew Turner
7*6ec0ee84SAndrew Turner.include "../Makefile.tests"
8*6ec0ee84SAndrew Turner
9*6ec0ee84SAndrew Turner.for test in ${ATF_TESTS_C}
10*6ec0ee84SAndrew TurnerATF_TESTS_CXX+=	${test}
11*6ec0ee84SAndrew TurnerSRCS.${test}=	${test}.c
12*6ec0ee84SAndrew Turner.endfor
13*6ec0ee84SAndrew TurnerATF_TESTS_C:=
14*6ec0ee84SAndrew Turner
15*6ec0ee84SAndrew Turner.include <bsd.test.mk>
16