From: Mathieu Desnoyers Date: Sun, 4 Sep 2011 23:01:12 +0000 (-0400) Subject: Cleanup test rbtree makefile X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9a01c579b3246739ffe2a7ffc146cb902c81c66e;p=userspace-rcu.git Cleanup test rbtree makefile Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 51e961c..8295b49 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -45,8 +45,7 @@ URCU_MB_LIB=$(top_builddir)/liburcu-mb.la URCU_SIGNAL_LIB=$(top_builddir)/liburcu-signal.la URCU_BP_LIB=$(top_builddir)/liburcu-bp.la URCU_CDS_LIB=$(top_builddir)/liburcu-cds.la - -URCU_RBTREE=$(URCU) $(top_srcdir)/urcu-rbtree.c +URCU_RBTREE_LIB=$(top_builddir)/liburcu-rbtree.la EXTRA_DIST = $(top_srcdir)/tests/api.h runall.sh @@ -178,7 +177,10 @@ test_urcu_wfs_dynlink_SOURCES = test_urcu_wfs.c test_urcu_wfs_dynlink_CFLAGS = -DDYNAMIC_LINK_TEST $(AM_CFLAGS) test_urcu_wfs_dynlink_LDADD = $(URCU_COMMON_LIB) -test_urcu_rbtree_SOURCES = test_urcu_rbtree.c $(URCU_RBTREE) +test_urcu_rbtree_SOURCES = test_urcu_rbtree.c +test_urcu_rbtree_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS) +test_urcu_rbtree_LDADD = $(URCU_RBTREE_LIB) $(URCU_LIB) + urcutorture.c: api.h