X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2FMakefile.am;h=322a2c65f7fdcee12e6e8c1df51e8bd760d65a09;hb=6b979fc6dd8c03ed8332bdef2915b9d6d3ecfd6a;hp=c51e072fc62efedd157c2a25aa9881c54e9ca319;hpb=b6151646d77a70cd8054543c07924c840646950b;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/Makefile.am b/tests/regression/ust/ust-dl/Makefile.am index c51e072fc..322a2c65f 100644 --- a/tests/regression/ust/ust-dl/Makefile.am +++ b/tests/regression/ust/ust-dl/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if NO_SHARED # Do not build this test if shared libraries support was # explicitly disabled. @@ -17,6 +19,10 @@ objcopy_verbose_0 = @echo " OBJCOPY " $@; AM_CPPFLAGS += -I$(srcdir) -g +# Disable some warnings flags to accomodate the tracepoint headers +AM_CFLAGS += \ + -Wno-redundant-decls + noinst_PROGRAMS = prog prog_SOURCES = prog.c prog_LDADD = $(DL_LIBS) @@ -25,16 +31,16 @@ noinst_LTLIBRARIES = libzzz.la libbar.la libfoo.la libtp.la libzzz_la_SOURCES = libzzz.c libzzz.h libzzz_la_LDFLAGS = -module -shared -avoid-version \ - -rpath $(abs_builddir) + -rpath $(libdir) libbar_la_SOURCES = libbar.c libbar.h libbar_la_LDFLAGS = -module -shared -avoid-version \ - -rpath $(abs_builddir) + -rpath $(libdir) libbar_la_LIBADD = libzzz.la libfoo_la_SOURCES = libfoo.c libfoo.h libfoo_la_LDFLAGS = -module -shared -avoid-version \ - -rpath $(abs_builddir) + -rpath $(libdir) libfoo_la_LIBADD = libbar.la CLEANFILES = libfoo.so libfoo.so.debug libbar.so libbar.so.debug \ @@ -42,7 +48,7 @@ CLEANFILES = libfoo.so libfoo.so.debug libbar.so libbar.so.debug \ libtp_la_SOURCES = libbar-tp.h libbar-tp.c libfoo-tp.h libfoo-tp.c \ libzzz-tp.h libzzz-tp.c -libtp_la_LDFLAGS = -module -shared -rpath $(abs_builddir) +libtp_la_LDFLAGS = -module -shared -rpath $(libdir) # Extract debug symbols libfoo.so.debug: libfoo.la