1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src
3 #Add the -version-info directly here since we are only building
4 # library that use the version-info
5 AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION)
7 AM_LDFLAGS+=-no-undefined
11 include_HEADERS = urcu.h urcu-bp.h urcu-call-rcu.h urcu-defer.h \
12 urcu-pointer.h urcu-qsbr.h urcu-flavor.h
14 dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
19 COMPAT=compat_arch_@ARCHTYPE@.c
24 COMPAT+=compat_futex.c
26 RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
29 RCUJA = rcuja.c rcuja-shadow-nodes.c rcuja-internal.h
31 lib_LTLIBRARIES = liburcu-common.la \
32 liburcu.la liburcu-qsbr.la \
33 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
37 # liburcu-common contains wait-free queues (needed by call_rcu) as well
40 liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
42 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
43 liburcu_la_LIBADD = liburcu-common.la
45 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
46 liburcu_qsbr_la_LIBADD = liburcu-common.la
48 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
49 liburcu_mb_la_CFLAGS = -DRCU_MB
50 liburcu_mb_la_LIBADD = liburcu-common.la
52 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
53 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
54 liburcu_signal_la_LIBADD = liburcu-common.la
56 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
57 liburcu_bp_la_LIBADD = liburcu-common.la
59 liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
60 $(RCULFHASH) $(RCUJA) $(COMPAT)
61 liburcu_cds_la_LIBADD = liburcu-common.la
63 pkgconfigdir = $(libdir)/pkgconfig
64 pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
65 liburcu-signal.pc liburcu-mb.pc
67 EXTRA_DIST = compat_arch_x86.c \
68 urcu-call-rcu-impl.h \