Fix: Possible memory leak when multiple config files are loaded
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
74130cb7 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
10a8a223 2
55d09795 3SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
bac6245e 4 kernel-consumer ust-consumer testpoint index config
10a8a223
DG
5
6AM_CFLAGS = -fno-strict-aliasing
7
0b5fb049 8noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
331744e3 9 uri.h utils.h lttng-kernel-old.h \
2d57de81
MD
10 consumer-metadata-cache.h consumer-timer.h \
11 consumer-testpoint.h
1c39da61 12
00e2e675 13# Common library
10a8a223
DG
14noinst_LTLIBRARIES = libcommon.la
15
6242251b 16libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
9fd92637 17 common.h futex.c futex.h uri.c uri.h defaults.c \
99ed9c43
MD
18 pipe.c pipe.h readwrite.c readwrite.h \
19 daemonize.c daemonize.h
69a4426c 20libcommon_la_LIBADD = -luuid -lrt
10a8a223
DG
21
22# Consumer library
23noinst_LTLIBRARIES += libconsumer.la
24
331744e3 25libconsumer_la_SOURCES = consumer.c consumer.h consumer-metadata-cache.c \
51230d70 26 consumer-timer.c consumer-stream.c consumer-stream.h
10a8a223
DG
27
28libconsumer_la_LIBADD = \
29 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
30 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
b9182dd9 31 $(top_builddir)/src/common/hashtable/libhashtable.la \
00e2e675
DG
32 $(top_builddir)/src/common/compat/libcompat.la \
33 $(top_builddir)/src/common/relayd/librelayd.la
10a8a223
DG
34
35if HAVE_LIBLTTNG_UST_CTL
36libconsumer_la_LIBADD += \
37 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
38endif
This page took 0.043947 seconds and 5 git commands to generate.