3 SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer
5 AM_CFLAGS = -fno-strict-aliasing
7 noinst_HEADERS = lttngerr.h lttng-kernel.h defaults.h macros.h
9 noinst_LTLIBRARIES = libcommon.la
11 libcommon_la_SOURCES = runas.c runas.h common.h
14 noinst_LTLIBRARIES += libconsumer.la
16 libconsumer_la_SOURCES = consumer.c consumer.h
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
23 if HAVE_LIBLTTNG_UST_CTL
24 libconsumer_la_LIBADD += \
25 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
29 COMPAT=compat/compat-epoll.c
31 COMPAT=compat/compat-poll.c
34 noinst_LTLIBRARIES += libcompat.la
36 libcompat_la_SOURCES = compat/poll.h $(COMPAT)