Commit | Line | Data |
---|---|---|
74130cb7 | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src |
10a8a223 | 2 | |
6242251b CB |
3 | SUBDIRS = compat hashtable kernel-ctl sessiond-comm relayd \ |
4 | kernel-consumer ust-consumer testpoint | |
10a8a223 DG |
5 | |
6 | AM_CFLAGS = -fno-strict-aliasing | |
7 | ||
81b86775 | 8 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h uri.h utils.h |
1c39da61 | 9 | |
00e2e675 | 10 | # Common library |
10a8a223 DG |
11 | noinst_LTLIBRARIES = libcommon.la |
12 | ||
6242251b CB |
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 | |
10a8a223 DG |
15 | |
16 | # Consumer library | |
17 | noinst_LTLIBRARIES += libconsumer.la | |
18 | ||
1c39da61 | 19 | libconsumer_la_SOURCES = consumer.c consumer.h |
10a8a223 DG |
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 \ | |
b9182dd9 | 24 | $(top_builddir)/src/common/hashtable/libhashtable.la \ |
00e2e675 DG |
25 | $(top_builddir)/src/common/compat/libcompat.la \ |
26 | $(top_builddir)/src/common/relayd/librelayd.la | |
10a8a223 DG |
27 | |
28 | if HAVE_LIBLTTNG_UST_CTL | |
29 | libconsumer_la_LIBADD += \ | |
30 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la | |
31 | endif |