HardenedBSD/lib/librt/Makefile
2023-08-28 18:03:58 -06:00

30 lines
440 B
Makefile

SHLIBDIR?=/lib
SHLIBDIR?= /lib
.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>