6dbde50a7e
librt implement the POSIX realtime extension library. Move it to clibs instead of utilities as a number of ports uses it so avoid a dependancy on FreeBSD-utilities. MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D30088
28 lines
420 B
Makefile
28 lines
420 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=clibs
|
|
LIB=rt
|
|
SHLIB_MAJOR= 1
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
|
|
.ifndef NO_THREAD_STACK_UNWIND
|
|
CFLAGS+=-fexceptions
|
|
.endif
|
|
CFLAGS+=-Wall
|
|
LIBADD= pthread
|
|
|
|
WARNS?= 2
|
|
|
|
SRCS+= aio.c mq.c sigev_thread.c timer.c
|
|
|
|
PRECIOUSLIB=
|
|
|
|
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
|
|
SYMBOL_MAPS=${.CURDIR}/Symbol.map
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.lib.mk>
|