Move libcounter to 'src/common/'
[lttng-ust.git] / src / common / Makefile.am
index e73cc1fa95f65c203eeba5c06ad17b5dbbe7c625..a198b68534fe4f351fb53b730b1d6bb028582cf3 100644 (file)
@@ -38,9 +38,41 @@ 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 \
+       msgpack/msgpack.h
+
+msgpack_libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
+
 # snprintf
 snprintf_libsnprintf_la_SOURCES = \
        snprintf/fflush.c \
@@ -63,6 +95,7 @@ libcommon_la_SOURCES = \
        patient.c
 
 libcommon_la_LIBADD = \
+       msgpack/libmsgpack.la \
        snprintf/libsnprintf.la
 
 EXTRA_DIST = snprintf/README
This page took 0.023615 seconds and 4 git commands to generate.