Test: java-jul:missing static test files for dist and out of tree build
[lttng-tools.git] / tests / regression / ust / java-jul / Makefile.am
1 noinst_SCRIPTS = test_java_jul JTestLTTng.java
2 EXTRA_DIST = test_java_jul JTestLTTng.java
3
4 if HAVE_JAVA_JDK
5 JCC=$(JAVA_JDK)/bin/javac
6 else
7 JCC=javac
8 endif
9
10 JUL_JAR_FILE=$(java_jul_jar_path)
11
12 # Still need to copy test files in case of out of tree build
13 if BUILD_JAVA_JUL
14
15 all-local: static_file JTestLTTng.class
16 %.class: %.java
17 $(JCC) -d "$(builddir)" -cp "$(JUL_JAR_FILE):." $<
18 else
19 all-local: static_file
20 endif #BUILD_JAVA_JUL
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
This page took 0.03055 seconds and 4 git commands to generate.