2 INCLUDES = -I$(top_builddir)/urcu
8 include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9 nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
10 urcu/rculist.h urcu/system.h urcu/urcu-futex.h
11 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
13 EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
14 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
15 README LICENSE compat_arch_x86.c
18 COMPAT=compat_arch_@ARCHTYPE@.c
24 COMPAT+=compat_futex.c
27 lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
29 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
31 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
32 liburcu_mb_la_CFLAGS = -DURCU_MB
34 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
36 liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
38 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
40 $(top_srcdir)/*.h $(top_srcdir)/*.c: urcu/arch.h urcu/uatomic_arch.h
42 urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
43 $(MKDIR_P) $(top_builddir)/urcu
44 cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
46 urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
47 $(MKDIR_P) $(top_builddir)/urcu
48 cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
51 rm -f urcu/arch.h urcu/uatomic_arch.h