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
10 dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
11 compat-rand.h urcu-utils.h
14 COMPAT=compat_arch_@ARCHTYPE@.c
19 COMPAT+=compat_futex.c
21 RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
24 lib_LTLIBRARIES = liburcu-common.la \
25 liburcu.la liburcu-qsbr.la \
26 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
27 liburcu-memb.la liburcu-cds.la
30 # liburcu-common contains wait-free queues (needed by call_rcu) as well
33 liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
35 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
36 liburcu_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
37 liburcu_la_LIBADD = liburcu-common.la
39 liburcu_memb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
40 liburcu_memb_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
41 liburcu_memb_la_LIBADD = liburcu-common.la
43 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
44 liburcu_qsbr_la_CFLAGS = -DRCU_QSBR $(AM_CFLAGS)
45 liburcu_qsbr_la_LIBADD = liburcu-common.la
47 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48 liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
49 liburcu_mb_la_LIBADD = liburcu-common.la
51 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
52 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
53 liburcu_signal_la_LIBADD = liburcu-common.la
55 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
56 liburcu_bp_la_LIBADD = liburcu-common.la
58 liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
59 workqueue.c workqueue.h $(RCULFHASH) $(COMPAT)
60 liburcu_cds_la_LIBADD = liburcu-common.la
62 pkgconfigdir = $(libdir)/pkgconfig
63 pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
64 liburcu-signal.pc liburcu-mb.pc
66 EXTRA_DIST = compat_arch_x86.c \
67 urcu-call-rcu-impl.h \