numa support: allow disabling numa support
[lttng-ust.git] / libringbuffer / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
2 AM_CFLAGS += -fno-strict-aliasing
3
4 noinst_LTLIBRARIES = libringbuffer.la
5
6 libringbuffer_la_SOURCES = \
7 smp.h smp.c getcpu.h \
8 shm.c shm.h shm_types.h shm_internal.h \
9 ring_buffer_backend.c \
10 ring_buffer_frontend.c \
11 api.h \
12 backend.h backend_internal.h backend_types.h \
13 frontend_api.h frontend.h frontend_internal.h frontend_types.h \
14 nohz.h vatomic.h rb-init.h
15
16 libringbuffer_la_LIBADD = \
17 -lpthread \
18 -lrt
19
20 if HAVE_LIBNUMA
21 libringbuffer_la_LIBADD += -lnuma
22 endif
23
24 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
This page took 0.029722 seconds and 4 git commands to generate.