X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2FMakefile.am;h=c153ea250415a7ac7a62e004a5c72362942c2b19;hb=bfcda6cea270952898ea122c375f2ed19105adef;hp=9bd8586812a19b46a42ee9ed6abf2055053c563d;hpb=a334646a99520fdcf81e1460a839cae5c6d06f2c;p=lttng-ust.git diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index 9bd85868..c153ea25 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -1,5 +1,5 @@ -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 @@ -11,10 +11,14 @@ libringbuffer_la_SOURCES = \ 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 - + 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)