PATCH: Make Makefile.am work in parallel

Mark Mitchell mark@codesourcery.com
Tue May 7 11:59:00 GMT 2002



--On Tuesday, May 07, 2002 12:48:05 PM -0600 Tom Tromey <tromey@redhat.com> 
wrote:

>>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
>
> [ back to the first patch ]
>
> Mark> ! $(all_java_class_files): $(all_java_source_files)
> Mark> !     $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath
> $(here):$(srcdir) \ Mark> !          -d $(here) $(@:.class=.java)
>
> Won't this mean that if I touch any .java file, all of them will be
> rebuilt?

With the current Makefile.am, whenever you touch any .java file, the
libgcj.jar file is out of date and they all get by the big loop in the
rule for that file.

At least it looks that way to me.  Am I wrong?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Java-patches mailing list