da65374dbe5f3c64edad99d99ef476a2f140dcf5
[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 uri.h utils.h
9
10 # Common library
11 noinst_LTLIBRARIES = libcommon.la
12
13 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
14 common.h futex.c futex.h uri.c uri.h
15
16 # Consumer library
17 noinst_LTLIBRARIES += libconsumer.la
18
19 libconsumer_la_SOURCES = consumer.c consumer.h
20
21 libconsumer_la_LIBADD = \
22 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
23 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
24 $(top_builddir)/src/common/hashtable/libhashtable.la \
25 $(top_builddir)/src/common/compat/libcompat.la \
26 $(top_builddir)/src/common/relayd/librelayd.la
27
28 if HAVE_LIBLTTNG_UST_CTL
29 libconsumer_la_LIBADD += \
30 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
31 endif
This page took 0.043432 seconds and 5 git commands to generate.