projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-elf: add missing include for uint64_t
[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 e11b5f36f34fb8ff22c1eb0aa760cbb2885ad8c0..746ffc688cee6d3593bbf9701f3564b493716544 100644
(file)
--- a/
tests/utils/testapp/gen-ust-nevents/Makefile.am
+++ b/
tests/utils/testapp/gen-ust-nevents/Makefile.am
@@
-1,15
+1,22
@@
-AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g
-AM_LDFLAGS =
+# SPDX-License-Identifier: GPL-2.0-only
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-AM_LDFLAGS += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-AM_LDFLAGS += -lc
-endif
+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 \
+ -Wno-missing-field-initializers
+
+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
+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
endif
This page took
0.024919 seconds
and
4
git commands to generate.