Cleanup: standardise include path
[lttng-ust.git] / tests / hello.cxx / Makefile.am
index f56f431c70f9800c74ffa37b2d63dfd4a88e9f32..9d809139f89ad9dfdc8e8e7d9d714c1f58451f30 100644 (file)
@@ -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
This page took 0.024557 seconds and 4 git commands to generate.