Fix: Don't override user variables within the build system
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents / Makefile.am
index ace00160b2511cd98402a4196d3dfd8a7b711aca..24f64b2c6ed204a3cf1bdcd242bc8ec91c62e30e 100644 (file)
@@ -1,5 +1,4 @@
-AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g
-AM_LDFLAGS =
+AM_CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/tests/utils
 
 if LTTNG_TOOLS_BUILD_WITH_LIBDL
 LIBS += -ldl
@@ -11,5 +10,6 @@ endif
 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 = -llttng-ust -lurcu-bp \
+               $(top_builddir)/tests/utils/libtestutils.la
 endif
This page took 0.025063 seconds and 5 git commands to generate.