Makefile.in: Rebuilt.
* Makefile.in: Rebuilt. * Makefile.am (libgcj.zip): Fail immediately if compilation fails and -k not given. From-SVN: r37464
This commit is contained in:
parent
b3488a7ae7
commit
09ad474947
@ -1,3 +1,9 @@
|
|||||||
|
2000-11-14 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in: Rebuilt.
|
||||||
|
* Makefile.am (libgcj.zip): Fail immediately if compilation fails
|
||||||
|
and -k not given.
|
||||||
|
|
||||||
2000-11-02 Warren Levy <warrenl@cygnus.com>
|
2000-11-02 Warren Levy <warrenl@cygnus.com>
|
||||||
|
|
||||||
* java/io/ObjectInputStream.java (readObject): Added code to
|
* java/io/ObjectInputStream.java (readObject): Added code to
|
||||||
|
@ -194,11 +194,14 @@ libgcj.zip: $(java_source_files) $(x_java_source_files)
|
|||||||
$(MAKE) $(built_java_source_files:.java=.class)
|
$(MAKE) $(built_java_source_files:.java=.class)
|
||||||
## This little nastiness is here so that the backquoted stuff in the
|
## This little nastiness is here so that the backquoted stuff in the
|
||||||
## GCJ definition can be correctly expanded, if required.
|
## GCJ definition can be correctly expanded, if required.
|
||||||
@javac="$(JAVAC)"; dir=`/bin/pwd`; cd $(srcdir); \
|
@set fnord $(MAKEFLAGS); amf=$$2; fail=no; \
|
||||||
for f in `cat $$dir/tmp-list`; do \
|
javac="$(JAVAC)"; dir=`/bin/pwd`; cd $(srcdir); \
|
||||||
echo $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
for f in `cat $$dir/tmp-list`; do \
|
||||||
$$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
echo $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
||||||
done
|
$$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes ;; *) exit 1;; esac; \
|
||||||
|
done; \
|
||||||
|
test "$$fail" = no
|
||||||
-@rm -f tmp-list libgcj.zip
|
-@rm -f tmp-list libgcj.zip
|
||||||
## Note that we explicitly want to include directory information.
|
## Note that we explicitly want to include directory information.
|
||||||
find java gnu -type d -o -type f -name '*.class' | \
|
find java gnu -type d -o -type f -name '*.class' | \
|
||||||
|
@ -119,29 +119,43 @@ here = @here@
|
|||||||
libgcj_basedir = @libgcj_basedir@
|
libgcj_basedir = @libgcj_basedir@
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-installinfo
|
AUTOMAKE_OPTIONS = foreign no-installinfo
|
||||||
@TESTSUBDIR_TRUE@SUBDIRS = @TESTSUBDIR_TRUE@$(DIRLTDL) testsuite gcj include
|
@TESTSUBDIR_TRUE@SUBDIRS = \
|
||||||
@TESTSUBDIR_FALSE@SUBDIRS = @TESTSUBDIR_FALSE@$(DIRLTDL) gcj include
|
@TESTSUBDIR_TRUE@$(DIRLTDL) testsuite gcj include
|
||||||
@USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
|
@TESTSUBDIR_FALSE@SUBDIRS = \
|
||||||
@USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
|
@TESTSUBDIR_FALSE@$(DIRLTDL) gcj include
|
||||||
@USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
|
@USE_LIBDIR_TRUE@toolexeclibdir = \
|
||||||
@NO_X_TRUE@cond_x_ltlibrary =
|
@USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
|
||||||
@NO_X_FALSE@cond_x_ltlibrary = @NO_X_FALSE@libgcjx.la
|
@USE_LIBDIR_FALSE@toolexeclibdir = \
|
||||||
|
@USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
|
||||||
|
@USE_LIBDIR_FALSE@toolexecdir = \
|
||||||
|
@USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
|
||||||
|
@NO_X_TRUE@cond_x_ltlibrary = \
|
||||||
|
@NO_X_FALSE@cond_x_ltlibrary = \
|
||||||
|
@NO_X_FALSE@libgcjx.la
|
||||||
|
|
||||||
toolexeclib_LTLIBRARIES = libgcj.la $(cond_x_ltlibrary)
|
toolexeclib_LTLIBRARIES = libgcj.la $(cond_x_ltlibrary)
|
||||||
toolexeclib_DATA = libgcj.spec
|
toolexeclib_DATA = libgcj.spec
|
||||||
data_DATA = libgcj.zip
|
data_DATA = libgcj.zip
|
||||||
|
|
||||||
@NEEDS_DATA_START_TRUE@toolexeclib_LIBRARIES = @NEEDS_DATA_START_TRUE@libgcjdata.a
|
@NEEDS_DATA_START_TRUE@toolexeclib_LIBRARIES = \
|
||||||
@NEEDS_DATA_START_TRUE@libgcjdata_a_SOURCES = @NEEDS_DATA_START_TRUE@libgcjdata.c
|
@NEEDS_DATA_START_TRUE@libgcjdata.a
|
||||||
|
@NEEDS_DATA_START_TRUE@libgcjdata_a_SOURCES = \
|
||||||
|
@NEEDS_DATA_START_TRUE@libgcjdata.c
|
||||||
|
|
||||||
@NATIVE_TRUE@bin_PROGRAMS = @NATIVE_TRUE@jv-convert gij
|
@NATIVE_TRUE@bin_PROGRAMS = \
|
||||||
|
@NATIVE_TRUE@jv-convert gij
|
||||||
|
|
||||||
bin_SCRIPTS = addr2name.awk
|
bin_SCRIPTS = addr2name.awk
|
||||||
@CANADIAN_TRUE@@NULL_TARGET_TRUE@ZIP = @CANADIAN_TRUE@@NULL_TARGET_TRUE@$(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
|
@CANADIAN_TRUE@@NULL_TARGET_TRUE@ZIP = \
|
||||||
@CANADIAN_TRUE@@NULL_TARGET_FALSE@ZIP = @CANADIAN_TRUE@@NULL_TARGET_FALSE@zip
|
@CANADIAN_TRUE@@NULL_TARGET_TRUE@$(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
|
||||||
@CANADIAN_FALSE@ZIP = @CANADIAN_FALSE@$(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
|
@CANADIAN_TRUE@@NULL_TARGET_FALSE@ZIP = \
|
||||||
@CANADIAN_TRUE@GCJH = @CANADIAN_TRUE@gcjh
|
@CANADIAN_TRUE@@NULL_TARGET_FALSE@zip
|
||||||
@CANADIAN_FALSE@GCJH = @CANADIAN_FALSE@$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
|
@CANADIAN_FALSE@ZIP = \
|
||||||
|
@CANADIAN_FALSE@$(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
|
||||||
|
@CANADIAN_TRUE@GCJH = \
|
||||||
|
@CANADIAN_TRUE@gcjh
|
||||||
|
@CANADIAN_FALSE@GCJH = \
|
||||||
|
@CANADIAN_FALSE@$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
|
||||||
|
|
||||||
GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
|
GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
|
||||||
GCJLINK = $(LIBTOOL) --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
|
GCJLINK = $(LIBTOOL) --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
|
||||||
@ -156,8 +170,10 @@ AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fasynchronous-exceptions \
|
|||||||
-fdollars-in-identifiers \
|
-fdollars-in-identifiers \
|
||||||
@LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE
|
@LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE
|
||||||
|
|
||||||
@USING_GCC_TRUE@AM_CFLAGS = @USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS)
|
@USING_GCC_TRUE@AM_CFLAGS = \
|
||||||
@USING_GCC_FALSE@AM_CFLAGS = @USING_GCC_FALSE@@LIBGCJ_CFLAGS@
|
@USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS)
|
||||||
|
@USING_GCC_FALSE@AM_CFLAGS = \
|
||||||
|
@USING_GCC_FALSE@@LIBGCJ_CFLAGS@
|
||||||
|
|
||||||
JCFLAGS = -g
|
JCFLAGS = -g
|
||||||
JC1FLAGS = -g @LIBGCJ_JAVAFLAGS@
|
JC1FLAGS = -g @LIBGCJ_JAVAFLAGS@
|
||||||
@ -224,7 +240,8 @@ extra_headers = java/lang/Object.h java/lang/Class.h
|
|||||||
|
|
||||||
NM = nm
|
NM = nm
|
||||||
|
|
||||||
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@noinst_PROGRAMS = @NATIVE_TRUE@@MAINTAINER_MODE_TRUE@gen-from-JIS
|
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@noinst_PROGRAMS = \
|
||||||
|
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@gen-from-JIS
|
||||||
|
|
||||||
CONVERT_DIR = gnu/gcj/convert
|
CONVERT_DIR = gnu/gcj/convert
|
||||||
|
|
||||||
@ -1160,7 +1177,7 @@ libgcj-test.spec.in libgcj.spec.in
|
|||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
|
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
|
||||||
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
|
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
|
||||||
@ -2047,7 +2064,7 @@ distdir: $(DISTFILES)
|
|||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
@ -2257,11 +2274,14 @@ $(built_java_source_files:.java=.class): $(built_java_source_files)
|
|||||||
libgcj.zip: $(java_source_files) $(x_java_source_files)
|
libgcj.zip: $(java_source_files) $(x_java_source_files)
|
||||||
@: $(shell echo Creating list of files to compile...) $(shell rm -f tmp-list || :) $(shell touch tmp-list) $(foreach source,$(subst $(srcdir)/,,$?),$(shell echo $(source) >> tmp-list))
|
@: $(shell echo Creating list of files to compile...) $(shell rm -f tmp-list || :) $(shell touch tmp-list) $(foreach source,$(subst $(srcdir)/,,$?),$(shell echo $(source) >> tmp-list))
|
||||||
$(MAKE) $(built_java_source_files:.java=.class)
|
$(MAKE) $(built_java_source_files:.java=.class)
|
||||||
@javac="$(JAVAC)"; dir=`/bin/pwd`; cd $(srcdir); \
|
@set fnord $(MAKEFLAGS); amf=$$2; fail=no; \
|
||||||
for f in `cat $$dir/tmp-list`; do \
|
javac="$(JAVAC)"; dir=`/bin/pwd`; cd $(srcdir); \
|
||||||
echo $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
for f in `cat $$dir/tmp-list`; do \
|
||||||
$$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
echo $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
||||||
done
|
$$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes ;; *) exit 1;; esac; \
|
||||||
|
done; \
|
||||||
|
test "$$fail" = no
|
||||||
-@rm -f tmp-list libgcj.zip
|
-@rm -f tmp-list libgcj.zip
|
||||||
find java gnu -type d -o -type f -name '*.class' | \
|
find java gnu -type d -o -type f -name '*.class' | \
|
||||||
sed -e '/\/\./d' -e '/\/xlib/d' | \
|
sed -e '/\/\./d' -e '/\/xlib/d' | \
|
||||||
|
Loading…
Reference in New Issue
Block a user