Commit | Line | Data |
---|---|---|
c0c0989a MJ |
1 | # SPDX-License-Identifier: LGPL-2.1-only |
2 | ||
ebabbf58 MD |
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 \ | |
9f25e892 MD |
9 | counter-api.h counter.h counter-internal.h counter-types.h \ |
10 | counter-config.h | |
ebabbf58 MD |
11 | |
12 | libcounter_la_LIBADD = \ | |
13 | -lpthread \ | |
14 | -lrt | |
15 | ||
16 | if HAVE_LIBNUMA | |
17 | libcounter_la_LIBADD += -lnuma | |
18 | endif | |
19 | ||
20 | libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS) |