Combine stack and queues info liburcu-cds.so
[urcu.git] / Makefile.am
1 INCLUDES = -I$(top_builddir)/urcu
2
3 AM_LDFLAGS=-lpthread
4 AM_CFLAGS=-Wall
5
6 SUBDIRS = . tests
7
8 include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9 nobase_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
16 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
17
18 EXTRA_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
22 if COMPAT_ARCH
23 COMPAT=compat_arch_@ARCHTYPE@.c
24 else
25 COMPAT=
26 endif
27
28 if COMPAT_FUTEX
29 COMPAT+=compat_futex.c
30 endif
31
32 lib_LTLIBRARIES = liburcu-cds.la liburcu.la liburcu-qsbr.la \
33 liburcu-mb.la liburcu-signal.la liburcu-bp.la
34
35 liburcu_cds_la_SOURCES = wfqueue.c wfstack.c rculfqueue.c rculfstack.c \
36 $(COMPAT)
37
38 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
39 liburcu_la_LIBADD = -lurcu-cds
40 liburcu_la_DEPENDENCIES = liburcu-cds.la
41
42 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
43 liburcu_qsbr_la_LIBADD = -lurcu-cds
44 liburcu_qsbr_la_DEPENDENCIES = liburcu-cds.la
45
46 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
47 liburcu_mb_la_CFLAGS = -DRCU_MB
48 liburcu_mb_la_LIBADD = -lurcu-cds
49 liburcu_mb_la_DEPENDENCIES = liburcu-cds.la
50
51 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
52 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
53 liburcu_signal_la_LIBADD = -lurcu-cds
54 liburcu_signal_la_DEPENDENCIES = liburcu-cds.la
55
56 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
57 liburcu_bp_la_LIBADD = -lurcu-cds
58 liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
59
60 pkgconfigdir = $(libdir)/pkgconfig
61 pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
62 liburcu-signal.pc liburcu-mb.pc
This page took 0.037032 seconds and 5 git commands to generate.