Fix: lttng UST and kernel consumer: fix ret vs errno mixup
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
10a8a223
DG
1AM_CPPFLAGS =
2
3SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer
4
5AM_CFLAGS = -fno-strict-aliasing
6
68080f48 7noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h
1c39da61 8
10a8a223
DG
9noinst_LTLIBRARIES = libcommon.la
10
990570ed 11libcommon_la_SOURCES = runas.c runas.h common.h
10a8a223 12
b9182dd9
DG
13if COMPAT_EPOLL
14COMPAT=compat/compat-epoll.c
15else
16COMPAT=compat/compat-poll.c
17endif
18
19noinst_LTLIBRARIES += libcompat.la
20
21libcompat_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
25noinst_LTLIBRARIES += libconsumer.la
26
1c39da61 27libconsumer_la_SOURCES = consumer.c consumer.h
10a8a223
DG
28
29libconsumer_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
35if HAVE_LIBLTTNG_UST_CTL
36libconsumer_la_LIBADD += \
37 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
38endif
This page took 0.025941 seconds and 4 git commands to generate.