2006-03-01 06:37:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-11-16 07:03:19 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2006-03-01 06:37:34 +00:00
|
|
|
LIB=rt
|
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
CFLAGS+=-I${.CURDIR}/../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=
|
|
|
|
|
2007-04-29 14:01:45 +00:00
|
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
|
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>
|