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