X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2FMakefile.am;h=64bb56ce1f77b322d664ac9bf9267bd0053b595c;hb=f250b40e2179eccdb83766bf4abef5a35036c47b;hp=db39b1cc3aac4e6c79bbb122d07cd41f2cb14fe0;hpb=b1c46f877df8d424d82125f32e2dabd651280f3b;p=lttng-tools.git diff --git a/tests/regression/ust/type-declarations/Makefile.am b/tests/regression/ust/type-declarations/Makefile.am index db39b1cc3..64bb56ce1 100644 --- a/tests/regression/ust/type-declarations/Makefile.am +++ b/tests/regression/ust/type-declarations/Makefile.am @@ -1,8 +1,15 @@ +# 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 = type-declarations type_declarations_SOURCES = type-declarations.c ust_tests_td.h -type_declarations_LDADD = -llttng-ust $(DL_LIBS) +type_declarations_LDADD = $(UST_LIBS) $(DL_LIBS) +type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS) noinst_SCRIPTS = test_type_declarations test_type_declarations.py EXTRA_DIST = test_type_declarations test_type_declarations.py