uatomic/x86: Remove redundant memory barriers
[urcu.git] / Makefile.am
index c67fd366bbf7e1b320b11eac240a36558eb0277d..539a2ca3ad34c2aa7ddc84b075ce7666d4a6d550 100644 (file)
@@ -1,51 +1,37 @@
-ACLOCAL_AMFLAGS=-I m4
-INCLUDES = -I$(top_builddir)/urcu
-
-AM_LDFLAGS=-lpthread
-
-SUBDIRS = . tests
-
-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
-
-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
-
-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
+# SPDX-FileCopyrightText: 2023 EfficiOS Inc.
+#
+# SPDX-License-Identifier: MIT
 
-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
+ACLOCAL_AMFLAGS=-I m4
 
-clean-local:
-       rm -f urcu/arch.h urcu/uatomic_arch.h
+SUBDIRS = include src doc tests extras
+
+dist_doc_DATA = \
+       LICENSE.md \
+       README.md
+
+EXTRA_DIST = \
+       CodingStyle.md \
+       lgpl-relicensing.md \
+       LICENSES/Autoconf-exception-2.0.txt \
+       LICENSES/BSD-2-Clause.txt \
+       LICENSES/CC0-1.0.txt \
+       LICENSES/CC-BY-4.0.txt \
+       LICENSES/FSFAP.txt \
+       LICENSES/GPL-2.0-only.txt \
+       LICENSES/GPL-2.0-or-later.txt \
+       LICENSES/LGPL-2.1-only.txt \
+       LICENSES/LGPL-2.1-or-later.txt \
+       LICENSES/LicenseRef-Autoconf-exception-macro.txt \
+       LICENSES/LicenseRef-Boehm-GC.txt \
+       LICENSES/MIT.txt
+
+.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.022982 seconds and 4 git commands to generate.