X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftools%2Ffiltering%2FMakefile.am;h=e1e715da49f23a9fdf129f607fcce1c3316a0f71;hp=5f3423a1e14cc56b7f0793e3f25ae50787358e49;hb=ffadb7d34f0cfd59405e075d84dc10512e832446;hpb=b2a325c4360993fd3789a168c2225ec239fa149e diff --git a/tests/tools/filtering/Makefile.am b/tests/tools/filtering/Makefile.am index 5f3423a1e..e1e715da4 100644 --- a/tests/tools/filtering/Makefile.am +++ b/tests/tools/filtering/Makefile.am @@ -1,2 +1,18 @@ -noinst_SCRIPTS = unsupported-ops invalid-filters -EXTRA_DIST = unsupported-ops invalid-filters +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -I$(srcdir) -O2 -g +AM_LDFLAGS = + +if LTTNG_TOOLS_BUILD_WITH_LIBDL +AM_LDFLAGS += -ldl +endif +if LTTNG_TOOLS_BUILD_WITH_LIBC_DL +AM_LDFLAGS += -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 +endif + +noinst_SCRIPTS = runall unsupported-ops invalid-filters valid-filters babelstats.pl +EXTRA_DIST = runall unsupported-ops invalid-filters valid-filters babelstats.pl