* Makefile.in: Major changes. Removed some the sed
[deliverable/binutils-gdb.git] / ld / configure.in
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 target_dependent=true
9
10 # per-host:
11
12 case "${host_cpu}" in
13
14 rs6000) my_host=rs6000
15 ;;
16
17 mips)
18 case "${host_vendor}" in
19 dec) my_host=decstation ;;
20 sgi) my_host=irix3 ;;
21 esac
22 ;;
23
24 m88k)
25 case "${host_vendor}" in
26 motorola)
27 my_host=delta88 ;;
28 *)
29 case "${host_os}" in
30 dgux) my_host=dgux ;;
31 esac
32 ;;
33 esac
34 ;;
35
36 m68k)
37 case "${host_vendor}" in
38 cbm)
39 case ${host_os} in
40 amigados) my_host=amigados ;;
41 svr4) my_host=amix ;;
42 esac
43 ;;
44 hp)
45 case "${host_os}" in
46 hpux) my_host=hp9000 ;;
47 bsd) my_host=hp300bsd ;;
48 esac
49 ;;
50 sony) my_host=news ;;
51 sun) my_host=sun3 ;;
52 esac
53 ;;
54
55 i386)
56 case "${host_vendor}" in
57 *)
58 case "${host_os}" in
59 sysv) my_host=i386v ;;
60 mach) my_host=i386mach ;;
61 bsd) my_host=i386-aout ;;
62 msdos) my_host=dose ;;
63 esac
64 ;;
65 esac
66 ;;
67
68 sparc)
69 case "${host_os}" in
70 sunos64) my_host=sparc-ll ;;
71 *) my_host=sparc ;;
72 esac
73 ;;
74
75 romp) my_host=rtbsd
76 ;;
77
78 a29k) my_host=ultra3
79 ;;
80
81 tahoe)
82 my_host=tahoe
83 ;;
84
85 vax)
86 case "${host_os}" in
87 ultrix) my_host=vaxult ;;
88 *) my_host=vaxbsd ;;
89 esac
90 ;;
91 esac
92
93 # Set up to make a link between the host's include file and "sysdep.h".
94 files="../bfd/hosts/h-${my_host}.h"
95 links="sysdep.h"
96
97 if [ ! -f ${srcdir}/${files} ] ; then
98 if [ -n "${my_host}" ] ; then
99 echo '***' No file ${srcdir}/${files}
100 fi
101 echo '***' ${srcname} does not support host ${host}
102 exit 1
103 fi
104 host_makefile_frag=
105 if [ -f ${srcdir}/config/mh-${my_host} ] ; then
106 host_makefile_frag=${srcdir}/config/mh-${my_host}
107 fi
108
109 # per-target:
110
111 case ${target_vendor} in
112 aout | coff) my_target=${target_cpu}-${target_vendor} ;;
113 sun)
114 case ${target_cpu} in
115 sparc) my_target=sun4 ;;
116 m68k) my_target=sun3 ;;
117 esac
118 ;;
119 *)
120 case ${target_cpu} in
121 m88k) my_target=m88k-bcs ;;
122 a29k) case ${target_os} in
123 ebmon) my_target=ebmon29k ;;
124 *) my_target=coff-a29k ;;
125 esac
126 ;;
127 h8300) my_target=coff-h8300 ;;
128 m68k)
129 case ${target_vendor} in
130 sony) my_target=news ;;
131 hp) my_target=hp300bsd ;;
132 wrs) my_target=sun3 ;;
133 *)
134 echo "Unknown m68k target vendor:" ${target_vendor}
135 exit 1
136 ;;
137 esac
138 ;;
139 esac
140 ;;
141 esac
142
143 target_makefile_frag=${srcdir}/config/mt-${my_target}
This page took 0.04071 seconds and 4 git commands to generate.