Commit | Line | Data |
---|---|---|
594266fc 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 | ||
a86ea03f | 6 | srctrigger=interp.c |
594266fc SC |
7 | srcname="shsim" |
8 | ||
9 | # per-host: | |
10 | ||
11 | . ${srcdir}/../../bfd/configure.host | |
12 | ||
13 | # Set up to make a link between the host's include file and "sysdep.h". | |
14 | files="../../bfd/hosts/${my_host}.h" | |
15 | ||
16 | links="sysdep.h" | |
17 | ||
18 | if [ ! -f ${srcdir}/${files} ] ; then | |
5887848e | 19 | files=../../bfd/hosts/std-host.h |
35680553 | 20 | echo "[${srcname} has no specific support for host ${host} -- using std-host]" |
594266fc SC |
21 | fi |
22 | ||
23 | host_makefile_frag= | |
24 | if [ -f ${srcdir}/../../bfd/config/${my_host}.mh ] ; then | |
25 | host_makefile_frag=../../bfd/config/${my_host}.mh | |
26 | fi | |
27 | ||
28 | # per-target: | |
29 | ||
30 | ||
d2fd61a8 SC |
31 | case "${target}" in |
32 | sh-*-*) sim_target=sh ;; | |
33 | shl-*-*) sim_target=shl ;; | |
34 | esac | |
35 | ||
36 | target_makefile_frag=${sim_target}.mt |