xref: /freebsd/lib/librt/Makefile (revision bba950fcaffc648d931da9dc07aeb85a1bf86cfc)
1SHLIBDIR?=/lib
2
3.include <src.opts.mk>
4
5PACKAGE=clibs
6LIB=rt
7SHLIB_MAJOR= 1
8CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
9.ifndef NO_THREAD_STACK_UNWIND
10CFLAGS+=-fexceptions
11.endif
12CFLAGS+=-Wall
13LIBADD=	pthread
14
15WARNS?=	2
16
17SRCS+= aio.c mq.c sigev_thread.c timer.c
18
19PRECIOUSLIB=
20
21VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
22SYMBOL_MAPS=${.CURDIR}/Symbol.map
23
24HAS_TESTS=
25SUBDIR.${MK_TESTS}+= tests
26
27.include <bsd.lib.mk>
28