| 1 | # SPDX-License-Identifier: LGPL-2.1-only |
| 2 | |
| 3 | AM_CFLAGS += -fno-strict-aliasing |
| 4 | |
| 5 | noinst_LTLIBRARIES = libringbuffer.la |
| 6 | |
| 7 | libringbuffer_la_SOURCES = \ |
| 8 | smp.h smp.c getcpu.h \ |
| 9 | shm.c shm.h shm_types.h shm_internal.h \ |
| 10 | ring_buffer_backend.c \ |
| 11 | ring_buffer_frontend.c \ |
| 12 | api.h mmap.h \ |
| 13 | backend.h backend_internal.h backend_types.h \ |
| 14 | frontend_api.h frontend.h frontend_internal.h frontend_types.h \ |
| 15 | nohz.h vatomic.h rb-init.h |
| 16 | |
| 17 | libringbuffer_la_LIBADD = \ |
| 18 | -lrt |
| 19 | |
| 20 | if HAVE_LIBNUMA |
| 21 | libringbuffer_la_LIBADD += -lnuma |
| 22 | endif |
| 23 | |
| 24 | libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS) |