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]

Patch: FYI: PR libgcj/16869


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.


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