This is not meant to be a stable API. We'll provide a convenient wrapper
over it instead.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = -fno-strict-aliasing
-lib_LTLIBRARIES = libringbuffer.la
+noinst_LTLIBRARIES = libringbuffer.la
noinst_HEADERS = \
smp.h
libringbuffer_la_LIBADD = \
-lpthread \
- -lrt \
- $(top_builddir)/snprintf/libustsnprintf.la
+ -lrt
libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" -fno-strict-aliasing
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
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