This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: PR libgcj/16869
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 21 Sep 2004 10:56:49 -0600
- Subject: Patch: FYI: PR libgcj/16869
- Reply-to: tromey at redhat dot com
I'm checking this in. This fixes PR 16869. It also changes things to
clean up the generated JNI headers and some other generated headers.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
PR libgcj/16869:
* Makefile.in: Rebuilt.
* Makefile.am (MOSTLYCLEANFILES): Removed.
(mostlyclean-local): Remove header files.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.409
diff -u -r1.409 Makefile.am
--- Makefile.am 10 Sep 2004 08:22:58 -0000 1.409
+++ Makefile.am 21 Sep 2004 16:58:49 -0000
@@ -494,15 +494,14 @@
endif
-# Note: The libtool objects are removed by mostlyclean-local
-# because of command-line-length issues.
-MOSTLYCLEANFILES = $(nat_headers) $(xlib_nat_headers)
-
CLEANFILES = libgcj-@gcc_version@.jar
mostlyclean-local:
## Use libtool rm to remove each libtool object
find . -name '*.lo' -print | xargs $(LIBTOOL) rm -f
+## Remove headers. We use GNU make trickery because otherwise
+## the command line is too long.
+ @: $(foreach header,$(nat_headers) $(xlib_nat_headers) $(gtk_jni_headers),$(shell rm -f '$(header)'))
clean-local:
## Remove every .class file that was created.