# Build targets
-%.class: %.java
- $(JAVAC) $?
+%.class: %.java
+ $(JAVAC) $?
VlcClient: $(OBJECTS)
$(JAVAC) VlcClient.java
all-am: VlcClient VLCExample
clean-local:
- rm -f *.class *~ org/videolan/jvlc/*.class org_videolan*.h src/*.o *.so *.o *.dll
+ rm -f *.class *~ org/videolan/jvlc/*.class src/*.o *.so *.o *.dll
endif
AC_PROG_JAVAC
AC_PROG_JAVA
PLUGINS_BINDINGS="${PLUGINS_BINDINGS} java"
+ if test "${JAVAC}" == "javac"
+ then
+ JAVAC="javac -cp ./ "
+ fi
fi
AM_CONDITIONAL(BUILD_JAVA, [test "${enable_java_bindings}" = "yes"])