X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fhello-many%2FMakefile.am;h=d8f140b2e7bef554eacc44a908b84b851927e1e3;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=338b7986cfa09b8f4cf7af0083519f7eb9d96d5f;hpb=69d6ee6e54c463d2673a1c7809c12b4b8d7ff382;p=lttng-ust.git diff --git a/tests/hello-many/Makefile.am b/tests/hello-many/Makefile.am index 338b7986..d8f140b2 100644 --- a/tests/hello-many/Makefile.am +++ b/tests/hello-many/Makefile.am @@ -1,13 +1,8 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers +AM_CPPFLAGS += -I$(srcdir) -Wsystem-headers noinst_PROGRAMS = hello-many hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h -hello_many_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +hello_many_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS) hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) -if LTTNG_UST_BUILD_WITH_LIBDL -hello_many_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -hello_many_LDADD += -lc -endif +EXTRA_DIST = README