X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2FMakefile.am;h=112e360d0db40706915961bcba27bd6d2174bcc6;hp=a418eb4ac541cd6f958aa9e2d35ca2ec1ec37643;hb=HEAD;hpb=0f907de1f20c91a2bd1a08ee4d50332d1958754b diff --git a/src/bin/lttng-consumerd/Makefile.am b/src/bin/lttng-consumerd/Makefile.am index a418eb4ac..3ad8210cc 100644 --- a/src/bin/lttng-consumerd/Makefile.am +++ b/src/bin/lttng-consumerd/Makefile.am @@ -1,14 +1,22 @@ -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.h +lttng_consumerd_SOURCES = \ + lttng-consumerd.cpp \ + lttng-consumerd.hpp \ + health-consumerd.cpp \ + health-consumerd.hpp -lttng_consumerd_LDADD = -lrt \ +lttng_consumerd_LDADD = \ $(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