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