| 1 | AM_CFLAGS = -I$(srcdir) -O2 |
| 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 -lurcu |
| 14 | |
| 15 | noinst_SCRIPTS = test_low_throughput |
| 16 | EXTRA_DIST = test_low_throughput |
| 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 |