if PYTHONFOUND
PYTHONDIR = python
endif
+if JAVAFOUND
+JAVADIR = interfaces/java
endif
+endif
+
-SUBDIRS = src ext cpp examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(DOC)
+SUBDIRS = src examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(JAVADIR) $(DOC) tests
EXTRA_DIST = bootstrap VERSION
docs: