| 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 = consumer.c consumer.h consumer-metadata-cache.c \ |
| 9 | consumer-timer.c consumer-stream.c consumer-stream.h \ |
| 10 | metadata-bucket.c metadata-bucket.h |
| 11 | |
| 12 | libconsumer_la_LIBADD = \ |
| 13 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ |
| 14 | $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \ |
| 15 | $(top_builddir)/src/common/hashtable/libhashtable.la \ |
| 16 | $(top_builddir)/src/common/compat/libcompat.la \ |
| 17 | $(top_builddir)/src/common/relayd/librelayd.la |
| 18 | |
| 19 | if HAVE_LIBLTTNG_UST_CTL |
| 20 | libconsumer_la_LIBADD += \ |
| 21 | $(top_builddir)/src/common/ust-consumer/libust-consumer.la |
| 22 | endif |