3 SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer
5 AM_CFLAGS = -fno-strict-aliasing
7 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h
9 noinst_LTLIBRARIES = libcommon.la
11 libcommon_la_SOURCES = runas.c runas.h common.h
14 COMPAT=compat/compat-epoll.c
16 COMPAT=compat/compat-poll.c
19 noinst_LTLIBRARIES += libcompat.la
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)
25 noinst_LTLIBRARIES += libconsumer.la
27 libconsumer_la_SOURCES = consumer.c consumer.h
29 libconsumer_la_LIBADD = \
30 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
31 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
32 $(top_builddir)/src/common/hashtable/libhashtable.la \
33 $(top_builddir)/src/common/libcompat.la
35 if HAVE_LIBLTTNG_UST_CTL
36 libconsumer_la_LIBADD += \
37 $(top_builddir)/src/common/ust-consumer/libust-consumer.la