-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CFLAGS = -fno-strict-aliasing
-lib_LTLIBRARIES = libringbuffer.la
+noinst_LTLIBRARIES = libringbuffer.la
libringbuffer_la_SOURCES = \
+ smp.h smp.c getcpu.h \
+ shm.c shm.h shm_types.h shm_internal.h \
ring_buffer_backend.c \
ring_buffer_frontend.c \
- ring_buffer_iterator.c \
- ring_buffer_vfs.c \
- ring_buffer_splice.c \
- ring_buffer_mmap.c \
- ../libprio_heap/lttng_prio_heap.c
-
-libringbuffer_la_LDFLAGS = -no-undefined -version-info 0:0:0
+ api.h \
+ backend.h backend_internal.h backend_types.h \
+ frontend_api.h frontend.h frontend_internal.h frontend_types.h \
+ nohz.h vatomic.h rb-init.h
libringbuffer_la_LIBADD = \
-lpthread \
- -lrt \
- $(top_builddir)/snprintf/libustsnprintf.la
+ -lrt
libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" -fno-strict-aliasing