Add in missing javahl-java and javahl-javah dependencies
This patch fixes the dependency problems with javahl-java and
javahl-javah by making all .class files dependent on all .java files
PROBLEM:
- We don't currently have any system for parsing the Java dependencies
CURRENT SOLUTION:
- Make each %.class file dependent on its associated %.java file. This
is clearly wrong because, sometimes, if you change one .java file,
other .class will need to be recompiled.
- Because the dependencies are wrong, always rebuild the .class files,
regardless of the dependencies.
A BETTER SOLUTION: (implemented by this patch)
- Make each of the .class files dependent on all of the .java files
- With the new, correct dependencies, make will know when to rebuild
the .class files (i.e. only when the .java files change!)
Q: Why not just parse the dependencies from the Java files?
A: We could. But that solution might be overkill, considering that we
don't have a lot of Java files. We'd also need to require that users
install jikes (or a similar dependency-checker).
The patch is attached.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 9 22:07:55 2004