Test: Add the new log4j agent
[lttng-tools.git] / tests / regression / ust / java-jul / Makefile.am
CommitLineData
504d4ace 1if BUILD_JAVA_AGENT
37175ce4 2
698243ef
DG
3noinst_SCRIPTS = test_java_jul JTestLTTng.java
4EXTRA_DIST = test_java_jul JTestLTTng.java
37175ce4
DG
5
6if HAVE_JAVA_JDK
7JCC=$(JAVA_JDK)/bin/javac
8else
9JCC=javac
10endif
11
504d4ace 12AGENT_JAR_FILE=$(java_agent_jar_path)
37175ce4
DG
13
14all-local: JTestLTTng.class
15
16%.class: %.java
504d4ace 17 $(JCC) -d "$(builddir)" -cp "$(AGENT_JAR_FILE):." $<
37175ce4
DG
18
19JTestLTTng.class: JTestLTTng.java
20
21all-local:
22 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
23 for script in $(EXTRA_DIST); do \
24 cp -f $(srcdir)/$$script $(builddir); \
25 done; \
26 fi
27
28clean-local:
29 rm -f *.class
30 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
31 for script in $(EXTRA_DIST); do \
32 rm -f $(builddir)/$$script; \
33 done; \
34 fi
35
504d4ace 36endif # BUILD_JAVA_AGENT
This page took 0.024528 seconds and 4 git commands to generate.