ba93810a8c3fe6af5bf8bd7c4188d037de4421ec
[lttng-tools.git] / src / common / Makefile.am
1 AM_CPPFLAGS =
2
3 SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer
4
5 AM_CFLAGS = -fno-strict-aliasing
6
7 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h
8
9 noinst_LTLIBRARIES = libcommon.la
10
11 libcommon_la_SOURCES = runas.c runas.h common.h
12
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
24 # Consumer library
25 noinst_LTLIBRARIES += libconsumer.la
26
27 libconsumer_la_SOURCES = consumer.c consumer.h
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 \
32 $(top_builddir)/src/common/hashtable/libhashtable.la \
33 $(top_builddir)/src/common/libcompat.la
34
35 if HAVE_LIBLTTNG_UST_CTL
36 libconsumer_la_LIBADD += \
37 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
38 endif
This page took 0.039843 seconds and 3 git commands to generate.