This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Fix libjava parallel make problems


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]