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