First pass to fix the 'tests' packages.
[freebsd.git] / lib / librt / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 LIB=rt
6 SHLIB_MAJOR= 1
7 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
8 .ifndef NO_THREAD_STACK_UNWIND
9 CFLAGS+=-fexceptions
10 .endif
11 CFLAGS+=-Winline -Wall
12 LIBADD= pthread
13
14 WARNS?= 2
15
16 SRCS+= aio.c mq.c sigev_thread.c timer.c
17
18 PRECIOUSLIB=
19
20 VERSION_DEF=${.CURDIR}/../libc/Versions.def
21 SYMBOL_MAPS=${.CURDIR}/Symbol.map
22
23 .if ${MK_TESTS} != "no"
24 SUBDIR+=        tests
25 .endif
26
27 .include <bsd.lib.mk>