Remove whitespace
[urcu.git] / Makefile.am
CommitLineData
48d848c7
PMF
1ACLOCAL_AMFLAGS = -I m4
2INCLUDES = -I$(top_builddir)/urcu
3
4AM_LDFLAGS=-lpthread
5
6SUBDIRS = tests
7
8include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h urcu/rculist.h urcu/system.h
10nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h
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
48d848c7
PMF
22
23lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
24
7d413817 25liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48d848c7 26
7d413817 27liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
48d848c7
PMF
28liburcu_mb_la_CFLAGS = -DURCU_MB
29
7d413817 30liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
48d848c7 31
7d413817 32liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
48d848c7 33
7d413817 34liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
48d848c7
PMF
35
36*.h *.c: urcu/arch.h urcu/uatomic_arch.h
37
38urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
7d413817 39 $(MKDIR_P) $(top_builddir)/urcu
48d848c7
PMF
40 cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
41
42urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
7d413817 43 $(MKDIR_P) $(top_builddir)/urcu
48d848c7
PMF
44 cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
45
46clean-local:
47 rm -f urcu/arch.h urcu/uatomic_arch.h
This page took 0.032538 seconds and 4 git commands to generate.