X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2FMakefile.am;h=37fc6d5244ca85ad30dfeebdfa464f826aee06af;hb=4b2b86f24a5f734f6a6564b2b1e7ac6f10e32dfa;hp=1aa0f27f70cbeff0eeaa2ddc13dd3e884a8221f9;hpb=5c635c724d60fe8e8bfeb00907dfa1e113cc3548;p=lttng-tools.git diff --git a/src/bin/lttng-consumerd/Makefile.am b/src/bin/lttng-consumerd/Makefile.am index 1aa0f27f7..37fc6d524 100644 --- a/src/bin/lttng-consumerd/Makefile.am +++ b/src/bin/lttng-consumerd/Makefile.am @@ -1,20 +1,23 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src +# SPDX-License-Identifier: GPL-2.0-only lttnglibexec_PROGRAMS = lttng-consumerd -lttng_consumerd_SOURCES = lttng-consumerd.c \ +lttng_consumerd_SOURCES = \ + lttng-consumerd.cpp \ lttng-consumerd.h \ - health-consumerd.h \ - health-consumerd.c + health-consumerd.cpp \ + health-consumerd.h lttng_consumerd_LDADD = \ - $(top_builddir)/src/common/libconsumer.la \ + $(top_builddir)/src/common/consumer/libconsumer.la \ $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ $(top_builddir)/src/common/libcommon.la \ $(top_builddir)/src/common/index/libindex.la \ $(top_builddir)/src/common/health/libhealth.la \ - -lrt + $(top_builddir)/src/common/testpoint/libtestpoint.la + +lttng_consumerd_LDFLAGS = -rdynamic if HAVE_LIBLTTNG_UST_CTL -lttng_consumerd_LDADD += -llttng-ust-ctl +lttng_consumerd_LDADD += $(UST_CTL_LIBS) endif