* Discourage use of pthread_atfork() for call_rcu handlers * Fix call_rcu fork handling * test: fork handling * Fix TLS detection: test with linker, add --disable-compiler-tls * Cleanup: cast pthread_self() return value to unsigned long * Fallback mechanism not working on platform where TLS is unsupported
29 lines
746 B
Makefile
29 lines
746 B
Makefile
# $NetBSD: Makefile,v 1.4 2013/03/15 23:49:57 pettai Exp $
|
|
#
|
|
|
|
DISTNAME= userspace-rcu-0.7.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://lttng.org/files/urcu/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://lttng.org/urcu
|
|
COMMENT= Userspace RCU (Read Copy Update)
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
# liburcu requires TLS support, thus,
|
|
# only NetBSD-6 or later is supported
|
|
NOT_FOR_PLATFORM= NetBSD-[0-5]*-*
|
|
|
|
PKGCONFIG_OVERRIDE+= liburcu-bp.pc.in
|
|
PKGCONFIG_OVERRIDE+= liburcu-cds.pc.in
|
|
PKGCONFIG_OVERRIDE+= liburcu-mb.pc.in
|
|
PKGCONFIG_OVERRIDE+= liburcu-qsbr.pc.in
|
|
PKGCONFIG_OVERRIDE+= liburcu-signal.pc.in
|
|
PKGCONFIG_OVERRIDE+= liburcu.pc.in
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|