diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-12-02 17:53:36 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-02 10:53:36 -0700 |
commit | 205cba53499cb2dcee8babda749063e4672f846d (patch) | |
tree | 82da19ff6ba2b01f3052623efb5e7099efcc5939 | |
parent | dc994f8461eac069b04889f5e19dd7655ac16f5d (diff) | |
download | gcc-205cba53499cb2dcee8babda749063e4672f846d.zip gcc-205cba53499cb2dcee8babda749063e4672f846d.tar.gz gcc-205cba53499cb2dcee8babda749063e4672f846d.tar.bz2 |
Makefile.in (INSTALL_TARGET_CROSS): Define.
* Makefile.in (INSTALL_TARGET_CROSS): Define.
(install-cross, install-gcc-cross): New targets.
From-SVN: r16888
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 22 |
2 files changed, 24 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Tue Dec 2 10:55:34 1997 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (INSTALL_TARGET_CROSS): Define. + (install-cross, install-gcc-cross): New targets. + Thu Nov 27 01:31:30 1997 Jeffrey A Law (law@cygnus.com) * Makefile.in (INSTALL_TARGET): Do install-gcc first. diff --git a/Makefile.in b/Makefile.in index fccbb0e..1caa3e1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -181,6 +181,12 @@ INSTALL_TARGET = installdirs \ $(INSTALL_X11_MODULES) \ $(INSTALL_DOSREL) +INSTALL_TARGET_CROSS = installdirs \ + install-gcc-cross \ + $(INSTALL_MODULES) \ + $(INSTALL_TARGET_MODULES) \ + $(INSTALL_X11_MODULES) \ + $(INSTALL_DOSREL) CC_FOR_TARGET = ` \ if [ -f $$r/gcc/xgcc ] ; then \ @@ -947,8 +953,9 @@ check: $(CHECK_MODULES) \ # Installation targets. -.PHONY: install uninstall source-vault binary-vault vault-install +.PHONY: install install-cross uninstall source-vault binary-vault vault-install install: $(INSTALL_TARGET) +install-cross: $(INSTALL_TARGET_CROSS) uninstall: @echo "the uninstall target is not supported in this tree" @@ -1333,12 +1340,21 @@ install-gcc: r=`pwd`; export r; \ s=`cd $(srcdir); pwd`; export s; \ $(SET_LIB_PATH) \ - (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" install); \ else \ true; \ fi - +.PHONY: install-gcc-cross +install-gcc-cross: + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ + else \ + true; \ + fi # EXPERIMENTAL STUFF # This rule is used to install the modules which use FLAGS_TO_PASS. # To build a target install-X means to cd to X and make install. |