Commit | Line | Data |
---|---|---|
b0c9f026 SC |
1 | # This file is a shell script that supplies the information necessary |
2 | # to tailor a template configure script into the configure script | |
3 | # appropriate for this directory. For more information, check any | |
4 | # existing configure script. | |
5 | ||
6c19c2ef | 6 | configdirs="h8300 z8k h8500 sh w65" |
b0c9f026 SC |
7 | srctrigger=Makefile.in |
8 | srcname="sim" | |
9 | target_dependent=true | |
10 | ||
11 | # per-host: | |
12 | ||
13 | ||
14 | # per-target: | |
15 | ||
16 | # WHEN ADDING ENTRIES TO THIS MATRIX: | |
17 | # Make sure that the left side always has two dashes. Otherwise you | |
18 | # can get spurious matches. Even for unambiguous cases, do this as a | |
19 | # convention, else the table becomes a real mess to understand and maintain. | |
20 | ||
21 | case "${target}" in | |
f412eb92 | 22 | h8300*-*-*) sim_target=h8300 ;; |
47dba87a | 23 | h8500-*-*) sim_target=h8500 ;; |
b0c9f026 | 24 | z8k*-*-*) sim_target=z8k ;; |
6c19c2ef SC |
25 | sh*-*-*) sim_target=sh ;; |
26 | w65-*-*) sim_target=w65 ;; | |
47dba87a | 27 | *) sim_target=none ;; |
b0c9f026 SC |
28 | esac |
29 | ||
30 | configdirs=${sim_target} | |
31 | ||
32 | if [ ! -f ${srcdir}/${sim_target}/${sim_target}.mt ] ; then | |
47dba87a | 33 | target_makefile_frag= |
b0c9f026 SC |
34 | else |
35 | target_makefile_frag=${sim_target}/${sim_target}.mt | |
36 | fi | |
37 | # post-target: | |
38 |