74604ed9c4
for them, two functions _pthread_cancel_enter and _pthread_cancel_leave are added to let thread enter and leave a cancellation point, it also makes it possible that other functions can be cancellation points in libraries without having to be rewritten in libthr.
22 lines
335 B
Makefile
22 lines
335 B
Makefile
# $FreeBSD$
|
|
|
|
LIB=rt
|
|
SHLIB_MAJOR= 1
|
|
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
|
|
.ifndef NO_THREAD_STACK_UNWIND
|
|
CFLAGS+=-fexceptions
|
|
.endif
|
|
CFLAGS+=-Winline -Wall -g
|
|
DPADD= ${LIBPTHREAD}
|
|
LDADD= -lpthread
|
|
|
|
WARNS?= 2
|
|
|
|
SRCS+= aio.c mq.c sigev_thread.c timer.c
|
|
|
|
PRECIOUSLIB=
|
|
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
.include <bsd.lib.mk>
|