summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am')
-rw-r--r--dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am b/dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am
index 975d2826..06613c6d 100644
--- a/dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am
+++ b/dcopjava/binding/org/trinitydesktop/DCOP/Makefile.am
@@ -4,6 +4,10 @@ classdir = $(kde_libraries)/java/org/trinitydesktop/DCOP
SUFFIXES = .java .class
.java.class:
- CLASSPATH=$(top_srcdir)/dcopjava/binding $(JAVAC) -d ../../../ -cp ../../../ $(top_srcdir)/dcopjava/binding/org/trinitydesktop/DCOP/$*.java
+ if $(JAVA8); then \
+ CLASSPATH=$(top_srcdir)/dcopjava/binding $(JAVAC) -d ../../../ -cp ../../../ $(top_srcdir)/dcopjava/binding/org/trinitydesktop/DCOP/$*.java -h ../../..; \
+ else \
+ CLASSPATH=$(top_srcdir)/dcopjava/binding $(JAVAC) -d ../../../ -cp ../../../ $(top_srcdir)/dcopjava/binding/org/trinitydesktop/DCOP/$*.java; \
+ fi
CLEANFILES = $(class_DATA)