| 1 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -I$(srcdir) -O2 -g |
| 2 | AM_LDFLAGS = |
| 3 | |
| 4 | if LTTNG_TOOLS_BUILD_WITH_LIBDL |
| 5 | LIBS += -ldl |
| 6 | endif |
| 7 | if LTTNG_TOOLS_BUILD_WITH_LIBC_DL |
| 8 | LIBS += -lc |
| 9 | endif |
| 10 | |
| 11 | noinst_SCRIPTS = test_event_wildcard |
| 12 | EXTRA_DIST = test_event_wildcard |
| 13 | |
| 14 | all-local: |
| 15 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 16 | for script in $(EXTRA_DIST); do \ |
| 17 | cp -f $(srcdir)/$$script $(builddir); \ |
| 18 | done; \ |
| 19 | fi |
| 20 | |
| 21 | clean-local: |
| 22 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 23 | for script in $(EXTRA_DIST); do \ |
| 24 | rm -f $(builddir)/$$script; \ |
| 25 | done; \ |
| 26 | fi |