| 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 | java-log4j2 \ |
| 17 | libc-wrapper \ |
| 18 | linking \ |
| 19 | low-throughput \ |
| 20 | multi-lib \ |
| 21 | multi-session \ |
| 22 | namespaces \ |
| 23 | nprocesses \ |
| 24 | overlap \ |
| 25 | periodical-metadata-flush \ |
| 26 | rotation-destroy-flush \ |
| 27 | type-declarations |
| 28 | |
| 29 | if HAVE_OBJCOPY |
| 30 | SUBDIRS += \ |
| 31 | baddr-statedump \ |
| 32 | ust-dl |
| 33 | endif |
| 34 | |
| 35 | EXTRA_DIST = \ |
| 36 | test_event_basic \ |
| 37 | test_event_perf \ |
| 38 | test_event_tracef |
| 39 | |
| 40 | all-local: |
| 41 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 42 | for script in $(EXTRA_DIST); do \ |
| 43 | cp -f $(srcdir)/$$script $(builddir); \ |
| 44 | done; \ |
| 45 | fi |
| 46 | |
| 47 | clean-local: |
| 48 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 49 | for script in $(EXTRA_DIST); do \ |
| 50 | rm -f $(builddir)/$$script; \ |
| 51 | done; \ |
| 52 | fi |
| 53 | |
| 54 | endif |