X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2FMakefile.am;h=61b6d809f990b79a67917dbf5221355ce99d78b3;hb=b1e910309fb5e7d46aadbc5321a2c23b288faff2;hp=cc4b02c1eba69223f9f2f8839bfc7ea8abfe819a;hpb=cdbfb1b9cd74b6f6da7082482b1d6c3d97605818;p=lttng-tools.git diff --git a/tests/regression/ust/clock-override/Makefile.am b/tests/regression/ust/clock-override/Makefile.am index cc4b02c1e..61b6d809f 100644 --- a/tests/regression/ust/clock-override/Makefile.am +++ b/tests/regression/ust/clock-override/Makefile.am @@ -9,8 +9,6 @@ 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 # if it's noinst_ GETCPU_LIBTOOL_FLAGS = \ @@ -22,13 +20,8 @@ GETCPU_LIBTOOL_FLAGS = \ noinst_LTLIBRARIES = lttng-ust-clock-override-test.la lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS) - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -lttng_ust_clock_override_test_la_LIBADD = -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -lttng_ust_clock_override_test_la_LIBADD = -lc -endif +lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c +lttng_ust_clock_override_test_la_LIBADD = $(DL_LIBS) noinst_SCRIPTS = test_clock_override EXTRA_DIST = test_clock_override