Fix powerpc uatomic 4-byte cmpxchg (cmpd -> cmpw)
[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
11 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
12
13 EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
14 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
15 README LICENSE compat_arch_x86.c
16
17 if COMPAT_ARCH
18 COMPAT=compat_arch_@ARCHTYPE@.c
19 else
20 COMPAT=
21 endif
22
23 if COMPAT_FUTEX
24 COMPAT+=compat_futex.c
25 endif
26
27 lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la liburcu-bp.la liburcu-defer.la
28
29 liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
30
31 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
32
33 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
34 liburcu_mb_la_CFLAGS = -DRCU_MB
35
36 liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
37 liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
38
39 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
40
41 liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
This page took 0.045747 seconds and 4 git commands to generate.