]>
Commit | Line | Data |
---|---|---|
02757e59 SC |
1 | # This file is a shell script fragment that supplies the information |
2 | # necessary to tailor a template configure script into the configure | |
3 | # script appropriate for this directory. For more information, check | |
4 | # any existing configure script. | |
5 | ||
6 | srctrigger=ldmain.c | |
7 | srcname="linker" | |
8 | ||
9 | # per-host: | |
10 | ||
11 | if [ "${host_os}" = "posix" ] ; then | |
12 | my_host=posix | |
13 | else | |
14 | case "${host_cpu}" in | |
15 | rs6000) my_host=aix ;; | |
16 | mips) | |
17 | case "${host_vendor}" in | |
18 | dec) my_host=dec3100 ;; | |
19 | esac | |
20 | ;; | |
21 | m88k) | |
22 | case "${host_vendor}" in | |
23 | *) | |
24 | case "${host_os}" in | |
25 | dgux) my_host=dgux ;; | |
26 | esac | |
27 | ;; | |
28 | esac | |
29 | ;; | |
30 | ||
31 | m68k) | |
32 | case "${host_vendor}" in | |
33 | hp) my_host=hp9000 ;; | |
34 | sony) my_host=news ;; | |
35 | sun) my_host=sun3 ;; | |
36 | esac | |
37 | ;; | |
38 | ||
39 | i386) | |
40 | case "${host_vendor}" in | |
41 | *) | |
42 | case "${host_os}" in | |
43 | sysv) my_host=i386v ;; | |
44 | esac | |
45 | ;; | |
46 | esac | |
47 | ;; | |
48 | ||
49 | sparc) | |
50 | case "${host_vendor}" in | |
51 | sun) my_host=sun4 ;; | |
52 | esac | |
53 | ;; | |
54 | ||
55 | rtpc) my_host=rtbsd ;; | |
56 | tahoe | vax) my_host=${host_cpu} ;; | |
57 | esac | |
58 | fi | |
59 | ||
30104b16 | 60 | if [ ! -f config/h-${my_host} ] ; then |
02757e59 SC |
61 | echo '***' The linker do not support host ${host} |
62 | exit 1 | |
63 | fi | |
64 | ||
30104b16 | 65 | host_makefile_frag=config/h-${my_host} |
02757e59 SC |
66 | |
67 | # per-target: | |
68 | ||
69 | case ${target_cpu} in | |
70 | sparc) | |
71 | case ${target_vendor} in | |
72 | sun) my_target=sun4 ;; | |
73 | esac | |
74 | ;; | |
75 | m88k) my_target=m88k-bcs ;; | |
76 | a29k) my_target=coff-a29k ;; | |
77 | esac | |
78 | ||
30104b16 | 79 | target_makefile_frag=config/t-${my_target} |
02757e59 SC |
80 | |
81 | files= | |
82 | links= |