X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=a198b68534fe4f351fb53b730b1d6bb028582cf3;hb=cdff92e0e0e875348b6ec549ef9d2282161faf80;hp=419561eb1d2bd7499330ca428e95782152a42cde;hpb=c80497fe9e16ce45bd058b05c7a65a48af8b85da;p=lttng-ust.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 419561eb..a198b685 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -38,10 +38,34 @@ noinst_HEADERS += \ ### ### noinst_LTLIBRARIES = \ + libcounter.la \ msgpack/libmsgpack.la \ snprintf/libsnprintf.la \ libcommon.la +# counter +libcounter_la_SOURCES = \ + counter/counter-api.h \ + counter/counter.c \ + counter/counter-config.h \ + counter/counter.h \ + counter/counter-internal.h \ + counter/counter-types.h \ + counter/shm.c \ + counter/shm.h \ + counter/shm_internal.h \ + counter/shm_types.h \ + counter/smp.c \ + counter/smp.h + +libcounter_la_LIBADD = -lrt + +if ENABLE_NUMA +libcounter_la_LIBADD += -lnuma +endif + +libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS) + # msgpack msgpack_libmsgpack_la_SOURCES = \ msgpack/msgpack.c \