X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fhello.cxx%2FMakefile.am;h=f8a718b43438950db5a638ce5c0016cdadeb73d1;hb=e6e508c974088acd37ab97753632745f30eabe3e;hp=f56f431c70f9800c74ffa37b2d63dfd4a88e9f32;hpb=e3feda7db3de3530e7c9c511536c36cccf317013;p=lttng-ust.git diff --git a/tests/hello.cxx/Makefile.am b/tests/hello.cxx/Makefile.am index f56f431c..f8a718b4 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$(top_srcdir)/include -I$(top_builddir)/include -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