fix: warnings on non-Linux platforms
[urcu.git] / src / Makefile.am
CommitLineData
01956342 1AM_CPPFLAGS += -I$(top_srcdir)/src
6893800a
MJ
2
3#Add the -version-info directly here since we are only building
4# library that use the version-info
514079bb 5AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION) $(LT_NO_UNDEFINED)
6893800a 6
094c8c59 7dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
4477a870 8 compat-rand.h urcu-utils.h
6893800a 9
0b1e236d 10COMPAT = compat_arch.c compat_futex.c
6893800a
MJ
11
12RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
13 rculfhash-mm-mmap.c
14
15lib_LTLIBRARIES = liburcu-common.la \
16 liburcu.la liburcu-qsbr.la \
17 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
4477a870 18 liburcu-memb.la liburcu-cds.la
6893800a
MJ
19
20#
21# liburcu-common contains wait-free queues (needed by call_rcu) as well
22# as futex fallbacks.
23#
24liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
25
26liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4477a870 27liburcu_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
6893800a
MJ
28liburcu_la_LIBADD = liburcu-common.la
29
4477a870
MD
30liburcu_memb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
31liburcu_memb_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
32liburcu_memb_la_LIBADD = liburcu-common.la
33
6893800a 34liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
4477a870 35liburcu_qsbr_la_CFLAGS = -DRCU_QSBR $(AM_CFLAGS)
6893800a
MJ
36liburcu_qsbr_la_LIBADD = liburcu-common.la
37
38liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 39liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
6893800a
MJ
40liburcu_mb_la_LIBADD = liburcu-common.la
41
42liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 43liburcu_signal_la_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
6893800a
MJ
44liburcu_signal_la_LIBADD = liburcu-common.la
45
46liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
47liburcu_bp_la_LIBADD = liburcu-common.la
48
49liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
ccacf27f 50 workqueue.c workqueue.h $(RCULFHASH) $(COMPAT)
6893800a
MJ
51liburcu_cds_la_LIBADD = liburcu-common.la
52
53pkgconfigdir = $(libdir)/pkgconfig
54pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
55 liburcu-signal.pc liburcu-mb.pc
56
0b1e236d 57EXTRA_DIST = \
6893800a
MJ
58 urcu-call-rcu-impl.h \
59 urcu-defer-impl.h \
60 rculfhash-internal.h
This page took 0.032293 seconds and 4 git commands to generate.