summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-02 17:53:36 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-02 17:53:36 +0000
commit33148f332b4d10ba3ed7fdf7b2ccfb6c06264758 (patch)
tree82da19ff6ba2b01f3052623efb5e7099efcc5939 /Makefile.in
parent3ea8846f60382290fc2d76c69ad9d860af98fa39 (diff)
downloadgcc-33148f332b4d10ba3ed7fdf7b2ccfb6c06264758.tar.gz
* Makefile.in (INSTALL_TARGET_CROSS): Define.
(install-cross, install-gcc-cross): New targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index fccbb0ec91c..1caa3e13983 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.