This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix libjava parallel make problems
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: GCJ Patches <java-patches at gcc dot gnu dot org>, Andrew Haley <aph at redhat dot com>
- Date: Fri, 29 Aug 2003 08:04:24 -0500
- Subject: Re: Patch: Fix libjava parallel make problems
- Reply-to: gnustuff at thisiscool dot com
Hi Andrew,
> > Mohan> +all_java_class_files = $(all_java_source_files:.java=.class)
> > Mohan> +$(all_java_class_files): libgcj-@gcc_version@.jar
> >
> > Please add a comment before the definition of all_java_class_files
> > explaining the logic.
>
>Yeah, please do. I don't understand this at all. :-)
Never! This is Tom's and my little secret....
No seriously, I checked it in last night with this comment, which
hopefully makes things a bit clearer than mud:
+
+# This next rule seems backward, but reflects the fact
+# that 1) all classfiles are compiled in one go when the
+# libgcj jarfile is built and 2) anything which depends
+# on a particular .class file must wait until the jarfile
+# is built.
+$(all_java_class_files): libgcj-@gcc_version@.jar
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/