Add liblttng-ust-jul for JUL support
[lttng-ust.git] / tests / java-jul / Makefile.am
diff --git a/tests/java-jul/Makefile.am b/tests/java-jul/Makefile.am
new file mode 100644 (file)
index 0000000..6d3e2aa
--- /dev/null
@@ -0,0 +1,25 @@
+if BUILD_JNI_INTERFACE
+
+if HAVE_JAVA_JDK
+JCC=$(JAVA_JDK)/bin/javac
+else
+JCC=javac
+endif
+
+AM_CPPFLAGS = -I$(top_srcdir)/include
+
+EXTRA_DIST = test_jul
+
+JUL_jar_file = "$(srcdir)/../../liblttng-ust-jul/liblttng-ust-jul.jar"
+
+default: all
+
+all: JULTest.class
+
+clean-local:
+       rm -f *.class
+
+JULTest.class: JULTest.java
+       $(JCC) -cp $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java"
+
+endif
This page took 0.023044 seconds and 4 git commands to generate.