# SPDX-License-Identifier: LGPL-2.1-only
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CFLAGS += -fno-strict-aliasing
noinst_LTLIBRARIES = libcounter.la
libcounter_la_SOURCES = \
counter.c smp.c smp.h shm.c shm.h shm_internal.h shm_types.h \
- counter-api.h counter.h counter-internal.h counter-types.h
+ counter-api.h counter.h counter-internal.h counter-types.h \
+ counter-config.h
libcounter_la_LIBADD = \
-lpthread \
-lrt
-if HAVE_LIBNUMA
+if ENABLE_NUMA
libcounter_la_LIBADD += -lnuma
endif