This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Big Classpath Merge warning
>>>>> "Andreas" == Andreas Jaeger <aj@suse.de> writes:
Andreas> So, which rule is responsible for creating the header files? And why
Andreas> is there no dependency of gij.lo on it?
headers.stamp is what builds the header files.
Can you try the appended patch? It ensures that the headers are
built before gij.lo. (I didn't include the Makefile.in change, let
me know if you want me to send that too.)
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.495
diff -u -r1.495 Makefile.am
--- Makefile.am 16 Jul 2005 17:39:53 -0000 1.495
+++ Makefile.am 18 Jul 2005 17:43:02 -0000
@@ -943,6 +943,7 @@
.PHONY: create-headers
$(libgcj_la_OBJECTS) $(gcj_dbtool_OBJECTS) $(xlib_nat_files): headers.stamp
+$(libgij_la_OBJECTS): headers.stamp
## ################################################################