Tests: add regression test for Java JUL support
[lttng-tools.git] / tests / regression / ust / java-jul / Makefile.am
CommitLineData
37175ce4
DG
1if BUILD_JAVA_JUL
2
3noinst_SCRIPTS = test_java_jul
4EXTRA_DIST = test_java_jul
5
6if HAVE_JAVA_JDK
7JCC=$(JAVA_JDK)/bin/javac
8else
9JCC=javac
10endif
11
12JUL_JAR_FILE=$(java_jul_jar_path)
13
14all-local: JTestLTTng.class
15
16%.class: %.java
17 $(JCC) -d "$(builddir)" -cp "$(JUL_JAR_FILE):." $<
18
19JTestLTTng.class: JTestLTTng.java
20
21all-local:
22 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
23 for script in $(EXTRA_DIST); do \
24 cp -f $(srcdir)/$$script $(builddir); \
25 done; \
26 fi
27
28clean-local:
29 rm -f *.class
30 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
31 for script in $(EXTRA_DIST); do \
32 rm -f $(builddir)/$$script; \
33 done; \
34 fi
35
36endif # BUILD_JAVA_JUL
This page took 0.031634 seconds and 4 git commands to generate.