mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 03:08:57 +08:00
3610e0d548
2001-05-23 Tom Tromey <tromey@redhat.com> * posix-threads.cc (_Jv_self_cache): Renamed from self_cache. * gcj/Makefile.in: Rebuilt. * gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h. * gcj/javaprims.h: Include gcj/libgcj-config.h. * gcj/libgcj-config.h.in: New file. * libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@. * configure: Rebuilt. * configure.in: Enable hash synchronization by default on some platforms. (HASH_SYNC_SPEC): New subst. (AC_CONFIG_HEADER): Added gcj/libgcj-config.h. Correctly use `test -z' instead of `test -n' in a couple places. (JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to LIBGCJ_CXXFLAGS. * configure.host (enable_java_net_default): Initialize. (enable_hash_synchronization_default): New variable. 2001-05-23 Hans Boehm <Hans_Boehm@hp.com> * boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash synchronization in use. (_Jv_MarkArray): Likewise. (_Jv_AllocBytes): Don't check return result. (handle_out_of_memory): New function. (_Jv_InitGC): Set GC_oom_fn. (trace_one_vtable): New global. (_Jv_AllocTraceOne): New function. * configure.in: Added --enable-hash-synchronization. * defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc, java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked. * nogc.cc (_Jv_AllocObj): Throw out-of-memory. (_Jv_AllocArray): Likewise. (_Jv_AllocBytes): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_AllocTraceOne): Likewise. * posix-threads.cc (_Jv_ThreadRegister): Handle slow pthread_self(). (self_cache): New global. (_Jv_ThreadSelf_out_of_line): New function. * prims.cc (_Jv_AllocBytesChecked): Removed. (_Jv_ThrowNoMemory): New function. (_Jv_AllocObject): Don't check for null return from allocator. (_Jv_NewObjectArray): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_NewPrimArray): Allocate pointer-free object if possible. * include/javaprims.h (_Jv_AllocPtrFreeObject): Declare. (_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value. * include/boehm-gc.h (_Jv_AllocObj): Define. (_Jv_AllocPtrFreeObj): Define. * include/jvm.h (_Jv_AllocPtrFreeObj): Declare. (_Jv_ThrowNoMemory): Declare. (_Jv_AllocTraceOne): Declare. (_Jv_AllocBytesChecked): Removed. * include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock, _Jv_MutexUnlock): Handle LOCK_DEBUG. (_Jv_ThreadSelf): Handle case where system pthread_self() is slow. * java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as friend. * java/lang/Object.h (sync_info): Conditional upon presence of hash synchronization. * java/lang/natObject.cc: Much new code to handle thin locks and hash synchronization. * java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free object if possible. From-SVN: r42519
314 lines
8.3 KiB
Makefile
314 lines
8.3 KiB
Makefile
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_alias = @build_alias@
|
|
build_triplet = @build@
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
target_alias = @target_alias@
|
|
target_triplet = @target@
|
|
AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
CC = @CC@
|
|
COMPPATH = @COMPPATH@
|
|
CXX = @CXX@
|
|
CXXCPP = @CXXCPP@
|
|
DIRLTDL = @DIRLTDL@
|
|
DIVIDESPEC = @DIVIDESPEC@
|
|
DLLTOOL = @DLLTOOL@
|
|
EXCEPTIONSPEC = @EXCEPTIONSPEC@
|
|
EXEEXT = @EXEEXT@
|
|
GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@
|
|
GCDEPS = @GCDEPS@
|
|
GCINCS = @GCINCS@
|
|
GCJ = @GCJ@
|
|
GCJFLAGS = @GCJFLAGS@
|
|
GCJVERSION = @GCJVERSION@
|
|
GCLIBS = @GCLIBS@
|
|
GCOBJS = @GCOBJS@
|
|
GCSPEC = @GCSPEC@
|
|
GCTESTSPEC = @GCTESTSPEC@
|
|
HASH_SYNC_SPEC = @HASH_SYNC_SPEC@
|
|
INCLTDL = @INCLTDL@
|
|
JC1GCSPEC = @JC1GCSPEC@
|
|
LIBDATASTARTSPEC = @LIBDATASTARTSPEC@
|
|
LIBGCJDEBUG = @LIBGCJDEBUG@
|
|
LIBGCJTESTSPEC = @LIBGCJTESTSPEC@
|
|
LIBGCJ_CFLAGS = @LIBGCJ_CFLAGS@
|
|
LIBGCJ_CXXFLAGS = @LIBGCJ_CXXFLAGS@
|
|
LIBGCJ_JAVAFLAGS = @LIBGCJ_JAVAFLAGS@
|
|
LIBLTDL = @LIBLTDL@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
OBJDUMP = @OBJDUMP@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
RANLIB = @RANLIB@
|
|
STRIP = @STRIP@
|
|
SYSDEP_SOURCES = @SYSDEP_SOURCES@
|
|
SYSTEMSPEC = @SYSTEMSPEC@
|
|
THREADDEPS = @THREADDEPS@
|
|
THREADINCS = @THREADINCS@
|
|
THREADLIBS = @THREADLIBS@
|
|
THREADOBJS = @THREADOBJS@
|
|
THREADSPEC = @THREADSPEC@
|
|
VERSION = @VERSION@
|
|
ZDEPS = @ZDEPS@
|
|
ZINCS = @ZINCS@
|
|
ZLIBS = @ZLIBS@
|
|
ZLIBSPEC = @ZLIBSPEC@
|
|
ZLIBTESTSPEC = @ZLIBTESTSPEC@
|
|
here = @here@
|
|
libgcj_basedir = @libgcj_basedir@
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
gcjdir = $(includedir)/gcj
|
|
gcj_HEADERS = array.h cni.h field.h javaprims.h method.h libgcj-config.h
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_HEADER = ../include/config.h libgcj-config.h
|
|
CONFIG_CLEAN_FILES =
|
|
HEADERS = $(gcj_HEADERS)
|
|
|
|
DIST_COMMON = ./stamp-h2.in Makefile.am Makefile.in libgcj-config.h.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP_ENV = --best
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign gcj/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
libgcj-config.h: stamp-h2
|
|
@if test ! -f $@; then \
|
|
rm -f stamp-h2; \
|
|
$(MAKE) stamp-h2; \
|
|
else :; fi
|
|
stamp-h2: $(srcdir)/libgcj-config.h.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES= CONFIG_HEADERS=gcj/libgcj-config.h \
|
|
$(SHELL) ./config.status
|
|
@echo timestamp > stamp-h2 2> /dev/null
|
|
$(srcdir)/libgcj-config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h2.in
|
|
@if test ! -f $@; then \
|
|
rm -f $(srcdir)/stamp-h2.in; \
|
|
$(MAKE) $(srcdir)/stamp-h2.in; \
|
|
else :; fi
|
|
$(srcdir)/stamp-h2.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
@echo timestamp > $(srcdir)/stamp-h2.in 2> /dev/null
|
|
|
|
mostlyclean-hdr:
|
|
|
|
clean-hdr:
|
|
|
|
distclean-hdr:
|
|
-rm -f libgcj-config.h
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
install-gcjHEADERS: $(gcj_HEADERS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(gcjdir)
|
|
@list='$(gcj_HEADERS)'; for p in $$list; do \
|
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
|
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(gcjdir)/$$p"; \
|
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(gcjdir)/$$p; \
|
|
done
|
|
|
|
uninstall-gcjHEADERS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(gcj_HEADERS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(gcjdir)/$$p; \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) libgcj-config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)libgcj-config.h.in$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags libgcj-config.h.in $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = gcj
|
|
|
|
distdir: $(DISTFILES)
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
|
distdir=`cd $(distdir) && pwd`; \
|
|
cd $(top_srcdir) \
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign gcj/Makefile
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pr $$/$$file $(distdir)/$$file; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
fi; \
|
|
done
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
all-recursive-am: libgcj-config.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
install-exec-am:
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am: install-gcjHEADERS
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am: uninstall-gcjHEADERS
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(HEADERS) libgcj-config.h
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(gcjdir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
|
-rm -f libtool
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
|
maintainer-clean-generic distclean-am
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
|
uninstall-gcjHEADERS install-gcjHEADERS tags mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
|
install uninstall-am uninstall all-redirect all-am all installdirs \
|
|
mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|