freebsd-src/lib/librt/Makefile
Jessica Clarke bba950fcaf librt: Hoist SHLIBDIR?= so it actually works
src.opts.mk includes bsd.own.mk, which sets SHLIBDIR, so having this
line after it does nothing. Hoist it like other libraries so it takes
effect.

Reported by:	vishwin
Fixes:		2964804ef9 ("librt: unbreak LIB32 build")
2023-08-28 20:27:50 +01:00

28 lines
423 B
Makefile

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>