cleanup: move rand_r compat code to tests
[userspace-rcu.git] / src / Makefile.am
CommitLineData
d001c886
MJ
1# SPDX-FileCopyrightText: 2023 EfficiOS Inc.
2#
3# SPDX-License-Identifier: MIT
4
01956342 5AM_CPPFLAGS += -I$(top_srcdir)/src
6893800a
MJ
6
7#Add the -version-info directly here since we are only building
8# library that use the version-info
514079bb 9AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION) $(LT_NO_UNDEFINED)
6893800a 10
094c8c59 11dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
6b071d73 12 urcu-utils.h compat-smp.h
6893800a 13
0b1e236d 14COMPAT = compat_arch.c compat_futex.c
6893800a
MJ
15
16RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
17 rculfhash-mm-mmap.c
18
19lib_LTLIBRARIES = liburcu-common.la \
20 liburcu.la liburcu-qsbr.la \
aad674a9 21 liburcu-mb.la liburcu-bp.la \
4477a870 22 liburcu-memb.la liburcu-cds.la
6893800a
MJ
23
24#
25# liburcu-common contains wait-free queues (needed by call_rcu) as well
26# as futex fallbacks.
27#
28liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
29
30liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4477a870 31liburcu_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
6893800a
MJ
32liburcu_la_LIBADD = liburcu-common.la
33
4477a870
MD
34liburcu_memb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
35liburcu_memb_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
36liburcu_memb_la_LIBADD = liburcu-common.la
37
6893800a 38liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
4477a870 39liburcu_qsbr_la_CFLAGS = -DRCU_QSBR $(AM_CFLAGS)
6893800a
MJ
40liburcu_qsbr_la_LIBADD = liburcu-common.la
41
42liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 43liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
6893800a
MJ
44liburcu_mb_la_LIBADD = liburcu-common.la
45
6893800a
MJ
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 \
aad674a9 55 liburcu-mb.pc liburcu-memb.pc
6893800a 56
0b1e236d 57EXTRA_DIST = \
6893800a
MJ
58 urcu-call-rcu-impl.h \
59 urcu-defer-impl.h \
111bda8f 60 urcu-poll-impl.h \
6893800a 61 rculfhash-internal.h
This page took 0.03716 seconds and 4 git commands to generate.