Cleanup: missing sign compare fixes
[urcu.git] / Makefile.am
index 4b70644a9a82a9e94f887bb29da5c12c4b7f5a7f..4b28966e1577d054714a8671c58e039bd75cf1a8 100644 (file)
@@ -1,56 +1,22 @@
-INCLUDES = -I$(top_builddir)/urcu
+ACLOCAL_AMFLAGS=-I m4
 
-AM_LDFLAGS=-lpthread
-AM_CFLAGS=-Wall
+SUBDIRS = include src doc tests
 
-SUBDIRS = . tests
+dist_doc_DATA = LICENSE \
+               README.md
 
-include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
-nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
-               urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/urcu-futex.h \
-               urcu/uatomic_generic.h urcu/arch_generic.h urcu/wfstack.h \
-               urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
-               urcu/wfqueue-static.h urcu/wfstack-static.h \
-               urcu/rculfqueue-static.h urcu/rculfstack-static.h \
-               urcu/urcu_ref.h
-nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
+dist_noinst_DATA = CodingStyle
 
-EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
-               gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
-               README LICENSE compat_arch_x86.c
+EXTRA_DIST = gpl-2.0.txt \
+       lgpl-2.1.txt \
+       lgpl-relicensing.txt
 
-if COMPAT_ARCH
-COMPAT=compat_arch_@ARCHTYPE@.c
-else
-COMPAT=
-endif
-
-if COMPAT_FUTEX
-COMPAT+=compat_futex.c
-endif
-
-lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
-                 liburcu-bp.la liburcu-defer.la \
-                 libwfqueue.la libwfstack.la librculfqueue.la librculfstack.la
-
-liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
-
-liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
-
-liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
-liburcu_mb_la_CFLAGS = -DRCU_MB
-
-liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
-liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
-
-liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
-
-liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
-
-libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
-libwfstack_la_SOURCES = wfstack.c $(COMPAT)
-librculfqueue_la_SOURCES = rculfqueue.c $(COMPAT)
-librculfstack_la_SOURCES = rculfstack.c $(COMPAT)
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = liburcu.pc liburcu-bp.pc
\ No newline at end of file
+.PHONY: short_bench long_bench regtest check-loop
+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
+check-loop:
+       cd tests && $(MAKE) $(AM_MAKEFLAGS) check-loop
This page took 0.032042 seconds and 4 git commands to generate.