This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
libgcj should depend on nat_files
- To: java-patches at gcc dot gnu dot org
- Subject: libgcj should depend on nat_files
- From: Per Bothner <per at bothner dot com>
- Date: 21 May 2001 23:45:51 -0700
This patch seems to be needed. However, I'm rather confused
why things used to work and then they broke. I'm checking it
in (to the trunk), but if someone who understands what is going
on removes it, I won't object! One guess it could have something
to do with different automake versions.
2001-05-21 Per Bothner <per@bothner.com>
* Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
(libgcj_la_LIBADD): Likewise.
(libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files).
2001-05-21 Tom Tromey <tromey@redhat.com>
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.145
diff -u -r1.145 Makefile.am
--- Makefile.am 2001/05/22 04:38:36 1.145
+++ Makefile.am 2001/05/22 06:34:58
@@ -133,10 +133,10 @@
$(nat_source_files)
EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
$(c_source_files) $(java_source_files) $(built_java_source_files)
-libgcj_la_DEPENDENCIES = libgcj.jar $(javao_files) \
+libgcj_la_DEPENDENCIES = libgcj.jar $(javao_files) $(nat_files) \
$(c_files) $(GCOBJS) $(THREADOBJS) $(LIBLTDL)
-libgcj_la_LIBADD = $(javao_files) $(c_files) $(GCOBJS) \
+libgcj_la_LIBADD = $(javao_files) $(c_files) $(nat_files) $(GCOBJS) \
$(THREADOBJS)
# Include THREADLIBS here to ensure that the correct version of
# certain linuxthread functions get linked:
@@ -147,8 +147,8 @@
libgcjx_la_SOURCES = $(x_nat_source_files)
EXTRA_libgcjx_la_SOURCES = $(x_java_source_files)
-libgcjx_la_DEPENDENCIES = libgcj.jar $(x_javao_files)
-libgcjx_la_LIBADD = $(x_javao_files)
+libgcjx_la_DEPENDENCIES = libgcj.jar $(x_javao_files) $(x_nat_files)
+libgcjx_la_LIBADD = $(x_javao_files) $(x_nat_files)
libgcjx_la_LDFLAGS = @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
-rpath $(toolexeclibdir) \
## The mysterious backslash is consumed by make.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/