mirror of git://gcc.gnu.org/git/gcc.git
BootClassLoader.java (BootClassLoader): Don't add sax and w3c libraries.
* gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't add sax and w3c libraries. * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and libw3c-gcj.la. * external/w3c_dom/Makefile.in: Rebuilt. * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include AM_GCJFLAGS. (libw3c_gcj_la_LDFLAGS): New variable. (noinst_LTLIBRARIES): Renamed. * external/sax/Makefile.in: Rebuilt. * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include AM_GCJFLAGS. (libsax_gcj_la_LDFLAGS): New variable. (noinst_LTLIBRARIES): Renamed. From-SVN: r97004
This commit is contained in:
parent
b758b22ac2
commit
b0966710ba
|
@ -1,3 +1,20 @@
|
|||
2005-03-24 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
|
||||
add sax and w3c libraries.
|
||||
* Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
|
||||
libw3c-gcj.la.
|
||||
* external/w3c_dom/Makefile.in: Rebuilt.
|
||||
* external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
|
||||
AM_GCJFLAGS.
|
||||
(libw3c_gcj_la_LDFLAGS): New variable.
|
||||
(noinst_LTLIBRARIES): Renamed.
|
||||
* external/sax/Makefile.in: Rebuilt.
|
||||
* external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
|
||||
AM_GCJFLAGS.
|
||||
(libsax_gcj_la_LDFLAGS): New variable.
|
||||
(noinst_LTLIBRARIES): Renamed.
|
||||
|
||||
2005-03-23 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* Makefile.in: Rebuilt.
|
||||
|
|
|
@ -222,7 +222,9 @@ BOOTCLASSPATH = $(here)'$(CLASSPATH_SEPARATOR)'$(srcdir)'$(CLASSPATH_SEPARATOR)'
|
|||
libgij_la_SOURCES = gij.cc
|
||||
libgij_la_DEPENDENCIES = libgcj.la libgcj.spec
|
||||
## See jv_convert_LDADD.
|
||||
libgij_la_LIBADD = -L$(here)/.libs libgcj.la
|
||||
libgij_la_LIBADD = -L$(here)/.libs libgcj.la \
|
||||
external/sax/libsax-gcj.la \
|
||||
external/w3c_dom/libw3c-gcj.la
|
||||
## The mysterious backslash in the grep pattern is consumed by make.
|
||||
libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
|
||||
-version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
|
||||
|
|
|
@ -4587,7 +4587,10 @@ AM_CPPFLAGS = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
|
|||
BOOTCLASSPATH = $(here)'$(CLASSPATH_SEPARATOR)'$(srcdir)'$(CLASSPATH_SEPARATOR)'$(srcdir)/external/w3c_dom'$(CLASSPATH_SEPARATOR)'$(srcdir)/external/sax
|
||||
libgij_la_SOURCES = gij.cc
|
||||
libgij_la_DEPENDENCIES = libgcj.la libgcj.spec
|
||||
libgij_la_LIBADD = -L$(here)/.libs libgcj.la
|
||||
libgij_la_LIBADD = -L$(here)/.libs libgcj.la \
|
||||
external/sax/libsax-gcj.la \
|
||||
external/w3c_dom/libw3c-gcj.la
|
||||
|
||||
libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
|
||||
-version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ mostlyclean-local:
|
|||
-find . -name '*.class' | xargs rm
|
||||
-rm classes.stamp sax.jar
|
||||
|
||||
toolexeclib_LTLIBRARIES = libsax-gcj.la
|
||||
noinst_LTLIBRARIES = libsax-gcj.la
|
||||
|
||||
libsax_gcj_la_SOURCES = sax.jar
|
||||
libsax_gcj_la_GCJFLAGS = -findirect-dispatch
|
||||
libsax_gcj_la_GCJFLAGS = -findirect-dispatch $(AM_GCJFLAGS)
|
||||
|
||||
source_files = \
|
||||
org/xml/sax/SAXNotSupportedException.java \
|
||||
|
|
|
@ -58,15 +58,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/gcj/libgcj-config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
|
||||
toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
|
||||
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libsax_gcj_la_LIBADD =
|
||||
am_libsax_gcj_la_OBJECTS = libsax_gcj_la-sax.lo
|
||||
libsax_gcj_la_OBJECTS = $(am_libsax_gcj_la_OBJECTS)
|
||||
|
@ -318,9 +310,9 @@ AM_GCJFLAGS = \
|
|||
-Wno-deprecated
|
||||
|
||||
BUILT_SOURCES = classes.stamp
|
||||
toolexeclib_LTLIBRARIES = libsax-gcj.la
|
||||
noinst_LTLIBRARIES = libsax-gcj.la
|
||||
libsax_gcj_la_SOURCES = sax.jar
|
||||
libsax_gcj_la_GCJFLAGS = -findirect-dispatch
|
||||
libsax_gcj_la_GCJFLAGS = -findirect-dispatch $(AM_GCJFLAGS)
|
||||
source_files = \
|
||||
org/xml/sax/SAXNotSupportedException.java \
|
||||
org/xml/sax/helpers/NamespaceSupport.java \
|
||||
|
@ -393,35 +385,17 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
|
||||
$(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-toolexeclibLTLIBRARIES:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
p=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
|
||||
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
|
||||
done
|
||||
|
||||
clean-toolexeclibLTLIBRARIES:
|
||||
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test "$$dir" != "$$p" || dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libsax-gcj.la: $(libsax_gcj_la_OBJECTS) $(libsax_gcj_la_DEPENDENCIES)
|
||||
$(GCJLINK) -rpath $(toolexeclibdir) $(libsax_gcj_la_LDFLAGS) $(libsax_gcj_la_OBJECTS) $(libsax_gcj_la_LIBADD) $(LIBS)
|
||||
$(GCJLINK) $(libsax_gcj_la_LDFLAGS) $(libsax_gcj_la_OBJECTS) $(libsax_gcj_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
@ -552,9 +526,6 @@ check: $(BUILT_SOURCES)
|
|||
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||
all-am: Makefile $(LTLIBRARIES)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-am
|
||||
install-exec: install-exec-am
|
||||
|
@ -583,7 +554,7 @@ maintainer-clean-generic:
|
|||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
|
@ -604,7 +575,7 @@ info-am:
|
|||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am: install-toolexeclibLTLIBRARIES
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
|
@ -630,20 +601,19 @@ ps: ps-am
|
|||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-toolexeclibLTLIBRARIES ctags distclean \
|
||||
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||
distclean-compile distclean-generic distclean-libtool \
|
||||
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am install-man \
|
||||
install-strip install-toolexeclibLTLIBRARIES installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
|
||||
pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-toolexeclibLTLIBRARIES
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-local pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-info-am
|
||||
|
||||
|
||||
sax.jar: classes.stamp
|
||||
|
|
|
@ -35,10 +35,10 @@ mostlyclean-local:
|
|||
-find . -name '*.class' | xargs rm
|
||||
-rm classes.stamp w3c.jar
|
||||
|
||||
toolexeclib_LTLIBRARIES = libw3c-gcj.la
|
||||
noinst_LTLIBRARIES = libw3c-gcj.la
|
||||
|
||||
libw3c_gcj_la_SOURCES = w3c.jar
|
||||
libw3c_gcj_la_GCJFLAGS = -findirect-dispatch
|
||||
libw3c_gcj_la_GCJFLAGS = -findirect-dispatch $(AM_GCJFLAGS)
|
||||
|
||||
source_files = \
|
||||
org/w3c/dom/xpath/XPathNamespace.java \
|
||||
|
|
|
@ -58,15 +58,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|||
CONFIG_HEADER = $(top_builddir)/include/config.h \
|
||||
$(top_builddir)/gcj/libgcj-config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
|
||||
toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
|
||||
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libw3c_gcj_la_LIBADD =
|
||||
am_libw3c_gcj_la_OBJECTS = libw3c_gcj_la-w3c.lo
|
||||
libw3c_gcj_la_OBJECTS = $(am_libw3c_gcj_la_OBJECTS)
|
||||
|
@ -318,9 +310,9 @@ AM_GCJFLAGS = \
|
|||
-Wno-deprecated
|
||||
|
||||
BUILT_SOURCES = classes.stamp
|
||||
toolexeclib_LTLIBRARIES = libw3c-gcj.la
|
||||
noinst_LTLIBRARIES = libw3c-gcj.la
|
||||
libw3c_gcj_la_SOURCES = w3c.jar
|
||||
libw3c_gcj_la_GCJFLAGS = -findirect-dispatch
|
||||
libw3c_gcj_la_GCJFLAGS = -findirect-dispatch $(AM_GCJFLAGS)
|
||||
source_files = \
|
||||
org/w3c/dom/xpath/XPathNamespace.java \
|
||||
org/w3c/dom/xpath/XPathResult.java \
|
||||
|
@ -503,35 +495,17 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
|
||||
$(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-toolexeclibLTLIBRARIES:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
p=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
|
||||
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
|
||||
done
|
||||
|
||||
clean-toolexeclibLTLIBRARIES:
|
||||
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test "$$dir" != "$$p" || dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libw3c-gcj.la: $(libw3c_gcj_la_OBJECTS) $(libw3c_gcj_la_DEPENDENCIES)
|
||||
$(GCJLINK) -rpath $(toolexeclibdir) $(libw3c_gcj_la_LDFLAGS) $(libw3c_gcj_la_OBJECTS) $(libw3c_gcj_la_LIBADD) $(LIBS)
|
||||
$(GCJLINK) $(libw3c_gcj_la_LDFLAGS) $(libw3c_gcj_la_OBJECTS) $(libw3c_gcj_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
@ -662,9 +636,6 @@ check: $(BUILT_SOURCES)
|
|||
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||
all-am: Makefile $(LTLIBRARIES)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-am
|
||||
install-exec: install-exec-am
|
||||
|
@ -693,7 +664,7 @@ maintainer-clean-generic:
|
|||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
|
@ -714,7 +685,7 @@ info-am:
|
|||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am: install-toolexeclibLTLIBRARIES
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
|
@ -740,20 +711,19 @@ ps: ps-am
|
|||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-toolexeclibLTLIBRARIES ctags distclean \
|
||||
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||
distclean-compile distclean-generic distclean-libtool \
|
||||
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am install-man \
|
||||
install-strip install-toolexeclibLTLIBRARIES installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
|
||||
pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-toolexeclibLTLIBRARIES
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-local pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-info-am
|
||||
|
||||
|
||||
w3c.jar: classes.stamp
|
||||
|
|
|
@ -55,13 +55,6 @@ public final class BootClassLoader extends URLClassLoader
|
|||
addURL(new URL("file", "", -1, dirname + files[i]));
|
||||
}
|
||||
}
|
||||
|
||||
String w3clib = (libdir + File.separator
|
||||
+ System.mapLibraryName ("w3c-gcj"));
|
||||
addURL(new URL("gcjlib", "", -1, w3clib));
|
||||
String saxlib = (libdir + File.separator
|
||||
+ System.mapLibraryName ("sax-gcj"));
|
||||
addURL(new URL("gcjlib", "", -1, saxlib));
|
||||
}
|
||||
catch (java.net.MalformedURLException x)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue