fix: add missing pkgconfig file for memb flavour lib
[userspace-rcu.git] / src / Makefile.am
CommitLineData
9a79c612 1AM_CPPFLAGS += -I$(top_srcdir)/include -I$(top_builddir)/include -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
5AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION)
6if USE_CYGWIN
7AM_LDFLAGS+=-no-undefined
8endif
6893800a 9
094c8c59 10dist_noinst_HEADERS = urcu-die.h urcu-wait.h compat-getcpu.h \
4477a870 11 compat-rand.h urcu-utils.h
6893800a
MJ
12
13if COMPAT_ARCH
14COMPAT=compat_arch_@ARCHTYPE@.c
15else
16COMPAT=
17endif
18
19COMPAT+=compat_futex.c
20
21RCULFHASH = rculfhash.c rculfhash-mm-order.c rculfhash-mm-chunk.c \
22 rculfhash-mm-mmap.c
23
24lib_LTLIBRARIES = liburcu-common.la \
25 liburcu.la liburcu-qsbr.la \
26 liburcu-mb.la liburcu-signal.la liburcu-bp.la \
4477a870 27 liburcu-memb.la liburcu-cds.la
6893800a
MJ
28
29#
30# liburcu-common contains wait-free queues (needed by call_rcu) as well
31# as futex fallbacks.
32#
33liburcu_common_la_SOURCES = wfqueue.c wfcqueue.c wfstack.c $(COMPAT)
34
35liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
4477a870 36liburcu_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
6893800a
MJ
37liburcu_la_LIBADD = liburcu-common.la
38
4477a870
MD
39liburcu_memb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
40liburcu_memb_la_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
41liburcu_memb_la_LIBADD = liburcu-common.la
42
6893800a 43liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
4477a870 44liburcu_qsbr_la_CFLAGS = -DRCU_QSBR $(AM_CFLAGS)
6893800a
MJ
45liburcu_qsbr_la_LIBADD = liburcu-common.la
46
47liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 48liburcu_mb_la_CFLAGS = -DRCU_MB $(AM_CFLAGS)
6893800a
MJ
49liburcu_mb_la_LIBADD = liburcu-common.la
50
51liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
9a79c612 52liburcu_signal_la_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
6893800a
MJ
53liburcu_signal_la_LIBADD = liburcu-common.la
54
55liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
56liburcu_bp_la_LIBADD = liburcu-common.la
57
58liburcu_cds_la_SOURCES = rculfqueue.c rculfstack.c lfstack.c \
ccacf27f 59 workqueue.c workqueue.h $(RCULFHASH) $(COMPAT)
6893800a
MJ
60liburcu_cds_la_LIBADD = liburcu-common.la
61
62pkgconfigdir = $(libdir)/pkgconfig
63pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
4713a2a8 64 liburcu-signal.pc liburcu-mb.pc liburcu-memb.pc
6893800a
MJ
65
66EXTRA_DIST = compat_arch_x86.c \
67 urcu-call-rcu-impl.h \
68 urcu-defer-impl.h \
69 rculfhash-internal.h
This page took 0.030367 seconds and 4 git commands to generate.