xref: /minix3/tests/lib/libpthread/Makefile (revision 11be35a165022172ed3cea20f2b5df0307540b0e)
1*11be35a1SLionel Sambuc# $NetBSD: Makefile,v 1.11 2013/04/12 17:18:11 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
8*11be35a1SLionel SambucLDADD+=		-lpthread
9*11be35a1SLionel SambucLDADD.t_fpu+=	-lm
10*11be35a1SLionel Sambuc
11*11be35a1SLionel Sambuc.include "${.PARSEDIR}/../csu/Makefile.check_stack"
12*11be35a1SLionel Sambuc
13*11be35a1SLionel SambucSRCS.t_join=	t_join.c ${SRCS_CHECK_STACK}
14*11be35a1SLionel SambucCPPFLAGS.t_join.c+=	${CPPFLAGS_CHECK_STACK}
15*11be35a1SLionel SambucCPPFLAGS.t_condwait.c+=	-I${.CURDIR}/../libc/gen
16*11be35a1SLionel Sambuc
17*11be35a1SLionel SambucTESTS_SH+=	t_atexit
18*11be35a1SLionel SambucTESTS_C+=	t_barrier
19*11be35a1SLionel SambucTESTS_SH+=	t_cancel
20*11be35a1SLionel SambucTESTS_C+=	t_cond
21*11be35a1SLionel SambucTESTS_C+=	t_condwait
22*11be35a1SLionel SambucTESTS_C+=	t_detach
23*11be35a1SLionel SambucTESTS_C+=	t_equal
24*11be35a1SLionel SambucTESTS_SH+=	t_exit
25*11be35a1SLionel SambucTESTS_C+=	t_fork
26*11be35a1SLionel SambucTESTS_C+=	t_fpu
27*11be35a1SLionel SambucTESTS_C+=	t_join
28*11be35a1SLionel SambucTESTS_C+=	t_kill
29*11be35a1SLionel SambucTESTS_C+=	t_mutex
30*11be35a1SLionel SambucTESTS_C+=	t_name
31*11be35a1SLionel SambucTESTS_C+=	t_once
32*11be35a1SLionel SambucTESTS_C+=	t_preempt
33*11be35a1SLionel SambucTESTS_SH+=	t_resolv
34*11be35a1SLionel SambucTESTS_C+=	t_rwlock
35*11be35a1SLionel SambucTESTS_C+=	t_sem
36*11be35a1SLionel SambucTESTS_C+=	t_sigmask
37*11be35a1SLionel SambucTESTS_C+=	t_sigsuspend
38*11be35a1SLionel SambucTESTS_C+=	t_siglongjmp
39*11be35a1SLionel SambucTESTS_C+=	t_sleep
40*11be35a1SLionel SambucTESTS_C+=	t_swapcontext
41*11be35a1SLionel Sambuc
42*11be35a1SLionel SambucLDADD.t_sem+=	-lrt
43*11be35a1SLionel Sambuc
44*11be35a1SLionel SambucBINDIR=		${TESTSDIR}
45*11be35a1SLionel SambucPROGS=		h_atexit
46*11be35a1SLionel SambucPROGS+=		h_cancel
47*11be35a1SLionel SambucPROGS+=		h_exit
48*11be35a1SLionel SambucPROGS+=		h_resolv
49*11be35a1SLionel Sambuc
50*11be35a1SLionel SambucFILESDIR=	${TESTSDIR}
51*11be35a1SLionel SambucFILES=		d_mach
52*11be35a1SLionel Sambuc
53*11be35a1SLionel SambucSUBDIR=		dlopen
54*11be35a1SLionel Sambuc
55*11be35a1SLionel Sambuc.include <bsd.test.mk>
56