Commit | Line | Data |
---|---|---|
0fd2fd15 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
3 | JAVAROOT = . | |
4 | ||
5 | noinst_SCRIPTS = \ | |
d75ff3a0 MJ |
6 | test_agent_log4j2_domain_log4j \ |
7 | test_agent_log4j2_domain_log4j2 | |
0fd2fd15 MJ |
8 | |
9 | EXTRA_DIST = \ | |
d75ff3a0 | 10 | domain-log4j2.xml \ |
0fd2fd15 | 11 | domain-log4j.xml \ |
d75ff3a0 MJ |
12 | JTestLTTngLog4j2.java \ |
13 | test_agent_log4j2_domain_log4j \ | |
14 | test_agent_log4j2_domain_log4j2 | |
0fd2fd15 MJ |
15 | |
16 | if TEST_JAVA_LOG4J2_AGENT | |
17 | dist_noinst_JAVA = JTestLTTngLog4j2.java | |
18 | endif # TEST_JAVA_LOG4J2_AGENT | |
19 | ||
20 | all-local: static_file | |
21 | ||
22 | static_file: | |
23 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
24 | for script in $(EXTRA_DIST); do \ | |
25 | cp -f $(srcdir)/$$script $(builddir); \ | |
26 | done; \ | |
27 | fi | |
28 | ||
29 | clean-local: | |
30 | rm -f *.class | |
31 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
32 | for script in $(EXTRA_DIST); do \ | |
33 | rm -f $(builddir)/$$script; \ | |
34 | done; \ | |
35 | fi |