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