1 AM_CPPFLAGS += -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) $(LT_NO_UNDEFINED)
7 dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
8 compat-rand.h urcu-utils.h compat-smp.h
10 COMPAT = compat_arch.c compat_futex.c
12 RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
15 lib_LTLIBRARIES = liburcu-common.la \
16 liburcu.la liburcu-qsbr.la \
17 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
18 liburcu-memb.la liburcu-cds.la
21 # liburcu-common contains wait-free queues (needed by call_rcu) as well
24 liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
26 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
27 liburcu_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
28 liburcu_la_LIBADD = liburcu-common.la
30 liburcu_memb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
31 liburcu_memb_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
32 liburcu_memb_la_LIBADD = liburcu-common.la
34 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
35 liburcu_qsbr_la_CFLAGS = -DRCU_QSBR $(AM_CFLAGS)
36 liburcu_qsbr_la_LIBADD = liburcu-common.la
38 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
39 liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
40 liburcu_mb_la_LIBADD = liburcu-common.la
42 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
43 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
44 liburcu_signal_la_LIBADD = liburcu-common.la
46 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
47 liburcu_bp_la_LIBADD = liburcu-common.la
49 liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
50 workqueue.c workqueue.h $(RCULFHASH) $(COMPAT)
51 liburcu_cds_la_LIBADD = liburcu-common.la
53 pkgconfigdir = $(libdir)/pkgconfig
54 pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
55 liburcu-signal.pc liburcu-mb.pc liburcu-memb.pc
58 urcu-call-rcu-impl.h \