| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ -I$(srcdir) |
| 4 | |
| 5 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la |
| 6 | LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la |
| 7 | |
| 8 | noinst_PROGRAMS = schedule_api |
| 9 | schedule_api_SOURCES = schedule_api.c |
| 10 | schedule_api_LDADD = $(LIBTAP) $(LIBLTTNG_CTL) |
| 11 | |
| 12 | noinst_SCRIPTS = test_kernel test_ust test_ust_kernel test_save_load_mi test_schedule_api rotate_utils.sh |
| 13 | EXTRA_DIST = test_kernel test_ust test_ust_kernel test_save_load_mi test_schedule_api rotate_utils.sh |
| 14 | |
| 15 | all-local: |
| 16 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 17 | for script in $(EXTRA_DIST); do \ |
| 18 | cp -f $(srcdir)/$$script $(builddir); \ |
| 19 | done; \ |
| 20 | fi |
| 21 | |
| 22 | clean-local: |
| 23 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 24 | for script in $(EXTRA_DIST); do \ |
| 25 | rm -f $(builddir)/$$script; \ |
| 26 | done; \ |
| 27 | fi |