Installed headers should only include other headers with < >
[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 7
ee6fabe1
MD
8include_HEADERS = urcu.h urcu-bp.h urcu-call-rcu.h urcu-defer.h \
9 urcu-pointer.h urcu-qsbr.h
0854ccff 10nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
41849996 11 urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/futex.h \
a2e7bf9c 12 urcu/uatomic/generic.h urcu/arch/generic.h urcu/wfstack.h \
3d02c34d 13 urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
f9bf6d54 14 urcu/ref.h urcu/map/*.h urcu/static/*.h
a2e7bf9c 15nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic.h urcu/config.h
48d848c7 16
a2e7bf9c 17EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \
7d413817
MD
18 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
19 README LICENSE compat_arch_x86.c
20
21if COMPAT_ARCH
22COMPAT=compat_arch_@ARCHTYPE@.c
23else
24COMPAT=
25endif
26
0854ccff
MD
27if COMPAT_FUTEX
28COMPAT+=compat_futex.c
29endif
48d848c7 30
f48d0855
MD
31lib_LTLIBRARIES = liburcu-cds.la liburcu.la liburcu-qsbr.la \
32 liburcu-mb.la liburcu-signal.la liburcu-bp.la
33
34liburcu_cds_la_SOURCES = wfqueue.c wfstack.c rculfqueue.c rculfstack.c \
35 $(COMPAT)
98bc124a 36liburcu_cds_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 37
7d413817 38liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
f48d0855
MD
39liburcu_la_LIBADD = -lurcu-cds
40liburcu_la_DEPENDENCIES = liburcu-cds.la
98bc124a 41liburcu_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 42
fdf01eed 43liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
f48d0855
MD
44liburcu_qsbr_la_LIBADD = -lurcu-cds
45liburcu_qsbr_la_DEPENDENCIES = liburcu-cds.la
98bc124a 46liburcu_qsbr_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
fdf01eed 47
7d413817 48liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4a620853 49liburcu_mb_la_CFLAGS = -DRCU_MB
f48d0855
MD
50liburcu_mb_la_LIBADD = -lurcu-cds
51liburcu_mb_la_DEPENDENCIES = liburcu-cds.la
98bc124a 52liburcu_mb_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
48d848c7 53
fdf01eed 54liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4a620853 55liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
f48d0855
MD
56liburcu_signal_la_LIBADD = -lurcu-cds
57liburcu_signal_la_DEPENDENCIES = liburcu-cds.la
98bc124a 58liburcu_signal_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
fdf01eed 59
7d413817 60liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
f48d0855
MD
61liburcu_bp_la_LIBADD = -lurcu-cds
62liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
98bc124a 63liburcu_bp_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
2260a36c
YB
64
65pkgconfigdir = $(libdir)/pkgconfig
f7a3d9d9
YB
66pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
67 liburcu-signal.pc liburcu-mb.pc
This page took 0.035487 seconds and 4 git commands to generate.