44ab87426db7ab96845e2468d002efe1d8521f31
[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 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
13
14 EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
15 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
16 README LICENSE compat_arch_x86.c
17
18 if COMPAT_ARCH
19 COMPAT=compat_arch_@ARCHTYPE@.c
20 else
21 COMPAT=
22 endif
23
24 if COMPAT_FUTEX
25 COMPAT+=compat_futex.c
26 endif
27
28 lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
29 liburcu-bp.la liburcu-defer.la libwfqueue.la libwfstack.la
30
31 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
32
33 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
34
35 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
36 liburcu_mb_la_CFLAGS = -DRCU_MB
37
38 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
39 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
40
41 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
42
43 liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
44
45 libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
46 libwfstack_la_SOURCES = wfstack.c $(COMPAT)
This page took 0.040502 seconds and 4 git commands to generate.