X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events%2FMakefile.am;h=3945f779f4b8227d83b13b663df04f66897da7f4;hb=901cb87ccbcde99a10770f79df42c27f2f2d6eb7;hp=0e726d11cedb97b448ebacb71e174ca7e95bea9c;hpb=32f754b34658ed4bda092acc56ec3cdb28e4fe98;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events/Makefile.am b/tests/utils/testapp/gen-ust-events/Makefile.am index 0e726d11c..3945f779f 100644 --- a/tests/utils/testapp/gen-ust-events/Makefile.am +++ b/tests/utils/testapp/gen-ust-events/Makefile.am @@ -1,15 +1,17 @@ -AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g -AM_LDFLAGS = +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ + -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/utils/testapp \ + -I$(srcdir) -O2 -g if LTTNG_TOOLS_BUILD_WITH_LIBDL -AM_LDFLAGS += -ldl +LIBS += -ldl endif if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -AM_LDFLAGS += -lc +LIBS += -lc 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