X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2FMakefile.am;h=cc4b02c1eba69223f9f2f8839bfc7ea8abfe819a;hp=95065e0ed1ba6b580395be72521dcd1f3f021c2f;hb=cdbfb1b9cd74b6f6da7082482b1d6c3d97605818;hpb=3528f2a3f2378f44a2f42028c276a446aa15a933 diff --git a/tests/regression/ust/clock-override/Makefile.am b/tests/regression/ust/clock-override/Makefile.am index 95065e0ed..cc4b02c1e 100644 --- a/tests/regression/ust/clock-override/Makefile.am +++ b/tests/regression/ust/clock-override/Makefile.am @@ -1,3 +1,14 @@ +if NO_SHARED +# Do not build this test if shared libraries support was +# explicitly disabled. + +CLEANFILES = lttng-ust-clock-override-test.so \ + lttng-ust-clock-override-test.so.debug + +EXTRA_DIST = test_clock_override lttng-ust-clock-override-test.c + +else + AM_CPPFLAGS = -I$(srcdir) # The rpath is necessary because libtool won't build a shared library @@ -35,3 +46,5 @@ clean-local: rm -f $(builddir)/$$script; \ done; \ fi + +endif