-if COMPAT_ARCH
-COMPAT=compat_arch_@ARCHTYPE@.c
-else
-COMPAT=
-endif
-
-if COMPAT_FUTEX
-COMPAT+=compat_futex.c
-endif
-
-lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
-
-liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
-
-liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
-liburcu_mb_la_CFLAGS = -DURCU_MB
-
-liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
-
-liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
-
-liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
-
-$(top_srcdir)/*.h $(top_srcdir)/*.c: urcu/arch.h urcu/uatomic_arch.h
-
-urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
- $(MKDIR_P) $(top_builddir)/urcu
- cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
-
-urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
- $(MKDIR_P) $(top_builddir)/urcu
- cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
-
-clean-local:
- rm -f urcu/arch.h urcu/uatomic_arch.h
+.PHONY: short_bench long_bench regtest
+short_bench:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) short_bench
+long_bench:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) long_bench
+regtest:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) regtest