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 | ||
0b5fb049 DG |
8 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \ |
9 | uri.h utils.h lttng-kernel-old.h | |
1c39da61 | 10 | |
00e2e675 | 11 | # Common library |
10a8a223 DG |
12 | noinst_LTLIBRARIES = libcommon.la |
13 | ||
6242251b | 14 | libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \ |
8b3bd7a3 | 15 | common.h futex.c futex.h uri.c uri.h defaults.c |
ffe60014 | 16 | libcommon_la_LIBADD = -luuid |
10a8a223 DG |
17 | |
18 | # Consumer library | |
19 | noinst_LTLIBRARIES += libconsumer.la | |
20 | ||
1c39da61 | 21 | libconsumer_la_SOURCES = consumer.c consumer.h |
10a8a223 DG |
22 | |
23 | libconsumer_la_LIBADD = \ | |
24 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ | |
25 | $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \ | |
b9182dd9 | 26 | $(top_builddir)/src/common/hashtable/libhashtable.la \ |
00e2e675 DG |
27 | $(top_builddir)/src/common/compat/libcompat.la \ |
28 | $(top_builddir)/src/common/relayd/librelayd.la | |
10a8a223 DG |
29 | |
30 | if HAVE_LIBLTTNG_UST_CTL | |
31 | libconsumer_la_LIBADD += \ | |
32 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la | |
33 | endif |