Fix: test: java-jul:missing static test files for dist and out of tree build
[lttng-tools.git] / tests / regression / ust / java-log4j / Makefile.am
CommitLineData
504d4ace
DG
1if BUILD_JAVA_LOG4J_AGENT
2
3noinst_SCRIPTS = test_java_log4j JTestLTTng.java
4EXTRA_DIST = test_java_log4j JTestLTTng.java
5
6if HAVE_JAVA_JDK
7JCC=$(JAVA_JDK)/bin/javac
8else
9JCC=javac
10endif
11
12all-local: JTestLTTng.class
13
14%.class: %.java
15 $(JCC) -d "$(builddir)" $(JAVACFLAGS) $<
16
17JTestLTTng.class: JTestLTTng.java
18
19all-local:
20 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
21 for script in $(EXTRA_DIST); do \
22 cp -f $(srcdir)/$$script $(builddir); \
23 done; \
24 fi
25
26clean-local:
27 rm -f *.class
28 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
29 for script in $(EXTRA_DIST); do \
30 rm -f $(builddir)/$$script; \
31 done; \
32 fi
33
34endif # BUILD_JAVA_LOG4J_AGENT
This page took 0.023234 seconds and 4 git commands to generate.