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