Make buildsystem use pkg-config to search for kcompat and liburcu
[lttng-ust.git] / hello / Makefile.am
index 81b4604e175a7ceb817eb169cc0ccf46651310e6..85b04b6679c23913a7421c62fa164eddb0f01755 100644 (file)
@@ -1,11 +1,6 @@
-bin_PROGRAMS = hello
-hello_SOURCES = hello.c tp.c tp.h $(top_builddir)/share/kref.c
-hello_LDADD = $(top_builddir)/libmarkers/libmarkers.la $(top_builddir)/libtracectl/libtracectl.la $(top_builddir)/libtracing/libtracing.la @URCU_PATH@/liburcu.so
-##hello_LDFLAGS = -L$(top_builddir)/libmarkers
+INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libust \
+       $(KCOMPAT_CFLAGS) $(URCU_CFLAGS)
 
-INCLUDES = -I$(top_builddir)/share
-INCLUDES += -I@URCU_PATH@
-INCLUDES += -I@KCOMPAT_PATH@
-INCLUDES += -I$(top_builddir)/libtracing
-INCLUDES += -I$(top_builddir)/libmarkers
-INCLUDES += -I$(top_builddir)/libtracectl
+noinst_PROGRAMS = hello
+hello_SOURCES = hello.c tp.c tp.h
+hello_LDADD = $(top_builddir)/libust/libust.la $(URCU_LIBS)
This page took 0.023897 seconds and 4 git commands to generate.