Fix: Don't override user variables within the build system
[lttng-tools.git] / tests / utils / testapp / gen-ust-events / Makefile.am
index 9372423b33c8f5ef531f3f8800fba674f8000acc..9700eac693a9f22707db392ade5228297da9748c 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$(top_srcdir)/tests/utils -I$(srcdir)
 
 if LTTNG_TOOLS_BUILD_WITH_LIBDL
 LIBS += -ldl
@@ -11,5 +10,6 @@ endif
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-events
 gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
-gen_ust_events_LDADD = -llttng-ust -lurcu-bp
+gen_ust_events_LDADD = -llttng-ust -lurcu-bp \
+               $(top_builddir)/tests/utils/libtestutils.la
 endif
This page took 0.02525 seconds and 4 git commands to generate.