Version 2.5.7
[lttng-ust.git] / tests / java-jul / Makefile.am
index 6d3e2aabd77cb2d14b3c4e5399559ac3d22e07b3..0c5b464b211c82abe40b27a9c3615f176c7bee8d 100644 (file)
@@ -1,3 +1,5 @@
+EXTRA_DIST = test_jul JULTest.java
+
 if BUILD_JNI_INTERFACE
 
 if HAVE_JAVA_JDK
@@ -8,9 +10,7 @@ endif
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
 
-EXTRA_DIST = test_jul
-
-JUL_jar_file = "$(srcdir)/../../liblttng-ust-jul/liblttng-ust-jul.jar"
+JUL_jar_file = "$(builddir)/../../liblttng-ust-jul/liblttng-ust-jul.jar"
 
 default: all
 
@@ -20,6 +20,6 @@ clean-local:
        rm -f *.class
 
 JULTest.class: JULTest.java
-       $(JCC) -cp $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java"
+       $(JCC) -classpath $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java"
 
 endif
This page took 0.022929 seconds and 4 git commands to generate.