X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events%2FMakefile.am;fp=tests%2Futils%2Ftestapp%2Fgen-ust-events%2FMakefile.am;h=1be58353c5429b4a696b1f7ad00ea5f031c8b876;hb=7e0cc23bbca1f5102cae78a7cabe48d8ef947366;hp=0000000000000000000000000000000000000000;hpb=c1e91a72b549afc9e7fe904b7ef9c1b670cfa775;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events/Makefile.am b/tests/utils/testapp/gen-ust-events/Makefile.am new file mode 100644 index 000000000..1be58353c --- /dev/null +++ b/tests/utils/testapp/gen-ust-events/Makefile.am @@ -0,0 +1,15 @@ +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -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