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