projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Move to kernel style SPDX license identifiers
[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 b3212228fe2a6a852c6e125a4ba4ee9cd486e321..d160d920d9b0006368286e810b7a41834c0ef5be 100644
(file)
--- a/
tests/utils/testapp/gen-ust-nevents/Makefile.am
+++ b/
tests/utils/testapp/gen-ust-nevents/Makefile.am
@@
-1,16
+1,12
@@
-AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) \
- -I$(top_srcdir)/tests/utils -O2 -g
+# SPDX-License-Identifier: GPL-2.0-only
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-LIBS += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-LIBS += -lc
-endif
+AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils \
+ -I$(top_srcdir)/tests/utils/testapp
if HAVE_LIBLTTNG_UST_CTL
noinst_PROGRAMS = gen-ust-nevents
gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
if HAVE_LIBLTTNG_UST_CTL
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 \
- $(top_builddir)/tests/utils/libtestutils.la
+gen_ust_nevents_LDADD = $(UST_LIBS) -lurcu-bp \
+ $(top_builddir)/tests/utils/libtestutils.la \
+ $(DL_LIBS)
endif
endif
This page took
0.028675 seconds
and
4
git commands to generate.