Commit | Line | Data |
---|---|---|
1 | # SPDX-License-Identifier: LGPL-2.1-only | |
2 | ||
3 | AM_CFLAGS += -fno-strict-aliasing | |
4 | ||
5 | noinst_LTLIBRARIES = libcounter.la | |
6 | ||
7 | libcounter_la_SOURCES = \ | |
8 | counter.c smp.c smp.h shm.c shm.h shm_internal.h shm_types.h \ | |
9 | counter-api.h counter.h counter-internal.h counter-types.h \ | |
10 | counter-config.h | |
11 | ||
12 | libcounter_la_LIBADD = \ | |
13 | -lpthread \ | |
14 | -lrt | |
15 | ||
16 | if ENABLE_NUMA | |
17 | libcounter_la_LIBADD += -lnuma | |
18 | endif | |
19 | ||
20 | libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS) |