Make libcompat independent not to confuse automake
[lttng-tools.git] / src / common / Makefile.am
1 AM_CPPFLAGS =
2
3 SUBDIRS = compat 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 $(top_builddir)/src/common/compat/libcompat.la
23
24 if HAVE_LIBLTTNG_UST_CTL
25 libconsumer_la_LIBADD += \
26 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
27 endif
This page took 0.030576 seconds and 4 git commands to generate.