X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2FMakefile.am;h=95022b9f98e9ede50fe48d9cf1722a6efd3077d6;hb=f66e964a2e0c75f5e1a55fbcc963b1c5e2b4519d;hp=3eef3ac5edcde95f17c35bbd4a854378b1bec1ca;hpb=c83e7ca00efd681ec2406d2a2b2622d373ae2647;p=lttng-tools.git diff --git a/tests/regression/ust/low-throughput/Makefile.am b/tests/regression/ust/low-throughput/Makefile.am index 3eef3ac5e..95022b9f9 100644 --- a/tests/regression/ust/low-throughput/Makefile.am +++ b/tests/regression/ust/low-throughput/Makefile.am @@ -1,16 +1,8 @@ -AM_CFLAGS = -I$(srcdir) -O2 -AM_LDFLAGS = -llttng-ust - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -AM_LDFLAGS += -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -AM_LDFLAGS += -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 = -llttng-ust -lurcu $(DL_LIBS) noinst_SCRIPTS = test_low_throughput EXTRA_DIST = test_low_throughput