From: Mathieu Desnoyers Date: Thu, 18 Jun 2009 13:33:12 +0000 (-0400) Subject: Update makefile X-Git-Tag: v0.1~142 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2a67ec322b40544b9e4fc5f138629a65b4f20352;p=urcu.git Update makefile Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 02d3b27..3d1c18f 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,8 @@ all: checkarch test_urcu test_urcu_dynamic_link test_urcu_timing \ test_rwlock_timing test_rwlock test_perthreadlock_timing \ test_perthreadlock test_urcu_yield test_urcu_mb \ urcu-asm.S test_qsbr_timing test_qsbr urcu-asm.o urcutorture \ - urcutorture-yield liburcu.so test_mutex test_looplen + urcutorture-yield liburcu.so test_mutex test_looplen test_urcu_gc \ + test_urcu_gc_mb test_qsbr_gc checkarch: ifeq (${ARCHTYPE},) @@ -63,9 +64,18 @@ test_looplen: test_looplen.c urcu.h test_urcu_mb: urcu-mb.o test_urcu.c urcu.h $(CC) -DDEBUG_FULL_MB ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) +test_urcu_gc: urcu-mb.o test_urcu_gc.c urcu.h + $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) + +test_urcu_gc_mb: urcu-mb.o test_urcu_gc.c urcu.h + $(CC) -DDEBUG_FULL_MB ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) + test_qsbr: urcu-qsbr.o test_qsbr.c urcu-qsbr.h $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) +test_qsbr_gc: urcu-qsbr.o test_qsbr_gc.c urcu-qsbr.h + $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) + test_rwlock: urcu.o test_rwlock.c urcu.h $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) @@ -132,5 +142,5 @@ clean: test_perthreadlock test_urcu_yield test_urcu_mb \ urcu-asm.S test_qsbr_timing test_qsbr urcutorture \ urcutorture-yield liburcu.so api.h arch.h arch_atomic.h \ - test_mutex + test_mutex test_urcu_gc test_urcu_gc_mb