Fix get_cycles -> caa_get_cycles
[urcu.git] / Makefile.am
1 INCLUDES = -I$(top_builddir)/urcu
2
3 AM_LDFLAGS=-lpthread
4
5 SUBDIRS = . tests
6
7 include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
8 nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
9 urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/urcu-futex.h \
10 urcu/uatomic_generic.h urcu/arch_generic.h urcu/wfstack.h \
11 urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
12 urcu/wfqueue-static.h urcu/wfstack-static.h \
13 urcu/rculfqueue-static.h urcu/rculfstack-static.h \
14 urcu/urcu_ref.h
15 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
16
17 EXTRA_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
21 if COMPAT_ARCH
22 COMPAT=compat_arch_@ARCHTYPE@.c
23 else
24 COMPAT=
25 endif
26
27 if COMPAT_FUTEX
28 COMPAT+=compat_futex.c
29 endif
30
31 lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
32 liburcu-bp.la liburcu-defer.la libwfqueue.la libwfstack.la \
33 librculfqueue.la librculfstack.la
34
35 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
36
37 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
38
39 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
40 liburcu_mb_la_CFLAGS = -DRCU_MB
41
42 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
43 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
44
45 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
46
47 liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
48
49 libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
50 libwfstack_la_SOURCES = wfstack.c $(COMPAT)
51 librculfqueue_la_SOURCES = rculfqueue.c $(COMPAT)
52 librculfstack_la_SOURCES = rculfstack.c $(COMPAT)
This page took 0.031118 seconds and 4 git commands to generate.