Commit | Line | Data |
---|---|---|
74130cb7 | 1 | AM_CFLAGS = -I$(srcdir) -O2 |
e72d66a6 DG |
2 | AM_LDFLAGS = -llttng-ust |
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 | noinst_PROGRAMS = gen-events | |
12 | gen_events_SOURCES = main.c tp.c tp.h | |
13 | gen_events_LDADD = -llttng-ust | |
14 | ||
e5be53a0 CB |
15 | noinst_SCRIPTS = test_high_throughput |
16 | EXTRA_DIST = test_high_throughput | |
c83e7ca0 DG |
17 | |
18 | all-local: | |
19 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
20 | for script in $(EXTRA_DIST); do \ | |
21 | cp -f $(srcdir)/$$script $(builddir); \ | |
22 | done; \ | |
23 | fi | |
24 | ||
25 | clean-local: | |
26 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
27 | for script in $(EXTRA_DIST); do \ | |
28 | rm -f $(builddir)/$$script; \ | |
29 | done; \ | |
30 | fi |