Fix: Build out of src tree
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
74130cb7 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
10a8a223 2
6242251b
CB
3SUBDIRS = compat hashtable kernel-ctl sessiond-comm relayd \
4 kernel-consumer ust-consumer testpoint
10a8a223
DG
5
6AM_CFLAGS = -fno-strict-aliasing
7
81b86775 8noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h uri.h utils.h
1c39da61 9
00e2e675 10# Common library
10a8a223
DG
11noinst_LTLIBRARIES = libcommon.la
12
6242251b
CB
13libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
14 common.h futex.c futex.h uri.c uri.h
10a8a223
DG
15
16# Consumer library
17noinst_LTLIBRARIES += libconsumer.la
18
1c39da61 19libconsumer_la_SOURCES = consumer.c consumer.h
10a8a223
DG
20
21libconsumer_la_LIBADD = \
22 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
23 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
b9182dd9 24 $(top_builddir)/src/common/hashtable/libhashtable.la \
00e2e675
DG
25 $(top_builddir)/src/common/compat/libcompat.la \
26 $(top_builddir)/src/common/relayd/librelayd.la
10a8a223
DG
27
28if HAVE_LIBLTTNG_UST_CTL
29libconsumer_la_LIBADD += \
30 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
31endif
This page took 0.026012 seconds and 4 git commands to generate.