Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / src / common / ust-consumer / Makefile.am
index ab8d38add5fc1fe5b3608ceee8446c9cfce4e7a0..1df8b53c0836b2857ba7a3e85ac3658b03e83a4e 100644 (file)
@@ -1,13 +1,11 @@
 if HAVE_LIBLTTNG_UST_CTL
 
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
-
 noinst_LTLIBRARIES = libust-consumer.la
 
 libust_consumer_la_SOURCES = ust-consumer.c ust-consumer.h
 
 libust_consumer_la_LIBADD = \
-                       -llttng-ust-ctl \
+                       $(UST_CTL_LIBS) \
                        $(top_builddir)/src/common/relayd/librelayd.la
 
 endif
This page took 0.02325 seconds and 4 git commands to generate.