From: Mathieu Desnoyers Date: Tue, 14 Jan 2014 17:24:29 +0000 (-0500) Subject: tests urcu bp: use lib rather than recompile source X-Git-Tag: v0.8.2~11 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=3283bbe3f601910ca68771f8aeb8edb84fc726f0 tests urcu bp: use lib rather than recompile source Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/benchmark/Makefile.am b/tests/benchmark/Makefile.am index 4f815a0..e14cac0 100644 --- a/tests/benchmark/Makefile.am +++ b/tests/benchmark/Makefile.am @@ -35,7 +35,6 @@ URCU=$(top_srcdir)/urcu.c $(top_srcdir)/urcu-pointer.c $(top_srcdir)/wfcqueue.c URCU_MB=$(top_srcdir)/urcu.c $(top_srcdir)/urcu-pointer.c $(top_srcdir)/wfcqueue.c $(COMPAT) # URCU_SIGNAL uses urcu.c but -DRCU_SIGNAL must be defined URCU_SIGNAL=$(top_srcdir)/urcu.c $(top_srcdir)/urcu-pointer.c $(top_srcdir)/wfcqueue.c $(COMPAT) -URCU_BP=$(top_srcdir)/urcu-bp.c $(top_srcdir)/urcu-pointer.c $(top_srcdir)/wfcqueue.c $(COMPAT) URCU_COMMON_LIB=$(top_builddir)/liburcu-common.la URCU_LIB=$(top_builddir)/liburcu.la @@ -132,9 +131,11 @@ test_urcu_assign_SOURCES = test_urcu_assign.c $(URCU) test_urcu_assign_dynamic_link_SOURCES = test_urcu_assign.c $(URCU) test_urcu_assign_dynamic_link_CFLAGS = -DDYNAMIC_LINK_TEST $(AM_CFLAGS) -test_urcu_bp_SOURCES = test_urcu_bp.c $(URCU_BP) +test_urcu_bp_SOURCES = test_urcu_bp.c +test_urcu_bp_LDADD = $(URCU_BP_LIB) -test_urcu_bp_dynamic_link_SOURCES = test_urcu_bp.c $(URCU_BP) +test_urcu_bp_dynamic_link_SOURCES = test_urcu_bp.c +test_urcu_bp_dynamic_link_LDADD = $(URCU_BP_LIB) test_urcu_bp_dynamic_link_CFLAGS = -DDYNAMIC_LINK_TEST $(AM_CFLAGS) test_urcu_lfq_SOURCES = test_urcu_lfq.c $(URCU)