| 1 | AM_CFLAGS += -I$(srcdir) |
| 2 | |
| 3 | if LTTNG_TOOLS_BUILD_WITH_LIBDL |
| 4 | LIBS += -ldl |
| 5 | endif |
| 6 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL |
| 7 | LIBS += -lc |
| 8 | endif |
| 9 | |
| 10 | noinst_PROGRAMS = gen-nevents |
| 11 | gen_nevents_SOURCES = gen-nevents.c tp.c ust_gen_nevents.h |
| 12 | gen_nevents_LDADD = -llttng-ust -lurcu-bp |
| 13 | |
| 14 | noinst_SCRIPTS = test_multi_session |
| 15 | EXTRA_DIST = test_multi_session |
| 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 |