From d672b30f45079019d516dd7fe042b60a248c13a5 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 18 Oct 2011 20:03:03 -0400 Subject: [PATCH] Do not install libringbuffer into system This is not meant to be a stable API. We'll provide a convenient wrapper over it instead. Signed-off-by: Mathieu Desnoyers --- libringbuffer/Makefile.am | 5 ++--- tests/ust-basic-tracing/Makefile.am | 3 ++- tests/ust-multi-test/Makefile.am | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index 2fe7681..9cd8c26 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include AM_CFLAGS = -fno-strict-aliasing -lib_LTLIBRARIES = libringbuffer.la +noinst_LTLIBRARIES = libringbuffer.la noinst_HEADERS = \ smp.h @@ -16,7 +16,6 @@ libringbuffer_la_LDFLAGS = -no-undefined -version-info 0:0:0 libringbuffer_la_LIBADD = \ -lpthread \ - -lrt \ - $(top_builddir)/snprintf/libustsnprintf.la + -lrt libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" -fno-strict-aliasing diff --git a/tests/ust-basic-tracing/Makefile.am b/tests/ust-basic-tracing/Makefile.am index 676ae2e..0a0a2f0 100644 --- a/tests/ust-basic-tracing/Makefile.am +++ b/tests/ust-basic-tracing/Makefile.am @@ -3,4 +3,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libust noinst_PROGRAMS = ust-basic-tracing ust_basic_tracing_SOURCES = ust-basic-tracing.c ust_basic_tracing_LDADD = $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \ - $(top_builddir)/libringbuffer/libringbuffer.la + $(top_builddir)/libringbuffer/libringbuffer.la \ + $(top_builddir)/snprintf/libustsnprintf.la diff --git a/tests/ust-multi-test/Makefile.am b/tests/ust-multi-test/Makefile.am index 5148d54..c1d39d9 100644 --- a/tests/ust-multi-test/Makefile.am +++ b/tests/ust-multi-test/Makefile.am @@ -3,4 +3,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libust noinst_PROGRAMS = ust-multi-test ust_multi_test_SOURCES = ust-multi-test.c ust_multi_test_LDADD = $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \ - $(top_builddir)/libringbuffer/libringbuffer.la + $(top_builddir)/libringbuffer/libringbuffer.la \ + $(top_builddir)/snprintf/libustsnprintf.la -- 2.34.1