cds containers: lfqueue and lfstack: don't depend on a particular rcu flavor
[urcu.git] / Makefile.am
... / ...
CommitLineData
1INCLUDES = -I$(top_builddir)/urcu
2
3AM_LDFLAGS=-lpthread
4AM_CFLAGS=-Wall
5
6SUBDIRS = . tests
7
8include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
10 urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/urcu-futex.h \
11 urcu/uatomic_generic.h urcu/arch_generic.h urcu/wfstack.h \
12 urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
13 urcu/wfqueue-static.h urcu/wfstack-static.h \
14 urcu/rculfqueue-static.h urcu/rculfstack-static.h \
15 urcu/urcu_ref.h
16nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
17
18EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
19 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
20 README LICENSE compat_arch_x86.c
21
22if COMPAT_ARCH
23COMPAT=compat_arch_@ARCHTYPE@.c
24else
25COMPAT=
26endif
27
28if COMPAT_FUTEX
29COMPAT+=compat_futex.c
30endif
31
32lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
33 liburcu-bp.la \
34 libwfqueue.la libwfstack.la librculfqueue.la librculfstack.la
35
36liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
37liburcu_la_LIBADD = -lwfqueue
38liburcu_la_DEPENDENCIES = libwfqueue.la
39
40liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
41liburcu_qsbr_la_LIBADD = -lwfqueue
42liburcu_qsbr_la_DEPENDENCIES = libwfqueue.la
43
44liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
45liburcu_mb_la_CFLAGS = -DRCU_MB
46liburcu_mb_la_LIBADD = -lwfqueue
47liburcu_mb_la_DEPENDENCIES = libwfqueue.la
48
49liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
50liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
51liburcu_signal_la_LIBADD = -lwfqueue
52liburcu_signal_la_DEPENDENCIES = libwfqueue.la
53
54liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
55liburcu_bp_la_CFLAGS = -lwfqueue
56liburcu_bp_la_DEPENDENCIES = libwfqueue.la
57
58libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
59libwfstack_la_SOURCES = wfstack.c $(COMPAT)
60librculfqueue_la_SOURCES = rculfqueue.c $(COMPAT)
61librculfstack_la_SOURCES = rculfstack.c $(COMPAT)
62
63pkgconfigdir = $(libdir)/pkgconfig
64pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
65 liburcu-signal.pc liburcu-mb.pc
This page took 0.029078 seconds and 4 git commands to generate.