Fix: Bad return error code handling
[lttng-tools.git] / src / common / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
2
3 SUBDIRS = compat hashtable kernel-ctl sessiond-comm relayd \
4 kernel-consumer ust-consumer testpoint
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
11 # Common library
12 noinst_LTLIBRARIES = libcommon.la
13
14 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
15 common.h futex.c futex.h uri.c uri.h
16
17 # Consumer library
18 noinst_LTLIBRARIES += libconsumer.la
19
20 libconsumer_la_SOURCES = consumer.c consumer.h
21
22 libconsumer_la_LIBADD = \
23 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
24 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
25 $(top_builddir)/src/common/hashtable/libhashtable.la \
26 $(top_builddir)/src/common/compat/libcompat.la \
27 $(top_builddir)/src/common/relayd/librelayd.la
28
29 if HAVE_LIBLTTNG_UST_CTL
30 libconsumer_la_LIBADD += \
31 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
32 endif
This page took 0.032583 seconds and 5 git commands to generate.