|
|
|
@ -3,7 +3,8 @@ |
|
|
|
|
JAR = @JAR@
|
|
|
|
|
JAVAC = @JAVAC@
|
|
|
|
|
JAVADEP = $(top_builddir)/javaDependencies.pl -subdir=$(subdir)\
|
|
|
|
|
-dependdir=$(top_builddir) -classpath=$(top_builddir):$(top_srcdir)
|
|
|
|
|
-dependdir=$(top_builddir) -classpath=$(top_builddir):$(top_srcdir) \
|
|
|
|
|
-depfile=Makefile.dep
|
|
|
|
|
CLASSPATH = @CLASSPATH@
|
|
|
|
|
CLASSLIB = @CLASSLIB@
|
|
|
|
|
SUBSTCP = @SUBSTCP@
|
|
|
|
@ -17,13 +18,13 @@ MY_JAVA_FILES = \ |
|
|
|
|
noinst_DATA = $(MY_JAVA_FILES:.java=.class)
|
|
|
|
|
EXTRA_DIST = $(MY_JAVA_FILES)
|
|
|
|
|
|
|
|
|
|
@QUOTE@-include $(MY_JAVA_FILES:.java=.dep) |
|
|
|
|
@QUOTE@-include Makefile.dep |
|
|
|
|
|
|
|
|
|
%.class: %.java |
|
|
|
|
$(JAVAC) -classpath `$(SUBSTCP) $(BUILD_CLASSPATH):$(CLASSLIB)` -d $(top_builddir) $<
|
|
|
|
|
|
|
|
|
|
%.dep: %.class |
|
|
|
|
$(JAVADEP) $< >$@
|
|
|
|
|
Makefile.dep: $(MY_JAVA_FILES:.java=.class) |
|
|
|
|
$(JAVADEP) $^
|
|
|
|
|
|
|
|
|
|
clean-local: |
|
|
|
|
@rm -f *.class
|
|
|
|
|