X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fhello.cxx%2FMakefile.am;h=9d809139f89ad9dfdc8e8e7d9d714c1f58451f30;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=f56f431c70f9800c74ffa37b2d63dfd4a88e9f32;hpb=c6c454ab6ca9d19041d4f16e6139b514fe1b954f;p=lttng-ust.git diff --git a/tests/hello.cxx/Makefile.am b/tests/hello.cxx/Makefile.am index f56f431c..9d809139 100644 --- a/tests/hello.cxx/Makefile.am +++ b/tests/hello.cxx/Makefile.am @@ -1,15 +1,7 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -Wsystem-headers +AM_CPPFLAGS += -I$(srcdir) -Wsystem-headers noinst_PROGRAMS = hello -hello_SOURCES = hello.cpp tp.c ust_tests_hello.h -hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +hello_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h +hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS) -if LTTNG_UST_BUILD_WITH_LIBDL -hello_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -hello_LDADD += -lc -endif - -noinst_SCRIPTS = run -EXTRA_DIST = run +EXTRA_DIST = README