Fix: lttng-snapshot: use after free of max size argument
[lttng-tools.git] / tests / regression / ust / java-jul / Makefile.am
index 7d713a9a5d1a8c428a72bcac13d90fc3bbbc2814..5748c7ce1c73d5126dc9ce45d2d7a2236fbeb5eb 100644 (file)
@@ -1,24 +1,17 @@
-if BUILD_JAVA_JUL
+# SPDX-License-Identifier: GPL-2.0-only
 
-noinst_SCRIPTS = test_java_jul
-EXTRA_DIST = test_java_jul
+JAVAROOT = .
 
-if HAVE_JAVA_JDK
-JCC=$(JAVA_JDK)/bin/javac
-else
-JCC=javac
-endif
+noinst_SCRIPTS = test_java_jul JTestLTTng.java
+EXTRA_DIST = test_java_jul JTestLTTng.java
 
-JUL_JAR_FILE=$(java_jul_jar_path)
+if TEST_JAVA_JUL_AGENT
+dist_noinst_JAVA = JTestLTTng.java
+endif # TEST_JAVA_JUL_AGENT
 
-all-local: JTestLTTng.class
+all-local: static_file
 
-%.class: %.java
-       $(JCC) -d "$(builddir)" -cp "$(JUL_JAR_FILE):." $<
-
-JTestLTTng.class: JTestLTTng.java
-
-all-local:
+static_file:
        @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
                for script in $(EXTRA_DIST); do \
                        cp -f $(srcdir)/$$script $(builddir); \
@@ -33,4 +26,3 @@ clean-local:
                done; \
        fi
 
-endif # BUILD_JAVA_JUL
This page took 0.031727 seconds and 4 git commands to generate.