Headers: move arch_*.h to urcu/arch/*.h
[urcu.git] / Makefile.am
CommitLineData
48d848c7
PMF
1INCLUDES = -I$(top_builddir)/urcu
2
3AM_LDFLAGS=-lpthread
b57aee66 4AM_CFLAGS=-Wall
48d848c7 5
c96a3726 6SUBDIRS = . tests
48d848c7
PMF
7
8include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
0854ccff 9nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
8760d94e 10 urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/urcu-futex.h \
1b9119f8 11 urcu/uatomic_generic.h urcu/arch/generic.h urcu/wfstack.h \
3d02c34d 12 urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
af7c2dbe 13 urcu/urcu_ref.h urcu/map/*.h urcu/static/*.h
0854ccff 14nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
48d848c7 15
1b9119f8 16EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
7d413817
MD
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
0854ccff
MD
26if COMPAT_FUTEX
27COMPAT+=compat_futex.c
28endif
48d848c7 29
f48d0855
MD
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)
98bc124a 35liburcu_cds_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 36
7d413817 37liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
f48d0855
MD
38liburcu_la_LIBADD = -lurcu-cds
39liburcu_la_DEPENDENCIES = liburcu-cds.la
98bc124a 40liburcu_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 41
fdf01eed 42liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
f48d0855
MD
43liburcu_qsbr_la_LIBADD = -lurcu-cds
44liburcu_qsbr_la_DEPENDENCIES = liburcu-cds.la
98bc124a 45liburcu_qsbr_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
fdf01eed 46
7d413817 47liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4a620853 48liburcu_mb_la_CFLAGS = -DRCU_MB
f48d0855
MD
49liburcu_mb_la_LIBADD = -lurcu-cds
50liburcu_mb_la_DEPENDENCIES = liburcu-cds.la
98bc124a 51liburcu_mb_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 52
fdf01eed 53liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4a620853 54liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
f48d0855
MD
55liburcu_signal_la_LIBADD = -lurcu-cds
56liburcu_signal_la_DEPENDENCIES = liburcu-cds.la
98bc124a 57liburcu_signal_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
fdf01eed 58
7d413817 59liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
f48d0855
MD
60liburcu_bp_la_LIBADD = -lurcu-cds
61liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
98bc124a 62liburcu_bp_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
2260a36c
YB
63
64pkgconfigdir = $(libdir)/pkgconfig
f7a3d9d9
YB
65pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
66 liburcu-signal.pc liburcu-mb.pc
This page took 0.033826 seconds and 4 git commands to generate.