d26727d972
`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>
|