aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-04-27 02:20:07 +0000
committerSteve Chamberlain <sac@cygnus>1993-04-27 02:20:07 +0000
commita86ea03fc2a57c70e68ac075262670a153801565 (patch)
treed028ad642743b6754c4c55d9414d690f0c75d198 /sim/Makefile.in
parent984b27cbc351a624aaf859c3b986a73391a9039e (diff)
downloadgdb-a86ea03fc2a57c70e68ac075262670a153801565.zip
gdb-a86ea03fc2a57c70e68ac075262670a153801565.tar.gz
gdb-a86ea03fc2a57c70e68ac075262670a153801565.tar.bz2
Support for the SH
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in36
1 files changed, 34 insertions, 2 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 12faaab..e823342 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -63,7 +63,7 @@ SUBDIRS = " this is set by configire, don't change this "
ALL=all-nothing
CLEAN=clean-nothing
-INSTALL=install-nothing
+DO_INSTALL=install-nothing
#### host and target dependent Makefile fragments come in here.
###
@@ -90,8 +90,12 @@ STAGESTUFF = $(TARGETLIB) $(OFILES)
all: endian.h $(ALL)
clean: $(CLEAN)
+ rm -f endian e.h endian.h
-install: $(INSTALL)
+install: $(DO_INSTALL)
+
+info:
+install-info:
### build endian.h via a temporary so that interrupted builds will not
### leave an incomplete endian.h lying around.
@@ -191,6 +195,34 @@ clean-h8500: force
###
+### sh
+
+all-sh: force
+ if [ -f ./sh/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
+ else \
+ true ; \
+ fi
+
+install-sh: force
+ if [ -f ./sh/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
+ else \
+ true ; \
+ fi
+
+clean-sh: force
+ if [ -f ./sh/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
+###
+
force: