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