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
37175ce4 1
698243ef
DG
2noinst_SCRIPTS = test_java_jul JTestLTTng.java
3EXTRA_DIST = test_java_jul JTestLTTng.java
37175ce4
DG
4
5if HAVE_JAVA_JDK
6JCC=$(JAVA_JDK)/bin/javac
7else
8JCC=javac
9endif
10
504d4ace 11AGENT_JAR_FILE=$(java_agent_jar_path)
37175ce4 12
37175ce4 13
249a620d
JR
14# Still need to copy test files in case of out of tree build
15if BUILD_JAVA_AGENT
16all-local: static_file JTestLTTng.class
37175ce4 17%.class: %.java
504d4ace 18 $(JCC) -d "$(builddir)" -cp "$(AGENT_JAR_FILE):." $<
249a620d
JR
19else
20all-local: static_file
21endif # BUILD_JAVA_AGENT
37175ce4 22
37175ce4 23
249a620d 24static_file:
37175ce4
DG
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
249a620d 31
37175ce4
DG
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.025564 seconds and 4 git commands to generate.