Restrict supported arch ot P6+ on Intel x86 32.
[urcu.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2 INCLUDES = -I$(top_builddir)/urcu
3
4 AM_LDFLAGS=-lpthread
5
6 SUBDIRS = tests
7
8 include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
9 nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h urcu/rculist.h urcu/system.h
10 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h
11
12 EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt README LICENSE
13
14 lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
15
16 liburcu_la_SOURCES = urcu.c urcu-pointer.c
17
18 liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c
19 liburcu_mb_la_CFLAGS = -DURCU_MB
20
21 liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c
22
23 liburcu_defer_la_SOURCES = urcu-defer.c
24
25 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c
26
27 *.h *.c: urcu/arch.h urcu/uatomic_arch.h
28
29 urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
30 mkdir -p $(top_builddir)/urcu
31 cp -f $(top_srcdir)/urcu/arch_@ARCHTYPE@.h $(top_builddir)/urcu/arch.h
32
33 urcu/uatomic_arch.h: $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h
34 mkdir -p $(top_builddir)/urcu
35 cp -f $(top_srcdir)/urcu/uatomic_arch_@ARCHTYPE@.h $(top_builddir)/urcu/uatomic_arch.h
36
37 clean-local:
38 rm -f urcu/arch.h urcu/uatomic_arch.h
This page took 0.041859 seconds and 5 git commands to generate.