2006-03-01 06:37:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-11-16 07:03:19 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2006-03-01 06:37:34 +00:00
|
|
|
LIB=rt
|
|
|
|
SHLIB_MAJOR= 1
|
2017-01-20 04:36:06 +00:00
|
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
|
2010-09-25 01:57:47 +00:00
|
|
|
.ifndef NO_THREAD_STACK_UNWIND
|
|
|
|
CFLAGS+=-fexceptions
|
|
|
|
.endif
|
2011-02-23 21:17:38 +00:00
|
|
|
CFLAGS+=-Winline -Wall
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD= pthread
|
2006-03-01 06:37:34 +00:00
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2006-03-01 06:37:34 +00:00
|
|
|
SRCS+= aio.c mq.c sigev_thread.c timer.c
|
|
|
|
|
|
|
|
PRECIOUSLIB=
|
|
|
|
|
2017-01-20 04:36:06 +00:00
|
|
|
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
|
2015-11-29 06:14:51 +00:00
|
|
|
SYMBOL_MAPS=${.CURDIR}/Symbol.map
|
2007-04-29 14:01:45 +00:00
|
|
|
|
2015-04-27 06:49:27 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
SUBDIR+= tests
|
|
|
|
.endif
|
2014-11-16 07:03:19 +00:00
|
|
|
|
2006-03-01 06:37:34 +00:00
|
|
|
.include <bsd.lib.mk>
|