| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | noinst_LTLIBRARIES = libconsumer.la |
| 4 | |
| 5 | noinst_HEADERS = consumer-metadata-cache.h consumer-timer.h \ |
| 6 | consumer-testpoint.h |
| 7 | |
| 8 | libconsumer_la_SOURCES = \ |
| 9 | consumer.cpp \ |
| 10 | consumer.h \ |
| 11 | consumer-metadata-cache.cpp \ |
| 12 | consumer-stream.cpp \ |
| 13 | consumer-stream.h \ |
| 14 | consumer-timer.cpp \ |
| 15 | metadata-bucket.cpp \ |
| 16 | metadata-bucket.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 | $(top_builddir)/src/common/relayd/librelayd.la |
| 24 | |
| 25 | if HAVE_LIBLTTNG_UST_CTL |
| 26 | libconsumer_la_LIBADD += \ |
| 27 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la |
| 28 | endif |