Commit | Line | Data |
---|---|---|
10a8a223 DG |
1 | AM_CPPFLAGS = |
2 | ||
3 | SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer | |
4 | ||
5 | AM_CFLAGS = -fno-strict-aliasing | |
6 | ||
db758600 | 7 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h |
1c39da61 | 8 | |
10a8a223 DG |
9 | noinst_LTLIBRARIES = libcommon.la |
10 | ||
990570ed | 11 | libcommon_la_SOURCES = runas.c runas.h common.h |
10a8a223 DG |
12 | |
13 | # Consumer library | |
14 | noinst_LTLIBRARIES += libconsumer.la | |
15 | ||
1c39da61 | 16 | libconsumer_la_SOURCES = consumer.c consumer.h |
10a8a223 DG |
17 | |
18 | libconsumer_la_LIBADD = \ | |
19 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ | |
20 | $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \ | |
21 | $(top_builddir)/src/common/hashtable/libhashtable.la | |
22 | ||
23 | if HAVE_LIBLTTNG_UST_CTL | |
24 | libconsumer_la_LIBADD += \ | |
25 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la | |
26 | endif | |
0ba98ebc DG |
27 | |
28 | if COMPAT_EPOLL | |
29 | COMPAT=compat/compat-epoll.c | |
30 | else | |
31 | COMPAT=compat/compat-poll.c | |
32 | endif | |
33 | ||
34 | noinst_LTLIBRARIES += libcompat.la | |
35 | ||
36 | libcompat_la_SOURCES = compat/poll.h $(COMPAT) |