Cleanup: standardise include path
[lttng-ust.git] / tests / hello.cxx / Makefile.am
index f8a8f46df813afb8c07a45f9d7123af1f1ef7b11..9d809139f89ad9dfdc8e8e7d9d714c1f58451f30 100644 (file)
@@ -1,12 +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-cpp.cpp ust_tests_hello.h
-hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la
+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
+EXTRA_DIST = README
This page took 0.023452 seconds and 4 git commands to generate.