X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftools%2Ffiltering%2FMakefile.am;h=a3bf8666d7a0846bbcbf427f68955add472715b0;hp=df99e27f62f8d8a2ec60103acfb293fd2c70c477;hb=9fec62f705e2143ae8ac72cf0ab1c36245aceda7;hpb=d8865498212833e7b4d6d67b81426a4ddc04bafe diff --git a/tests/tools/filtering/Makefile.am b/tests/tools/filtering/Makefile.am index df99e27f6..a3bf8666d 100644 --- a/tests/tools/filtering/Makefile.am +++ b/tests/tools/filtering/Makefile.am @@ -1,2 +1,18 @@ -noinst_SCRIPTS = unsupported-ops invalid-filters babelstats.pl -EXTRA_DIST = unsupported-ops invalid-filters babelstats.pl +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 = unsupported-ops invalid-filters valid-filters babelstats.pl +EXTRA_DIST = unsupported-ops invalid-filters valid-filters babelstats.pl