Commit | Line | Data |
---|---|---|
7e0cc23b CB |
1 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g |
2 | AM_LDFLAGS = | |
3 | ||
4 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
5 | AM_LDFLAGS += -ldl | |
6 | endif | |
7 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
8 | AM_LDFLAGS += -lc | |
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 | |
14 | gen_ust_events_LDADD = -llttng-ust | |
15 | endif |