X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2FMakefile.am;h=19bc7ed4cda4f6e8463e75190758b48538d740d6;hb=4ae042345b4094e98611744d9ba6c92265058fdb;hp=25cd6e92279c7164379b07ce631ecc1bfefff410;hpb=10a8a2237343699e3923d87e24dbf2d7fe225377;p=lttng-tools.git diff --git a/src/bin/lttng-consumerd/Makefile.am b/src/bin/lttng-consumerd/Makefile.am index 25cd6e922..19bc7ed4c 100644 --- a/src/bin/lttng-consumerd/Makefile.am +++ b/src/bin/lttng-consumerd/Makefile.am @@ -1,15 +1,22 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src +# SPDX-License-Identifier: GPL-2.0-only -bin_PROGRAMS = lttng-consumerd +lttnglibexec_PROGRAMS = lttng-consumerd -lttng_consumerd_SOURCES = lttng-consumerd.c +lttng_consumerd_SOURCES = \ + lttng-consumerd.cpp \ + lttng-consumerd.h \ + health-consumerd.cpp \ + health-consumerd.h lttng_consumerd_LDADD = \ - $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \ $(top_builddir)/src/common/libconsumer.la \ - $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ - $(top_builddir)/src/common/libcommon.la + $(top_builddir)/src/common/libcommon-gpl.la \ + $(top_builddir)/src/common/libindex.la \ + $(top_builddir)/src/common/libhealth.la \ + $(top_builddir)/src/common/libtestpoint.la + +lttng_consumerd_LDFLAGS = -rdynamic if HAVE_LIBLTTNG_UST_CTL -lttng_consumerd_LDADD += -llttng-ust-ctl +lttng_consumerd_LDADD += $(UST_CTL_LIBS) endif