302d2efda36f5681da29b5e200435354eff70d6a
[lttng-tools.git] / tests / regression / ust / java-jul / Makefile.am
1 if BUILD_JAVA_JUL
2
3 noinst_SCRIPTS = test_java_jul JTestLTTng.java
4 EXTRA_DIST = test_java_jul JTestLTTng.java
5
6 if HAVE_JAVA_JDK
7 JCC=$(JAVA_JDK)/bin/javac
8 else
9 JCC=javac
10 endif
11
12 JUL_JAR_FILE=$(java_jul_jar_path)
13
14 all-local: JTestLTTng.class
15
16 %.class: %.java
17 $(JCC) -d "$(builddir)" -cp "$(JUL_JAR_FILE):." $<
18
19 JTestLTTng.class: JTestLTTng.java
20
21 all-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
28 clean-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
36 endif # BUILD_JAVA_JUL
This page took 0.039601 seconds and 3 git commands to generate.