X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2FMakefile.am;h=7d5b21371d766545e4a323aa1280318fe3d86a7d;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hp=630d797b38f6493e25e0037a8397fdaeaad2dec2;hpb=d7c5433442024fc55c8e9e4299c9105ed2c961ae;p=lttng-tools.git diff --git a/tests/regression/ust/low-throughput/Makefile.am b/tests/regression/ust/low-throughput/Makefile.am index 630d797b3..7d5b21371 100644 --- a/tests/regression/ust/low-throughput/Makefile.am +++ b/tests/regression/ust/low-throughput/Makefile.am @@ -1,16 +1,10 @@ -AM_CFLAGS = -I$(srcdir) -O2 -AM_LDFLAGS = -llttng-ust +# 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