projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Android: do not link pthread on Android
[userspace-rcu.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 0a4d357a846b6f628fa279437609d4d8f6eccc1e..581c00d186e757c905dd105eb5c2a1491cc0314d 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-4,7
+4,10
@@
INCLUDES = -I$(top_builddir)/urcu
#Add the -version-info directly here since we are only building
# library that use the version-info
#Add the -version-info directly here since we are only building
# library that use the version-info
-AM_LDFLAGS=-lpthread -version-info $(URCU_LIBRARY_VERSION)
+AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION)
+if !TARGET_IS_ANDROID
+AM_LDFLAGS+=-lpthread
+endif
AM_CFLAGS=-Wall
SUBDIRS = . doc tests
AM_CFLAGS=-Wall
SUBDIRS = . doc tests
@@
-29,8
+32,7
@@
EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \
gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
LICENSE compat_arch_x86.c \
urcu-call-rcu-impl.h urcu-defer-impl.h \
gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
LICENSE compat_arch_x86.c \
urcu-call-rcu-impl.h urcu-defer-impl.h \
- rculfhash-internal.h \
- $(top_srcdir)/tests/*.sh
+ rculfhash-internal.h
if COMPAT_ARCH
COMPAT=compat_arch_@ARCHTYPE@.c
if COMPAT_ARCH
COMPAT=compat_arch_@ARCHTYPE@.c
@@
-84,3
+86,9
@@
pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
dist_doc_DATA = README ChangeLog
dist_noinst_DATA = CodingStyle
dist_doc_DATA = README ChangeLog
dist_noinst_DATA = CodingStyle
+
+.PHONY: bench regtest
+bench:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) bench
+regtest:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) regtest
This page took
0.025564 seconds
and
4
git commands to generate.