Cleanup test rbtree makefile
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 4 Sep 2011 23:01:12 +0000 (19:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 4 Sep 2011 23:01:12 +0000 (19:01 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/Makefile.am

index 51e961ce82b8816689eccbf61e03b3692b15ddad..8295b495afb586f272b7f5f4e2111cf775d82e2c 100644 (file)
@@ -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
 
This page took 0.02574 seconds and 4 git commands to generate.