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