LOAD_SHARED and STORE_SHARED should have CMM_ prefix
[urcu.git] / Makefile.am
CommitLineData
48d848c7
PMF
1INCLUDES = -I$(top_builddir)/urcu
2
3AM_LDFLAGS=-lpthread
4
c96a3726 5SUBDIRS = . tests
48d848c7
PMF
6
7include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
0854ccff 8nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
8760d94e 9 urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/urcu-futex.h \
cb3f3d6b 10 urcu/uatomic_generic.h urcu/arch_generic.h urcu/wfstack.h \
3d02c34d
MD
11 urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
12 urcu/wfqueue-static.h urcu/wfstack-static.h \
04e3eaa9
MD
13 urcu/rculfqueue-static.h urcu/rculfstack-static.h \
14 urcu/urcu_ref.h
0854ccff 15nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
48d848c7 16
7d413817
MD
17EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
18 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
19 README LICENSE compat_arch_x86.c
20
21if COMPAT_ARCH
22COMPAT=compat_arch_@ARCHTYPE@.c
23else
24COMPAT=
25endif
26
0854ccff
MD
27if COMPAT_FUTEX
28COMPAT+=compat_futex.c
29endif
48d848c7 30
4d001e96 31lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
3d02c34d 32 liburcu-bp.la liburcu-defer.la libwfqueue.la libwfstack.la \
b6a37eac 33 librculfqueue.la librculfstack.la
48d848c7 34
7d413817 35liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48d848c7 36
fdf01eed
MD
37liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
38
7d413817 39liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
02be5561 40liburcu_mb_la_CFLAGS = -DRCU_MB
48d848c7 41
fdf01eed
MD
42liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
43liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
44
7d413817 45liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
48d848c7 46
7d413817 47liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
4d001e96
MD
48
49libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
294d3396 50libwfstack_la_SOURCES = wfstack.c $(COMPAT)
3d02c34d 51librculfqueue_la_SOURCES = rculfqueue.c $(COMPAT)
b6a37eac 52librculfstack_la_SOURCES = rculfstack.c $(COMPAT)
This page took 0.025579 seconds and 4 git commands to generate.