Commit 9fc9b82a by H.J. Lu Committed by Jeff Law

Makefile.in (cpp_install_dir, [...]): New variables.

�
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25530
parent 587a4ba6
# Handle cpp installation.
INSTALL_CPP=install-cpp
UNINSTALL_CPP=uninstall-cpp
......@@ -415,6 +415,9 @@ host_xmake_file=
host_truncate_target=
host_exeext=
# It is relative to $prefix.
cpp_install_dir=
# Decode the host machine, then the target machine.
# For the host machine, we save the xm_file variable as host_xm_file;
# then we decode the target machine and forget everything else
......@@ -3543,6 +3546,12 @@ then
esac
fi
# Handle cpp installation.
if [[ x$enable_cpp != x ]]
then
tmake_file="$tmake_file t-install-cpp"
fi
# Say what files are being used for the output code and MD file.
echo "Using \`$srcdir/config/$out_file' to output insns."
echo "Using \`$srcdir/config/$md_file' as machine description file."
......@@ -4293,6 +4302,8 @@ AC_SUBST(cc_set_by_configure)
AC_SUBST(stage_prefix_set_by_configure)
AC_SUBST(install)
AC_SUBST(symbolic_link)
AC_SUBST(cpp_install_dir)
AC_SUBST_FILE(target_overrides)
AC_SUBST_FILE(host_overrides)
......@@ -4402,4 +4413,5 @@ host_overrides='${host_overrides}'
cross_defines='${cross_defines}'
cross_overrides='${cross_overrides}'
build_overrides='${build_overrides}'
cpp_install_dir='${cpp_install_dir}'
])
#! /bin/sh
exec `gcc -print-prog-name=cpp` ${1+"$@"}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment