+2005-02-07 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/19611:
+ * Makefile.in: Rebuilt.
+ * Makefile.am (src.zip): New target.
+ (install-src.zip): Likewise.
+ (sourcesdir): New variable.
+
2005-02-06 Jerry Quinn <jlquinn@optonline.net>
* javax/imageio/metadata/IIOMetadataNode.java:
## ################################################################
+##
+## Creating and installing sources.zip
+##
+
+## Create a zip holding all the sources. This can be meaningfully
+## used in Eclipse.
+src.zip:
+ -rm -f src.zip
+ here=`pwd`; \
+ ( ( cd $(srcdir); \
+ find java gnu javax org -name '*.java' -print | \
+ while read file; do \
+## Ugly code to avoid "echo -C". Must separate each entry by a newline
+## Gross but easy.
+ echo "x-C" | sed -e 's/^.//'; \
+ echo $(srcdir); \
+ echo $$file; \
+ done ); \
+## Now the build tree.
+ find gnu java -name '*.java' -print) | \
+## Many of the above circumlocutions are because ZIP will most likely
+## be a relative path to fastjar.
+ $(ZIP) -cfM@ $$here/src.zip
+## Now include the files from external/.
+ for dir in sax w3c_dom; do \
+ (cd $(srcdir)/external/$$dir; \
+ find org -type f -name '*.java' -print | while read file; do \
+ echo "x-C" | sed -e 's/^.//'; \
+ echo $(srcdir)/external/$$dir; \
+ echo $$file; \
+ done) | \
+ $(ZIP) -ufM0E@ src.zip; \
+ done
+
+## We use a variable for this in case the user wants to override it.
+sourcesdir = $(jardir)
+
+install-src.zip: src.zip
+ $(INSTALL_DATA) src.zip $(DESTDIR)$(sourcesdir)/src-@gcc_version@.zip
+
+
+## ################################################################
+
##
## Dependency tracking madness.
##
gnu/gcj/xlib/natXImage.cc \
gnu/gcj/xlib/natXUnmapEvent.cc
+sourcesdir = $(jardir)
# Work around what appears to be a GNU make bug handling MAKEFLAGS
# values defined in terms of make variables, as is the case for CC and
javadoc -outfile $(srcdir)/doc/java-util-jar.texi -doclet TexinfoDoclet -sourcepath .'$(CLASSPATH_SEPARATOR)'$(srcdir) $(srcdir)/java/util/jar/*.java
javadoc -outfile $(srcdir)/doc/java-util-zip.texi -doclet TexinfoDoclet -sourcepath .'$(CLASSPATH_SEPARATOR)'$(srcdir) $(srcdir)/java/util/zip/*.java
+src.zip:
+ -rm -f src.zip
+ here=`pwd`; \
+ ( ( cd $(srcdir); \
+ find java gnu javax org -name '*.java' -print | \
+ while read file; do \
+ echo "x-C" | sed -e 's/^.//'; \
+ echo $(srcdir); \
+ echo $$file; \
+ done ); \
+ find gnu java -name '*.java' -print) | \
+ $(ZIP) -cfM@ $$here/src.zip
+ for dir in sax w3c_dom; do \
+ (cd $(srcdir)/external/$$dir; \
+ find org -type f -name '*.java' -print | while read file; do \
+ echo "x-C" | sed -e 's/^.//'; \
+ echo $(srcdir)/external/$$dir; \
+ echo $$file; \
+ done) | \
+ $(ZIP) -ufM0E@ src.zip; \
+ done
+
+install-src.zip: src.zip
+ $(INSTALL_DATA) src.zip $(DESTDIR)$(sourcesdir)/src-@gcc_version@.zip
+
all-recursive: classes.stamp $(nat_headers) $(xlib_nat_headers)
# Multilib support.