X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2FMakefile.am;h=c153ea250415a7ac7a62e004a5c72362942c2b19;hb=bfcda6cea270952898ea122c375f2ed19105adef;hp=f1e8a971f41bf5687826e072547da17bf29ee065;hpb=84ac63b891bfc8826584719a71f071b06ca66675;p=lttng-ust.git diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index f1e8a971..c153ea25 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -1,23 +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 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 \ api.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 = \ -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)