Commit | Line | Data |
---|---|---|
87e96404 | 1 | AM_CPPFLAGS += -I$(srcdir) |
e72d66a6 DG |
2 | |
3 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
d7c54334 | 4 | LIBS += -ldl |
e72d66a6 DG |
5 | endif |
6 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
d7c54334 | 7 | LIBS += -lc |
e72d66a6 DG |
8 | endif |
9 | ||
10 | noinst_PROGRAMS = gen-events | |
11 | gen_events_SOURCES = main.c tp.c tp.h | |
12 | gen_events_LDADD = -llttng-ust | |
13 | ||
e5be53a0 CB |
14 | noinst_SCRIPTS = test_high_throughput |
15 | EXTRA_DIST = test_high_throughput | |
c83e7ca0 DG |
16 | |
17 | all-local: | |
18 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
19 | for script in $(EXTRA_DIST); do \ | |
20 | cp -f $(srcdir)/$$script $(builddir); \ | |
21 | done; \ | |
22 | fi | |
23 | ||
24 | clean-local: | |
25 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
26 | for script in $(EXTRA_DIST); do \ | |
27 | rm -f $(builddir)/$$script; \ | |
28 | done; \ | |
29 | fi |