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
698243ef
DG
1noinst_SCRIPTS = test_java_jul JTestLTTng.java
2EXTRA_DIST = test_java_jul JTestLTTng.java
37175ce4
DG
3
4if HAVE_JAVA_JDK
5JCC=$(JAVA_JDK)/bin/javac
6else
7JCC=javac
8endif
9
10JUL_JAR_FILE=$(java_jul_jar_path)
11
5f45beac
JG
12# Still need to copy test files in case of out of tree build
13if BUILD_JAVA_JUL
37175ce4 14
5f45beac 15all-local: static_file JTestLTTng.class
37175ce4
DG
16%.class: %.java
17 $(JCC) -d "$(builddir)" -cp "$(JUL_JAR_FILE):." $<
5f45beac
JG
18else
19all-local: static_file
20endif #BUILD_JAVA_JUL
37175ce4 21
5f45beac 22static_file:
37175ce4
DG
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
29clean-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
This page took 0.024405 seconds and 4 git commands to generate.