Commit | Line | Data |
---|---|---|
cfff0cd5 MD |
1 | EXTRA_DIST = test_jul JULTest.java |
2 | ||
43e5396b DG |
3 | if BUILD_JNI_INTERFACE |
4 | ||
5 | if HAVE_JAVA_JDK | |
6 | JCC=$(JAVA_JDK)/bin/javac | |
7 | else | |
8 | JCC=javac | |
9 | endif | |
10 | ||
11 | AM_CPPFLAGS = -I$(top_srcdir)/include | |
12 | ||
16b36e55 | 13 | JUL_jar_file = "$(builddir)/../../liblttng-ust-jul/liblttng-ust-jul.jar" |
43e5396b DG |
14 | |
15 | default: all | |
16 | ||
17 | all: JULTest.class | |
18 | ||
19 | clean-local: | |
20 | rm -f *.class | |
21 | ||
22 | JULTest.class: JULTest.java | |
23 | $(JCC) -cp $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java" | |
24 | ||
25 | endif |