xref: /minix3/tests/lib/libpthread/dlopen/Makefile (revision 11be35a165022172ed3cea20f2b5df0307540b0e)
1*11be35a1SLionel Sambuc# $NetBSD: Makefile,v 1.1 2013/03/21 16:50:21 christos Exp $
2*11be35a1SLionel Sambuc
3*11be35a1SLionel SambucNOMAN=		# defined
4*11be35a1SLionel Sambuc
5*11be35a1SLionel Sambuc.include <bsd.own.mk>
6*11be35a1SLionel Sambuc
7*11be35a1SLionel SambucTESTSDIR=	${TESTSBASE}/lib/libpthread/dlopen
8*11be35a1SLionel SambucCPPFLAGS+=	-DTESTDIR=\"${TESTSDIR:Q}/\"
9*11be35a1SLionel SambucRPATH=-Wl,-rpath=${TESTDIR}
10*11be35a1SLionel Sambuc
11*11be35a1SLionel SambucLDADD+=${RPATH}
12*11be35a1SLionel Sambuc
13*11be35a1SLionel Sambuc.if (${MKPIC:Uno} != "no")
14*11be35a1SLionel SambucSUBDIR+=	dso
15*11be35a1SLionel SambucTESTS_C+=	t_dlopen
16*11be35a1SLionel SambucTESTS_C+=	t_main_pthread_create
17*11be35a1SLionel SambucLDADD.t_main_pthread_create+=-lpthread
18*11be35a1SLionel SambucPDADD.t_main_pthread_create+=${LIBPTHREAD}
19*11be35a1SLionel SambucTESTS_C+=	t_dso_pthread_create
20*11be35a1SLionel Sambuc.endif
21*11be35a1SLionel Sambuc
22*11be35a1SLionel Sambuc.include <bsd.test.mk>
23