aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-02-04 00:22:22 +0000
committerSteve Chamberlain <sac@cygnus>1993-02-04 00:22:22 +0000
commitb0c9f0261315cd25472d346ef2a67073c0fdb4ed (patch)
tree7d94c2dfeb293dd1331be1a54d780d997029dae4 /sim/configure.in
parent1f21d3dc1a99ae518549287d3cf9b0fd6e737251 (diff)
downloadgdb-b0c9f0261315cd25472d346ef2a67073c0fdb4ed.zip
gdb-b0c9f0261315cd25472d346ef2a67073c0fdb4ed.tar.gz
gdb-b0c9f0261315cd25472d346ef2a67073c0fdb4ed.tar.bz2
New simulator tree structure
Diffstat (limited to 'sim/configure.in')
-rw-r--r--sim/configure.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/sim/configure.in b/sim/configure.in
new file mode 100644
index 0000000..d576bce
--- /dev/null
+++ b/sim/configure.in
@@ -0,0 +1,37 @@
+# This file is a shell script that supplies the information necessary
+# to tailor a template configure script into the configure script
+# appropriate for this directory. For more information, check any
+# existing configure script.
+
+configdirs="h8300 z8k"
+srctrigger=Makefile.in
+srcname="sim"
+target_dependent=true
+
+# per-host:
+
+
+# per-target:
+
+# WHEN ADDING ENTRIES TO THIS MATRIX:
+# Make sure that the left side always has two dashes. Otherwise you
+# can get spurious matches. Even for unambiguous cases, do this as a
+# convention, else the table becomes a real mess to understand and maintain.
+
+case "${target}" in
+ h8300-*-*) sim_target=h8300 ;;
+ z8k*-*-*) sim_target=z8k ;;
+esac
+
+configdirs=${sim_target}
+
+if [ ! -f ${srcdir}/${sim_target}/${sim_target}.mt ] ; then
+ if [ -n "${sim_target}" ] ; then
+ echo '***' No file ${srcdir}/${sim_target}/${sim_target}.mt 1>&2
+ fi
+ echo '***' The simulator does not support target ${target} 1>&2
+else
+target_makefile_frag=${sim_target}/${sim_target}.mt
+fi
+# post-target:
+