aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-02-08 19:46:59 +0000
committerSteve Chamberlain <sac@cygnus>1993-02-08 19:46:59 +0000
commit47dba87afaa87bce19a6137781d8dcd490010913 (patch)
treef198274a70e7f584d3608f8fc1046c5140c4d70d /sim/Makefile.in
parent44c5672585d9fd2dda8d73f9b913a2dec8091870 (diff)
downloadgdb-47dba87afaa87bce19a6137781d8dcd490010913.zip
gdb-47dba87afaa87bce19a6137781d8dcd490010913.tar.gz
gdb-47dba87afaa87bce19a6137781d8dcd490010913.tar.bz2
* Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in61
1 files changed, 61 insertions, 0 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 8369b6d..dd5708c 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -61,6 +61,10 @@ DEP = mkdep
SUBDIRS = " this is set by configire, don't change this "
+ALL=all-nothing
+CLEAN=clean-nothing
+INSTALL=install-nothing
+
#### host and target dependent Makefile fragments come in here.
###
@@ -85,11 +89,24 @@ STAGESTUFF = $(TARGETLIB) $(OFILES)
all: endian.h $(ALL)
+clean: $(CLEAN)
+install: $(INSTALL)
endian.h: endian
./endian > endian.h
+
+
+### none
+
+all-nothing: force
+
+clean-nothing: force
+
+install-nothing: force
+
+
### z8k
all-z8k: force
@@ -108,6 +125,14 @@ install-z8k: force
true ; \
fi
+clean-z8k: force
+ if [ -f ./z8k/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
### h8300
@@ -127,6 +152,42 @@ install-h8300: force
true ; \
fi
+clean-h8300: force
+ if [ -f ./h8300/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
+###
+
+### h8500
+
+all-h8500: force
+ if [ -f ./h8500/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
+ else \
+ true ; \
+ fi
+
+install-h8500: force
+ if [ -f ./h8500/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
+ else \
+ true ; \
+ fi
+
+clean-h8500: force
+ if [ -f ./h8500/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
###
force: