3 SUBDIRS = compat hashtable kernel-ctl sessiond-comm relayd kernel-consumer ust-consumer
5 AM_CFLAGS = -fno-strict-aliasing
7 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h uri.h utils.h
10 noinst_LTLIBRARIES = libcommon.la
12 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h common.h futex.c futex.h uri.c uri.h
15 noinst_LTLIBRARIES += libconsumer.la
17 libconsumer_la_SOURCES = consumer.c consumer.h
19 libconsumer_la_LIBADD = \
20 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
21 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
22 $(top_builddir)/src/common/hashtable/libhashtable.la \
23 $(top_builddir)/src/common/compat/libcompat.la \
24 $(top_builddir)/src/common/relayd/librelayd.la
26 if HAVE_LIBLTTNG_UST_CTL
27 libconsumer_la_LIBADD += \
28 $(top_builddir)/src/common/ust-consumer/libust-consumer.la