| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | JAVAROOT = . |
| 4 | |
| 5 | noinst_SCRIPTS = test_java_log4j JTestLTTng.java |
| 6 | EXTRA_DIST = test_java_log4j JTestLTTng.java |
| 7 | |
| 8 | if TEST_JAVA_LOG4J_AGENT |
| 9 | dist_noinst_JAVA = JTestLTTng.java |
| 10 | endif # TEST_JAVA_LOG4J_AGENT |
| 11 | |
| 12 | all-local: static_file |
| 13 | |
| 14 | static_file: |
| 15 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 16 | for script in $(EXTRA_DIST); do \ |
| 17 | cp -f $(srcdir)/$$script $(builddir); \ |
| 18 | done; \ |
| 19 | fi |
| 20 | |
| 21 | clean-local: |
| 22 | rm -f *.class |
| 23 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 24 | for script in $(EXTRA_DIST); do \ |
| 25 | rm -f $(builddir)/$$script; \ |
| 26 | done; \ |
| 27 | fi |
| 28 | |