tests: update writer cs len script for 64-core ppc
[urcu.git] / Makefile.am
CommitLineData
48d848c7
PMF
1INCLUDES = -I$(top_builddir)/urcu
2
3AM_LDFLAGS=-lpthread
4
c96a3726 5SUBDIRS = . tests
48d848c7
PMF
6
7include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
0854ccff
MD
8nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
9 urcu/rculist.h urcu/system.h urcu/urcu-futex.h
10nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
48d848c7 11
7d413817
MD
12EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
13 gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
14 README LICENSE compat_arch_x86.c
15
16if COMPAT_ARCH
17COMPAT=compat_arch_@ARCHTYPE@.c
18else
19COMPAT=
20endif
21
0854ccff
MD
22if COMPAT_FUTEX
23COMPAT+=compat_futex.c
24endif
48d848c7 25
fdf01eed 26lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la liburcu-bp.la liburcu-defer.la
48d848c7 27
7d413817 28liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48d848c7 29
fdf01eed
MD
30liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
31
7d413817 32liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
02be5561 33liburcu_mb_la_CFLAGS = -DRCU_MB
48d848c7 34
fdf01eed
MD
35liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
36liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
37
7d413817 38liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
48d848c7 39
7d413817 40liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
48d848c7 41
49617de1 42$(top_srcdir)/*.h $(top_srcdir)/*.c: urcu/arch.h urcu/uatomic_arch.h
48d848c7
PMF
43
44urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
e4c9e00c 45 $(mkdir_p) $(top_builddir)/urcu
48d848c7
PMF
46 cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
47
48urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
e4c9e00c 49 $(mkdir_p) $(top_builddir)/urcu
48d848c7
PMF
50 cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
51
52clean-local:
53 rm -f urcu/arch.h urcu/uatomic_arch.h
This page took 0.024337 seconds and 4 git commands to generate.