| 1 | AM_CPPFLAGS = -I$(srcdir) |
| 2 | |
| 3 | noinst_PROGRAMS = exit-fast |
| 4 | exit_fast_SOURCES = exit-fast.c ust_tests_exitfast.h |
| 5 | exit_fast_LDADD = -llttng-ust |
| 6 | |
| 7 | if LTTNG_TOOLS_BUILD_WITH_LIBDL |
| 8 | exit_fast_LDADD += -ldl |
| 9 | endif |
| 10 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL |
| 11 | exit_fast_LDADD += -lc |
| 12 | endif |
| 13 | |
| 14 | noinst_SCRIPTS = test_exit-fast test_exit-fast.py |
| 15 | EXTRA_DIST = test_exit-fast test_exit-fast.py |
| 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 |