X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2FMakefile.am;h=c153ea250415a7ac7a62e004a5c72362942c2b19;hb=bfcda6cea270952898ea122c375f2ed19105adef;hp=9cd8c2699211c6c5c7bcde9c22d9816d2c345001;hpb=d672b30f45079019d516dd7fe042b60a248c13a5;p=lttng-ust.git diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index 9cd8c269..c153ea25 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -1,21 +1,24 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -AM_CFLAGS = -fno-strict-aliasing +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include +AM_CFLAGS += -fno-strict-aliasing noinst_LTLIBRARIES = libringbuffer.la -noinst_HEADERS = \ - smp.h - libringbuffer_la_SOURCES = \ - shm.c \ - 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 - -libringbuffer_la_LDFLAGS = -no-undefined -version-info 0:0:0 + ring_buffer_frontend.c \ + 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 -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)