Commit | Line | Data |
---|---|---|
c0c0989a MJ |
1 | # SPDX-License-Identifier: LGPL-2.1-only |
2 | ||
e1c62734 | 3 | AM_CFLAGS += -fno-strict-aliasing |
4931a13e | 4 | |
d672b30f | 5 | noinst_LTLIBRARIES = libringbuffer.la |
4931a13e MD |
6 | |
7 | libringbuffer_la_SOURCES = \ | |
2b2d6ff7 | 8 | smp.h smp.c getcpu.h \ |
84ac63b8 | 9 | shm.c shm.h shm_types.h shm_internal.h \ |
4931a13e | 10 | ring_buffer_backend.c \ |
36385b6e | 11 | ring_buffer_frontend.c \ |
4d4838ba | 12 | api.h mmap.h \ |
36385b6e MD |
13 | backend.h backend_internal.h backend_types.h \ |
14 | frontend_api.h frontend.h frontend_internal.h frontend_types.h \ | |
0466ac28 | 15 | nohz.h vatomic.h rb-init.h ringbuffer-config.h |
b6e4919f | 16 | |
4931a13e | 17 | libringbuffer_la_LIBADD = \ |
bfcda6ce MD |
18 | -lrt |
19 | ||
41ad81d8 | 20 | if ENABLE_NUMA |
bfcda6ce MD |
21 | libringbuffer_la_LIBADD += -lnuma |
22 | endif | |
4931a13e | 23 | |
e1c62734 | 24 | libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS) |