| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests -I$(srcdir) |
| 4 | |
| 5 | if HAVE_LIBLTTNG_UST_CTL |
| 6 | noinst_PROGRAMS = gen-ust-events |
| 7 | gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h |
| 8 | gen_ust_events_LDADD = $(UST_LIBS) $(DL_LIBS) |
| 9 | endif |
| 10 | |
| 11 | noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter |
| 12 | EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter |
| 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 |