Add missing string.h header for strerror_r()
[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 # Consumer library
14 noinst_LTLIBRARIES += libconsumer.la
15
16 libconsumer_la_SOURCES = consumer.c consumer.h
17
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
22
23 if HAVE_LIBLTTNG_UST_CTL
24 libconsumer_la_LIBADD += \
25 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
26 endif
27
28 if COMPAT_EPOLL
29 COMPAT=compat/compat-epoll.c
30 else
31 COMPAT=compat/compat-poll.c
32 endif
33
34 noinst_LTLIBRARIES += libcompat.la
35
36 libcompat_la_SOURCES = compat/poll.h $(COMPAT)
This page took 0.033753 seconds and 4 git commands to generate.