Commit | Line | Data |
---|---|---|
ae941114 | 1 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ |
901cb87c JG |
2 | -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/utils/testapp \ |
3 | -I$(srcdir) -O2 -g | |
7e0cc23b CB |
4 | |
5 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
d7c54334 | 6 | LIBS += -ldl |
7e0cc23b CB |
7 | endif |
8 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
d7c54334 | 9 | LIBS += -lc |
7e0cc23b CB |
10 | endif |
11 | ||
12 | if HAVE_LIBLTTNG_UST_CTL | |
13 | noinst_PROGRAMS = gen-ust-events | |
14 | gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h | |
ae941114 JG |
15 | gen_ust_events_LDADD = -llttng-ust -lurcu-bp \ |
16 | $(top_builddir)/tests/utils/libtestutils.la | |
7e0cc23b | 17 | endif |