X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events%2FMakefile.am;h=1e89ddd67b0d8d72e47917f68a34bb2bcbea1404;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=1c2fcf845bfa703881f940013442fc98c3557cbc;hpb=b1c46f877df8d424d82125f32e2dabd651280f3b;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events/Makefile.am b/tests/utils/testapp/gen-ust-events/Makefile.am index 1c2fcf845..1e89ddd67 100644 --- a/tests/utils/testapp/gen-ust-events/Makefile.am +++ b/tests/utils/testapp/gen-ust-events/Makefile.am @@ -1,9 +1,22 @@ -AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(srcdir) +# SPDX-License-Identifier: GPL-2.0-only + +AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(srcdir) \ + -I$(top_srcdir)/tests/utils/testapp if HAVE_LIBLTTNG_UST_CTL +# Disable some warnings flags to accomodate the tracepoint headers +WARN_FLAGS = \ + -Wno-redundant-decls + +AM_CFLAGS += $(WARN_FLAGS) +AM_CXXFLAGS += $(WARN_FLAGS) + noinst_PROGRAMS = gen-ust-events -gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h -gen_ust_events_LDADD = -llttng-ust -lurcu-bp \ +gen_ust_events_SOURCES = \ + gen-ust-events.cpp \ + tp.c \ + tp.h +gen_ust_events_LDADD = $(UST_LIBS) \ $(top_builddir)/tests/utils/libtestutils.la \ $(DL_LIBS) endif