tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / low-throughput / Makefile.am
index 3eef3ac5edcde95f17c35bbd4a854378b1bec1ca..7d5b21371d766545e4a323aa1280318fe3d86a7d 100644 (file)
@@ -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
-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 = $(UST_LIBS) $(DL_LIBS)
 
 noinst_SCRIPTS = test_low_throughput
 EXTRA_DIST = test_low_throughput
This page took 0.024978 seconds and 5 git commands to generate.