X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fust%2Foverlap%2Fdemo%2FMakefile.am;h=68b6e087f84f506aeaf9137e43bc659ad9f5f0c9;hb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f;hp=1532ecd7a4237d1bd8ea1e843709083c10c0431b;hpb=26b53d3b7ce1812a2ebc2c7153a50d35bba2a270;p=lttng-tools.git diff --git a/tests/ust/overlap/demo/Makefile.am b/tests/ust/overlap/demo/Makefile.am index 1532ecd7a..68b6e087f 100644 --- a/tests/ust/overlap/demo/Makefile.am +++ b/tests/ust/overlap/demo/Makefile.am @@ -1,5 +1,10 @@ AM_CFLAGS=-I$(srcdir) - +if NO_SHARED +# Do not build this test if shared libraries support was +# explicitly disabled. +else +# Force the shared flag on the noinst libraries since they are +# only built static by default FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \ -rpath $(abs_builddir) @@ -27,3 +32,7 @@ endif if LTTNG_TOOLS_BUILD_WITH_LIBC_DL demo_LDADD = -lc endif + +noinst_SCRIPTS = demo-trace +EXTRA_DIST = demo-trace +endif