Cleanup: missing sign compare fixes
[urcu.git] / Makefile.am
index b2f279f2bda1214c5c0f5c39dc7845f9e688be72..4b28966e1577d054714a8671c58e039bd75cf1a8 100644 (file)
@@ -1,50 +1,22 @@
-INCLUDES = -I$(top_builddir)/urcu
+ACLOCAL_AMFLAGS=-I m4
 
-AM_LDFLAGS=-lpthread
+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/system.h urcu/urcu-futex.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-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 = -DRCU_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 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.031624 seconds and 4 git commands to generate.