mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
d511b20a69
`SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912.
28 lines
433 B
Makefile
28 lines
433 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=lib${LIB}
|
|
LIB=rt
|
|
SHLIB_MAJOR= 1
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
|
|
.ifndef NO_THREAD_STACK_UNWIND
|
|
CFLAGS+=-fexceptions
|
|
.endif
|
|
CFLAGS+=-Winline -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>
|