X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fhigh-throughput%2FMakefile.am;h=1bb87af49487dc87dfcc914223e43226480524d6;hb=20dd2de1fa1efe1519d1b6e88386efa89d60d1b9;hp=25913c3f4695ffe40bbca44879f8e04b01cb39ef;hpb=d7c5433442024fc55c8e9e4299c9105ed2c961ae;p=lttng-tools.git diff --git a/tests/regression/ust/high-throughput/Makefile.am b/tests/regression/ust/high-throughput/Makefile.am index 25913c3f4..1bb87af49 100644 --- a/tests/regression/ust/high-throughput/Makefile.am +++ b/tests/regression/ust/high-throughput/Makefile.am @@ -1,16 +1,8 @@ -AM_CFLAGS = -I$(srcdir) -O2 -AM_LDFLAGS = -llttng-ust - -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 +gen_events_LDADD = $(UST_LIBS) $(DL_LIBS) noinst_SCRIPTS = test_high_throughput EXTRA_DIST = test_high_throughput