projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide private lttng_session_active symbol
[lttng-ust.git]
/
libringbuffer
/
Makefile.am
diff --git
a/libringbuffer/Makefile.am
b/libringbuffer/Makefile.am
index f1e8a971f41bf5687826e072547da17bf29ee065..631a3568cc23885f8bbe5a835fbd34afb11b5d3e 100644
(file)
--- a/
libringbuffer/Makefile.am
+++ b/
libringbuffer/Makefile.am
@@
-1,23
+1,24
@@
-AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -fno-strict-aliasing
+# SPDX-License-Identifier: LGPL-2.1-only
+
+AM_CFLAGS += -fno-strict-aliasing
noinst_LTLIBRARIES = libringbuffer.la
libringbuffer_la_SOURCES = \
noinst_LTLIBRARIES = libringbuffer.la
libringbuffer_la_SOURCES = \
- smp.h smp.c \
+ smp.h smp.c
getcpu.h
\
shm.c shm.h shm_types.h shm_internal.h \
ring_buffer_backend.c \
ring_buffer_frontend.c \
shm.c shm.h shm_types.h shm_internal.h \
ring_buffer_backend.c \
ring_buffer_frontend.c \
- api.h \
+ api.h
mmap.h
\
backend.h backend_internal.h backend_types.h \
frontend_api.h frontend.h frontend_internal.h frontend_types.h \
backend.h backend_internal.h backend_types.h \
frontend_api.h frontend.h frontend_internal.h frontend_types.h \
- nohz.h
-
-
-libringbuffer_la_LDFLAGS = -no-undefined -version-info 0:0:0
+ nohz.h vatomic.h rb-init.h
libringbuffer_la_LIBADD = \
libringbuffer_la_LIBADD = \
- -lpthread \
-lrt
-lrt
-libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" -fno-strict-aliasing
+if HAVE_LIBNUMA
+libringbuffer_la_LIBADD += -lnuma
+endif
+
+libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
This page took
0.023801 seconds
and
4
git commands to generate.