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 | ||
68080f48 | 7 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h |
1c39da61 | 8 | |
10a8a223 DG |
9 | noinst_LTLIBRARIES = libcommon.la |
10 | ||
990570ed | 11 | libcommon_la_SOURCES = runas.c runas.h common.h |
10a8a223 | 12 | |
b9182dd9 DG |
13 | if COMPAT_EPOLL |
14 | COMPAT=compat/compat-epoll.c | |
15 | else | |
16 | COMPAT=compat/compat-poll.c | |
17 | endif | |
18 | ||
19 | noinst_LTLIBRARIES += libcompat.la | |
20 | ||
21 | libcompat_la_SOURCES = compat/poll.h compat/fcntl.h compat/splice.h compat/endian.h \ | |
22 | compat/socket.h compat/compat-fcntl.c $(COMPAT) | |
23 | ||
10a8a223 DG |
24 | # Consumer library |
25 | noinst_LTLIBRARIES += libconsumer.la | |
26 | ||
1c39da61 | 27 | libconsumer_la_SOURCES = consumer.c consumer.h |
10a8a223 DG |
28 | |
29 | libconsumer_la_LIBADD = \ | |
30 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ | |
31 | $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \ | |
b9182dd9 DG |
32 | $(top_builddir)/src/common/hashtable/libhashtable.la \ |
33 | $(top_builddir)/src/common/libcompat.la | |
10a8a223 DG |
34 | |
35 | if HAVE_LIBLTTNG_UST_CTL | |
36 | libconsumer_la_LIBADD += \ | |
37 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la | |
38 | endif |