| 1 | AM_CPPFLAGS = |
| 2 | |
| 3 | SUBDIRS = compat hashtable kernel-ctl sessiond-comm relayd kernel-consumer ust-consumer |
| 4 | |
| 5 | AM_CFLAGS = -fno-strict-aliasing |
| 6 | |
| 7 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h uri.h utils.h |
| 8 | |
| 9 | # Common library |
| 10 | noinst_LTLIBRARIES = libcommon.la |
| 11 | |
| 12 | libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h common.h futex.c futex.h uri.c uri.h |
| 13 | |
| 14 | # Consumer library |
| 15 | noinst_LTLIBRARIES += libconsumer.la |
| 16 | |
| 17 | libconsumer_la_SOURCES = consumer.c consumer.h |
| 18 | |
| 19 | libconsumer_la_LIBADD = \ |
| 20 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ |
| 21 | $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \ |
| 22 | $(top_builddir)/src/common/hashtable/libhashtable.la \ |
| 23 | $(top_builddir)/src/common/compat/libcompat.la \ |
| 24 | $(top_builddir)/src/common/relayd/librelayd.la |
| 25 | |
| 26 | if HAVE_LIBLTTNG_UST_CTL |
| 27 | libconsumer_la_LIBADD += \ |
| 28 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la |
| 29 | endif |