Rename urcu/urcu-futex.h to urcu/futex.h
[urcu.git] / Makefile.am
... / ...
CommitLineData
1INCLUDES = -I$(top_builddir)/urcu
2
3AM_LDFLAGS=-lpthread
4AM_CFLAGS=-Wall
5
6SUBDIRS = . tests
7
8include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
10 urcu/rculist.h urcu/rcuhlist.h urcu/system.h 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/ref.h urcu/map/*.h urcu/static/*.h
14nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic.h urcu/config.h
15
16EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \
17 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
18 README LICENSE compat_arch_x86.c
19
20if COMPAT_ARCH
21COMPAT=compat_arch_@ARCHTYPE@.c
22else
23COMPAT=
24endif
25
26if COMPAT_FUTEX
27COMPAT+=compat_futex.c
28endif
29
30lib_LTLIBRARIES = liburcu-cds.la liburcu.la liburcu-qsbr.la \
31 liburcu-mb.la liburcu-signal.la liburcu-bp.la
32
33liburcu_cds_la_SOURCES = wfqueue.c wfstack.c rculfqueue.c rculfstack.c \
34 $(COMPAT)
35liburcu_cds_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
36
37liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
38liburcu_la_LIBADD = -lurcu-cds
39liburcu_la_DEPENDENCIES = liburcu-cds.la
40liburcu_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
41
42liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
43liburcu_qsbr_la_LIBADD = -lurcu-cds
44liburcu_qsbr_la_DEPENDENCIES = liburcu-cds.la
45liburcu_qsbr_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
46
47liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48liburcu_mb_la_CFLAGS = -DRCU_MB
49liburcu_mb_la_LIBADD = -lurcu-cds
50liburcu_mb_la_DEPENDENCIES = liburcu-cds.la
51liburcu_mb_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
52
53liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
54liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
55liburcu_signal_la_LIBADD = -lurcu-cds
56liburcu_signal_la_DEPENDENCIES = liburcu-cds.la
57liburcu_signal_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
58
59liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
60liburcu_bp_la_LIBADD = -lurcu-cds
61liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
62liburcu_bp_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
63
64pkgconfigdir = $(libdir)/pkgconfig
65pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
66 liburcu-signal.pc liburcu-mb.pc
This page took 0.02355 seconds and 4 git commands to generate.