X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fhello.cxx%2FMakefile.am;h=9d809139f89ad9dfdc8e8e7d9d714c1f58451f30;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=4eace0efa5aa7a25b4209f3066e9ddf67bb11cfe;hpb=b6e4919f8a0787d493e23f4a67739f9038c75c0e;p=lttng-ust.git diff --git a/tests/hello.cxx/Makefile.am b/tests/hello.cxx/Makefile.am index 4eace0ef..9d809139 100644 --- a/tests/hello.cxx/Makefile.am +++ b/tests/hello.cxx/Makefile.am @@ -1,15 +1,7 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/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