This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] sim/common/Make-common.in: Correct dependency for LIBDEPS
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 24 May 2005 16:08:27 +0200
- Subject: [RFA] sim/common/Make-common.in: Correct dependency for LIBDEPS
- Reply-to: gdb-patches at sources dot redhat dot com
Hi,
LIBDEPS in sim/common/Make-common.in defines the dependencies used
to figure out what has to be build, while EXTRA_LIBS defines what
libraries are used for building.
The same difference is made for INTLDEPS vs. INTLLIBS. Nevertheless,
LIBDEPS depends on $(INTLLIBS) instead of $(INTLDEPS), which would
be the correct dependency.
The below patch fixes that. Ok to apply?
Corinna
* Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
check.
Index: sim/common/Make-common.in
===================================================================
RCS file: /cvs/src/src/sim/common/Make-common.in,v
retrieving revision 1.23
diff -u -p -r1.23 Make-common.in
--- sim/common/Make-common.in 18 May 2005 01:55:46 -0000 1.23
+++ sim/common/Make-common.in 24 May 2005 14:07:57 -0000
@@ -241,7 +241,7 @@ OPCODES_LIB = ../../opcodes/libopcodes.a
INTLLIBS = @INTLLIBS@
INTLDEPS = @INTLDEPS@
CONFIG_LIBS = @LIBS@
-LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(INTLLIBS) $(LIBIBERTY_LIB) \
+LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(INTLDEPS) $(LIBIBERTY_LIB) \
$(SIM_EXTRA_LIBDEPS)
EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(INTLLIBS) $(LIBIBERTY_LIB) \
$(CONFIG_LIBS) $(SIM_EXTRA_LIBS)
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.