1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ -I$(srcdir)
5 LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
6 LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
8 noinst_PROGRAMS = schedule_api
9 schedule_api_SOURCES = schedule_api.c
10 schedule_api_LDADD = $(LIBTAP) $(LIBLTTNG_CTL)
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
16 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
17 for script in $(EXTRA_DIST); do \
18 cp -f $(srcdir)/$$script $(builddir); \
23 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
24 for script in $(EXTRA_DIST); do \
25 rm -f $(builddir)/$$script; \