Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents / Makefile.am
index 27dc1dc4a05e17f5a766edb775c781c532a14d31..c20910bd87e91721480d0d22f65b5192cf30f5f2 100644 (file)
@@ -1,9 +1,10 @@
-AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils
+AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils \
+       -I$(top_srcdir)/tests/utils/testapp
 
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-nevents
 gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
-gen_ust_nevents_LDADD = -llttng-ust -lurcu-bp \
+gen_ust_nevents_LDADD = $(UST_LIBS) \
                $(top_builddir)/tests/utils/libtestutils.la \
                $(DL_LIBS)
 endif
This page took 0.02733 seconds and 5 git commands to generate.