X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fjava-jul%2FMakefile.am;h=877237fffd02d47d37c65630f18b226e34a51836;hb=1258a6f79db6e22c377c8d7ce9d0d895dd6a7a91;hp=286e3df2293611f2888cbd8603529de6c5eea937;hpb=b185faf768cf125899d6182df8f49c45b61f7fa5;p=lttng-tools.git diff --git a/tests/regression/ust/java-jul/Makefile.am b/tests/regression/ust/java-jul/Makefile.am index 286e3df22..877237fff 100644 --- a/tests/regression/ust/java-jul/Makefile.am +++ b/tests/regression/ust/java-jul/Makefile.am @@ -1,25 +1,13 @@ +JAVAROOT = . noinst_SCRIPTS = test_java_jul JTestLTTng.java EXTRA_DIST = test_java_jul JTestLTTng.java -if HAVE_JAVA_JDK -JCC=$(JAVA_JDK)/bin/javac -else -JCC=javac -endif +if BUILD_JAVA_JUL_AGENT +dist_noinst_JAVA = JTestLTTng.java +endif # BUILD_JAVA_JUL_AGENT -AGENT_JAR_FILE=$(java_agent_jar_path) - - -# Still need to copy test files in case of out of tree build -if BUILD_JAVA_AGENT -all-local: static_file JTestLTTng.class -%.class: %.java - $(JCC) -d "$(builddir)" -cp "$(AGENT_JAR_FILE):." $< -else all-local: static_file -endif # BUILD_JAVA_AGENT - static_file: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ @@ -28,7 +16,6 @@ static_file: done; \ fi - clean-local: rm -f *.class @if [ x"$(srcdir)" != x"$(builddir)" ]; then \