Implement urcu workqueues internal API
[urcu.git] / src / Makefile.am
CommitLineData
9a79c612 1AM_CPPFLAGS += -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src
6893800a
MJ
2
3#Add the -version-info directly here since we are only building
4# library that use the version-info
5AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION)
6if USE_CYGWIN
7AM_LDFLAGS+=-no-undefined
8endif
6893800a
MJ
9
10include_HEADERS = urcu.h urcu-bp.h urcu-call-rcu.h urcu-defer.h \
11 urcu-pointer.h urcu-qsbr.h urcu-flavor.h
12
094c8c59
MJ
13dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
14 compat-rand.h
6893800a
MJ
15
16
17if COMPAT_ARCH
18COMPAT=compat_arch_@ARCHTYPE@.c
19else
20COMPAT=
21endif
22
23COMPAT+=compat_futex.c
24
25RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
26 rculfhash-mm-mmap.c
27
28lib_LTLIBRARIES = liburcu-common.la \
29 liburcu.la liburcu-qsbr.la \
30 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
31 liburcu-cds.la
32
33#
34# liburcu-common contains wait-free queues (needed by call_rcu) as well
35# as futex fallbacks.
36#
37liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
38
39liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
40liburcu_la_LIBADD = liburcu-common.la
41
42liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
43liburcu_qsbr_la_LIBADD = liburcu-common.la
44
45liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 46liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
6893800a
MJ
47liburcu_mb_la_LIBADD = liburcu-common.la
48
49liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 50liburcu_signal_la_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
6893800a
MJ
51liburcu_signal_la_LIBADD = liburcu-common.la
52
53liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
54liburcu_bp_la_LIBADD = liburcu-common.la
55
56liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
ccacf27f 57 workqueue.c workqueue.h $(RCULFHASH) $(COMPAT)
6893800a
MJ
58liburcu_cds_la_LIBADD = liburcu-common.la
59
60pkgconfigdir = $(libdir)/pkgconfig
61pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
62 liburcu-signal.pc liburcu-mb.pc
63
64EXTRA_DIST = compat_arch_x86.c \
65 urcu-call-rcu-impl.h \
66 urcu-defer-impl.h \
67 rculfhash-internal.h
This page took 0.035489 seconds and 4 git commands to generate.