Mi: mi backend + mi for command version
[lttng-tools.git] / src / common / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
2
3 SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
4 kernel-consumer ust-consumer testpoint index config
5
6 AM_CFLAGS = -fno-strict-aliasing
7
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
12
13 # Common library
14 noinst_LTLIBRARIES = libcommon.la
15
16 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
17 common.h futex.c futex.h uri.c uri.h defaults.c \
18 pipe.c pipe.h readwrite.c readwrite.h \
19 mi-lttng.h mi-lttng.c \
20 daemonize.c daemonize.h
21 libcommon_la_LIBADD = \
22 -luuid \
23 -lrt \
24 $(top_builddir)/src/common/config/libconfig.la
25
26 # Consumer library
27 noinst_LTLIBRARIES += libconsumer.la
28
29 libconsumer_la_SOURCES = consumer.c consumer.h consumer-metadata-cache.c \
30 consumer-timer.c consumer-stream.c consumer-stream.h
31
32 libconsumer_la_LIBADD = \
33 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
34 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
35 $(top_builddir)/src/common/hashtable/libhashtable.la \
36 $(top_builddir)/src/common/compat/libcompat.la \
37 $(top_builddir)/src/common/relayd/librelayd.la
38
39 if HAVE_LIBLTTNG_UST_CTL
40 libconsumer_la_LIBADD += \
41 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
42 endif
This page took 0.033144 seconds and 6 git commands to generate.