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