X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fust-consumer%2FMakefile.am;h=5e100537209ffc8e03af71e5c02fb9009612ada6;hb=93903fd582c3b4b3528eed37ad5631ebcb74ca2b;hp=ab8d38add5fc1fe5b3608ceee8446c9cfce4e7a0;hpb=74130cb7d45f2c698c1a9f224bf8e7a2f2368f18;p=lttng-tools.git diff --git a/src/common/ust-consumer/Makefile.am b/src/common/ust-consumer/Makefile.am index ab8d38add..5e1005372 100644 --- a/src/common/ust-consumer/Makefile.am +++ b/src/common/ust-consumer/Makefile.am @@ -1,13 +1,13 @@ -if HAVE_LIBLTTNG_UST_CTL +# SPDX-License-Identifier: GPL-2.0-only -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src +if HAVE_LIBLTTNG_UST_CTL noinst_LTLIBRARIES = libust-consumer.la -libust_consumer_la_SOURCES = ust-consumer.c ust-consumer.h +libust_consumer_la_SOURCES = \ + ust-consumer.cpp \ + ust-consumer.h -libust_consumer_la_LIBADD = \ - -llttng-ust-ctl \ - $(top_builddir)/src/common/relayd/librelayd.la +libust_consumer_la_LIBADD = $(UST_CTL_LIBS) endif