1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5LIB=rt
6SHLIB_MAJOR= 1
7CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
8.ifndef NO_THREAD_STACK_UNWIND
9CFLAGS+=-fexceptions
10.endif
11CFLAGS+=-Winline -Wall
12DPADD=	${LIBPTHREAD}
13LDADD=	-lpthread
14
15WARNS?=	2
16
17SRCS+= aio.c mq.c sigev_thread.c timer.c
18
19PRECIOUSLIB=
20
21VERSION_MAP=	${.CURDIR}/Version.map
22
23.if ${MK_TESTS} != "no"
24SUBDIR+=	tests
25.endif
26
27.include <bsd.lib.mk>
28