# Construct makefile for libgcc.
# Copyright (C) 2000 Free Software Foundation, Inc.
#
-# This file is part of GNU CC.
+# This file is part of GCC.
# Arguments, taken from the environment, since there are a lot
# of them, and positional args becomes quite ugly.
echo " $gcc_compile" $flags -DL$name -xassembler-with-cpp \
-c '$(srcdir)/config/$(LIB1ASMSRC)' -o $out
- # Remove any objects from LIB2FUNCS that are defined as optimized
- # assembly code in LIB1ASMFUNCS.
+ # Remove any objects from LIB2FUNCS and LIB2_DIVMOD_FUNCS that are
+ # defined as optimized assembly code in LIB1ASMFUNCS.
LIB2FUNCS=`echo $LIB2FUNCS | sed -e 's/^'$name' //' \
-e 's/ '$name' / /' \
-e 's/ '$name'$//'`
+ LIB2_DIVMOD_FUNCS=`echo $LIB2_DIVMOD_FUNCS | sed -e 's/^'$name' //' \
+ -e 's/ '$name' / /' \
+ -e 's/ '$name'$//'`
done
libgcc1_objs="$libgcc1_objs ${name}${objext}"
done
echo 'stmp-dirs: force'
echo ' for d in '"$dirs"'; do \'
-echo ' if [ -d $$d ]; then true; else mkdir $$d; fi \'
+echo ' if [ -d $$d ]; then true; else '$mkinstalldirs' $$d; fi \'
echo ' done'
echo ' if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi'