Commit | Line | Data |
---|---|---|
343af227 | 1 | AM_CPPFLAGS += -I$(top_srcdir)/tests -I$(srcdir) |
9fec62f7 CB |
2 | |
3 | if LTTNG_TOOLS_BUILD_WITH_LIBDL | |
d7c54334 | 4 | LIBS += -ldl |
9fec62f7 CB |
5 | endif |
6 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL | |
d7c54334 | 7 | LIBS += -lc |
9fec62f7 CB |
8 | endif |
9 | ||
10 | if HAVE_LIBLTTNG_UST_CTL | |
11 | noinst_PROGRAMS = gen-ust-events | |
12 | gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h | |
32f754b3 | 13 | gen_ust_events_LDADD = -llttng-ust -lurcu-bp |
9fec62f7 CB |
14 | endif |
15 | ||
9d806fbf CB |
16 | noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter |
17 | EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter | |
c83e7ca0 DG |
18 | |
19 | all-local: | |
20 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
21 | for script in $(EXTRA_DIST); do \ | |
22 | cp -f $(srcdir)/$$script $(builddir); \ | |
23 | done; \ | |
24 | fi | |
25 | ||
26 | clean-local: | |
27 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
28 | for script in $(EXTRA_DIST); do \ | |
29 | rm -f $(builddir)/$$script; \ | |
30 | done; \ | |
31 | fi |