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