* Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec.
* libgcj.spec.in: Don't use `+'. Instead, put old lib spec after
our libraries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26889
138bc75d-0d04-0410-961f-
82ee72b054a4
1999-05-11 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.
+ * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec.
+ * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after
+ our libraries.
+
+ * Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed
and it causes problems with libtool.
## system libraries we need (via the specs file).
jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
$(GCLIBS) $(THREADLIBS) $(ZLIBS)
+## Depend on the spec file to make sure it is up to date before
+## linking this program.
jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
- $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la
+ $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
# The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
# You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
$(GCLIBS) $(THREADLIBS) $(ZLIBS)
jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
- $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la
+ $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
gen_from_JIS_SOURCES =
# It is used to specify the standard libraries we need in order
# to link with libgcj.
#
-# We need a space after the `+' to placate gcc.
-*lib: + -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@
+%rename lib liborig
+*lib: -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(liborig)