2 noinst_SCRIPTS = test_java_log4j JTestLTTng.java
3 EXTRA_DIST = test_java_log4j JTestLTTng.java
6 JCC=$(JAVA_JDK)/bin/javac
11 # We still need to copy static files for out of tree and dist build
12 if BUILD_JAVA_LOG4J_AGENT
13 all-local: static_file JTestLTTng.class
16 $(JCC) -d "$(builddir)" $(JAVACFLAGS) $<
18 all-local: static_file
19 endif # BUILD_JAVA_LOG4J_AGENT
21 JTestLTTng.class: JTestLTTng.java
24 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
25 for script in $(EXTRA_DIST); do \
26 cp -f $(srcdir)/$$script $(builddir); \
32 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
33 for script in $(EXTRA_DIST); do \
34 rm -f $(builddir)/$$script; \