| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | if HAVE_LIBLTTNG_UST_CTL |
| 4 | SUBDIRS = nprocesses high-throughput low-throughput before-after multi-session \ |
| 5 | overlap buffers-pid linking daemon exit-fast fork libc-wrapper \ |
| 6 | periodical-metadata-flush java-jul java-log4j python-logging \ |
| 7 | getcpu-override clock-override type-declarations \ |
| 8 | rotation-destroy-flush blocking multi-lib namespaces |
| 9 | |
| 10 | if HAVE_OBJCOPY |
| 11 | SUBDIRS += baddr-statedump ust-dl |
| 12 | endif |
| 13 | |
| 14 | EXTRA_DIST = test_event_basic test_event_tracef test_event_perf |
| 15 | |
| 16 | all-local: |
| 17 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 18 | for script in $(EXTRA_DIST); do \ |
| 19 | cp -f $(srcdir)/$$script $(builddir); \ |
| 20 | done; \ |
| 21 | fi |
| 22 | |
| 23 | clean-local: |
| 24 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 25 | for script in $(EXTRA_DIST); do \ |
| 26 | rm -f $(builddir)/$$script; \ |
| 27 | done; \ |
| 28 | fi |
| 29 | |
| 30 | endif |