1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
3 SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
4 kernel-consumer ust-consumer testpoint index config
6 AM_CFLAGS = -fno-strict-aliasing
8 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
9 uri.h utils.h lttng-kernel-old.h \
10 consumer-metadata-cache.h consumer-timer.h \
11 consumer-testpoint.h align.h bitfield.h bug.h
14 noinst_LTLIBRARIES = libcommon.la
15 EXTRA_DIST = mi_lttng.xsd
17 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
18 common.h futex.c futex.h uri.c uri.h defaults.c \
19 pipe.c pipe.h readwrite.c readwrite.h \
20 mi-lttng.h mi-lttng.c \
21 daemonize.c daemonize.h
22 libcommon_la_LIBADD = \
25 $(top_builddir)/src/common/config/libconfig.la
28 noinst_LTLIBRARIES += libconsumer.la
30 libconsumer_la_SOURCES = consumer.c consumer.h consumer-metadata-cache.c \
31 consumer-timer.c consumer-stream.c consumer-stream.h
33 libconsumer_la_LIBADD = \
34 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
35 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
36 $(top_builddir)/src/common/hashtable/libhashtable.la \
37 $(top_builddir)/src/common/compat/libcompat.la \
38 $(top_builddir)/src/common/relayd/librelayd.la
40 if HAVE_LIBLTTNG_UST_CTL
41 libconsumer_la_LIBADD += \
42 $(top_builddir)/src/common/ust-consumer/libust-consumer.la