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-str
/
Makefile.am
diff --git
a/tests/utils/testapp/gen-ust-nevents-str/Makefile.am
b/tests/utils/testapp/gen-ust-nevents-str/Makefile.am
index 405f05b74db4af7c00398dcedbad85bbf1d7bb42..ed278a6cabdc6b0137ad4913aad3c683a142039a 100644
(file)
--- a/
tests/utils/testapp/gen-ust-nevents-str/Makefile.am
+++ b/
tests/utils/testapp/gen-ust-nevents-str/Makefile.am
@@
-1,15
+1,12
@@
-AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils
+# 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-str
gen_ust_nevents_str_SOURCES = gen-ust-nevents-str.c tp.c tp.h
if HAVE_LIBLTTNG_UST_CTL
noinst_PROGRAMS = gen-ust-nevents-str
gen_ust_nevents_str_SOURCES = gen-ust-nevents-str.c tp.c tp.h
-gen_ust_nevents_str_LDADD = -llttng-ust -lurcu-bp \
- $(top_builddir)/tests/utils/libtestutils.la
+gen_ust_nevents_str_LDADD = $(UST_LIBS) -lurcu-bp \
+ $(top_builddir)/tests/utils/libtestutils.la \
+ $(DL_LIBS)
endif
endif
This page took
0.02304 seconds
and
4
git commands to generate.