mklibgcc.in (EQ): Define it to an equal sign in the Makefile...

* mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
and replace any occurrences of `=' in multilib dirs with `$(EQ)'.

From-SVN: r33862
This commit is contained in:
Alexandre Oliva 2000-05-11 20:42:39 +00:00 committed by Alexandre Oliva
parent efe7ef89e9
commit 842391df98
2 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
* mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
2000-05-11 Jason Merrill <jason@casey.cygnus.com>
* fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.

View File

@ -27,6 +27,7 @@
# Make needs VPATH to be literal.
echo 'srcdir = @srcdir@'
echo 'VPATH = @srcdir@'
echo 'EQ = ='
echo
# Detect gcc as OLDCC. This indicates a target for which LIB1FUNCS
@ -87,7 +88,7 @@ case X"$LIBGCC1" in
Xlibgcc1-asm.a)
for name in $LIB1ASMFUNCS; do
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}"
@ -150,7 +151,7 @@ libgcc2_objs=""
for name in $LIB2FUNCS; do
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}"
@ -163,7 +164,7 @@ done
for name in $LIB2FUNCS_EH; do
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}"
@ -177,7 +178,7 @@ done
if [ "$FPBIT" ]; then
for name in $FPBIT_FUNCS; do
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}"
@ -192,7 +193,7 @@ fi
if [ "$DPBIT" ]; then
for name in $DPBIT_FUNCS; do
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}"
@ -214,7 +215,7 @@ for file in $LIB2ADD; do
lastout=""
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${f}"
@ -234,7 +235,7 @@ for file in $LIB2ADD; do
done
else
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${oname}${objext}"
if [ ${name}.asm = ${file} ]; then
@ -249,7 +250,7 @@ for file in $LIB2ADD; do
done
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
libgcc_objs=""
for o in $libgcc1_objs; do
@ -276,7 +277,7 @@ echo ""
all=""
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
if [ $dir = . ]; then
echo "libgcc:; mkdir libgcc"
all="$all libgcc"
@ -291,7 +292,7 @@ done
for f in $EXTRA_MULTILIB_PARTS; do
lastout=""
for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'`
dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="$dir/$f"