X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fdaemon%2FMakefile.am;h=48806e1b6c999ab360d0593695caa17bf987786d;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=cc63b63b744c1b45b589bad8bfcde31d4c5daf46;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;p=lttng-tools.git diff --git a/tests/regression/ust/daemon/Makefile.am b/tests/regression/ust/daemon/Makefile.am index cc63b63b7..48806e1b6 100644 --- a/tests/regression/ust/daemon/Makefile.am +++ b/tests/regression/ust/daemon/Makefile.am @@ -1,15 +1,14 @@ +# 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 = daemon daemon_SOURCES = daemon.c ust_tests_daemon.h -daemon_LDADD = -llttng-ust -llttng-ust-fork - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -daemon_LDADD += -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -daemon_LDADD += -lc -endif +daemon_LDADD = $(UST_LIBS) -llttng-ust-fork $(DL_LIBS) noinst_SCRIPTS = test_daemon test_daemon.py EXTRA_DIST = test_daemon test_daemon.py