urcu signal-based renames
[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
PMF
25
26lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
27
7d413817 28liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48d848c7 29
7d413817 30liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
02be5561 31liburcu_mb_la_CFLAGS = -DRCU_MB
48d848c7 32
7d413817 33liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
48d848c7 34
7d413817 35liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
48d848c7 36
7d413817 37liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
48d848c7 38
49617de1 39$(top_srcdir)/*.h $(top_srcdir)/*.c: urcu/arch.h urcu/uatomic_arch.h
48d848c7
PMF
40
41urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
e4c9e00c 42 $(mkdir_p) $(top_builddir)/urcu
48d848c7
PMF
43 cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
44
45urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
e4c9e00c 46 $(mkdir_p) $(top_builddir)/urcu
48d848c7
PMF
47 cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
48
49clean-local:
50 rm -f urcu/arch.h urcu/uatomic_arch.h
This page took 0.026391 seconds and 4 git commands to generate.