X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2FMakefile.am;h=7d5b21371d766545e4a323aa1280318fe3d86a7d;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=8ce8f24397eae0a4d358a9f623bd1c738ca3c529;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;p=deliverable%2Flttng-tools.git diff --git a/tests/regression/ust/low-throughput/Makefile.am b/tests/regression/ust/low-throughput/Makefile.am index 8ce8f2439..7d5b21371 100644 --- a/tests/regression/ust/low-throughput/Makefile.am +++ b/tests/regression/ust/low-throughput/Makefile.am @@ -1,15 +1,10 @@ -AM_CPPFLAGS += -I$(srcdir) +# 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) noinst_PROGRAMS = gen-events gen_events_SOURCES = main.c tp.c tp.h -gen_events_LDADD = -llttng-ust -lurcu +gen_events_LDADD = $(UST_LIBS) $(DL_LIBS) noinst_SCRIPTS = test_low_throughput EXTRA_DIST = test_low_throughput