3ba5fed5149ab91ff8536e7566858919b93dd34e
[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
12 # Common library
13 noinst_LTLIBRARIES = libcommon.la
14
15 libcommon_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 readwrite.c readwrite.h \
18 daemonize.c daemonize.h
19 libcommon_la_LIBADD = -luuid
20
21 # Consumer library
22 noinst_LTLIBRARIES += libconsumer.la
23
24 libconsumer_la_SOURCES = consumer.c consumer.h consumer-metadata-cache.c \
25 consumer-timer.c consumer-stream.c consumer-stream.h
26
27 libconsumer_la_LIBADD = \
28 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
29 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
30 $(top_builddir)/src/common/hashtable/libhashtable.la \
31 $(top_builddir)/src/common/compat/libcompat.la \
32 $(top_builddir)/src/common/relayd/librelayd.la
33
34 if HAVE_LIBLTTNG_UST_CTL
35 libconsumer_la_LIBADD += \
36 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
37 endif
This page took 0.030238 seconds and 4 git commands to generate.