Commit | Line | Data |
---|---|---|
1 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ | |
2 | -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/utils/testapp \ | |
3 | -I$(srcdir) -O2 -g | |
4 | ||
5 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
6 | LIBS += -ldl | |
7 | endif | |
8 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
9 | LIBS += -lc | |
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 | |
15 | gen_ust_events_LDADD = -llttng-ust -lurcu-bp \ | |
16 | $(top_builddir)/tests/utils/libtestutils.la | |
17 | endif |