projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-nevents
/
Makefile.am
diff --git
a/tests/utils/testapp/gen-ust-nevents/Makefile.am
b/tests/utils/testapp/gen-ust-nevents/Makefile.am
index 27dc1dc4a05e17f5a766edb775c781c532a14d31..c2d36d7c951c370fe13ffc6d9a1eb518a9ac790a 100644
(file)
--- a/
tests/utils/testapp/gen-ust-nevents/Makefile.am
+++ b/
tests/utils/testapp/gen-ust-nevents/Makefile.am
@@
-1,9
+1,21
@@
-AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils
+# SPDX-License-Identifier: GPL-2.0-only
+
+AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils \
+ -I$(top_srcdir)/tests/utils/testapp
if HAVE_LIBLTTNG_UST_CTL
if HAVE_LIBLTTNG_UST_CTL
+WARN_FLAGS = \
+ -Wno-redundant-decls
+
+AM_CFLAGS += $(WARN_FLAGS)
+AM_CXXFLAGS += $(WARN_FLAGS)
+
noinst_PROGRAMS = gen-ust-nevents
noinst_PROGRAMS = gen-ust-nevents
-gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
-gen_ust_nevents_LDADD = -llttng-ust -lurcu-bp \
+gen_ust_nevents_SOURCES = \
+ gen-ust-nevents.cpp \
+ tp.c \
+ tp.h
+gen_ust_nevents_LDADD = $(UST_LIBS) \
$(top_builddir)/tests/utils/libtestutils.la \
$(DL_LIBS)
endif
$(top_builddir)/tests/utils/libtestutils.la \
$(DL_LIBS)
endif
This page took
0.036317 seconds
and
4
git commands to generate.