X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fexit-fast%2FMakefile.am;h=30f05966be72102c915f3276fc3111006f70b269;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=539803d7beb82fcd995345cd88867d03211847bd;hpb=c83e7ca00efd681ec2406d2a2b2622d373ae2647;p=lttng-tools.git diff --git a/tests/regression/ust/exit-fast/Makefile.am b/tests/regression/ust/exit-fast/Makefile.am index 539803d7b..30f05966b 100644 --- a/tests/regression/ust/exit-fast/Makefile.am +++ b/tests/regression/ust/exit-fast/Makefile.am @@ -1,15 +1,14 @@ -AM_CPPFLAGS = -I$(srcdir) +# SPDX-License-Identifier: GPL-2.0-only + +AM_CPPFLAGS += -I$(srcdir) + +# Disable some warnings flags to accomodate the tracepoint headers +AM_CFLAGS += \ + -Wno-redundant-decls noinst_PROGRAMS = exit-fast exit_fast_SOURCES = exit-fast.c ust_tests_exitfast.h -exit_fast_LDADD = -llttng-ust - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -exit_fast_LDADD += -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -exit_fast_LDADD += -lc -endif +exit_fast_LDADD = $(UST_LIBS) $(DL_LIBS) noinst_SCRIPTS = test_exit-fast test_exit-fast.py EXTRA_DIST = test_exit-fast test_exit-fast.py