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