* Makefile.in: Change definition of $(tooldir) to match FSF.
[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 . ${srcdir}/../bfd/configure.host
13
14 # Set up to make a link between the host's include file and "sysdep.h".
15 files="../bfd/hosts/${my_host}.h"
16 links="sysdep.h"
17
18 if [ ! -f ${srcdir}/${files} ] ; then
19 files=../bfd/hosts/std-host.h
20 echo "[${srcname} has no specific support for host ${host} -- using std-host]"
21 fi
22
23 host_makefile_frag=
24
25 if [ -f ${srcdir}/config/${my_host}.mh ] ; then
26 host_makefile_frag=config/${my_host}.mh
27 fi
28
29 # per-target:
30
31 case "${target}" in
32
33 sparc-sun-sunos4*) my_target=sun4
34 ;;
35 m68k-sun-sunos[34]*) my_target=sun3
36 ;;
37 sparclite*-fujitsu-*) my_target=sun4
38 ;;
39 sparc*-*-aout) my_target=sun4
40 ;;
41 # start-sanitize-v9
42 sparc64*) my_target=sun4
43 ;;
44 # end-sanitize-v9
45 i960-wrs-vxworks*) my_target=i960
46 ;;
47 i960-intel-nindy) my_target=i960
48 ;;
49 m68k-wrs-vxworks*) my_target=vxworks68
50 ;;
51 m680[01234]0-wrs-vxworks*) my_target=vxworks68
52 ;;
53 m683?2-wrs-vxworks*) my_target=vxworks68
54 ;;
55 sparc*-wrs-vxworks*) my_target=sun4
56 ;;
57 m68k-ericsson-ose) my_target=ose68
58 ;;
59 m680[01234]0-ericsson-ose) my_target=ose68
60 ;;
61 m683?2-ericsson-ose) my_target=ose68
62 ;;
63 *-tandem-none) my_target=st2000 # FIXME needs better name
64 ;;
65 i[34]86-*-go32) my_target=go32
66 ;;
67 i[34]86-*-sco*) my_target=i386-coff
68 ;;
69 i[34]86-*-coff) my_target=i386-coff
70 ;;
71 i[34]86-*-bsd) my_target=i386-bsd
72 ;;
73 i[34]86-*-aout) my_target=i386-aout
74 ;;
75 i[34]86-*-sysv*) my_target=i386-coff
76 ;;
77 m88k-*-*) my_target=m88k-bcs
78 ;;
79 a29k-*-udi) my_target=sa29200
80 ;;
81 a29k-*-ebmon) my_target=ebmon29k
82 ;;
83 a29k-*-*) my_target=coff-a29k
84 ;;
85 h8300-*-hms) my_target=coff-h8300
86 ;;
87 h8500-*-hms) my_target=coff-h8500
88 ;;
89 # start-sanitize-sh
90 sh-*-*) my_target=coff-sh
91 ;;
92 # end-sanitize-sh
93 m68k-sony-*) my_target=news
94 ;;
95 m68k-hp-bsd*) my_target=hp300bsd
96 ;;
97 m68*-*-aout) my_target=m68k
98 ;;
99 m68*-*-coff) my_target=m68k-coff
100 ;;
101 m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
102 exit 1
103 ;;
104 vax-dec-ultrix* | vax-dec-bsd*) my_target=vax
105 ;;
106 mips-dec-ultrix*) my_target=mips-lit
107 ;;
108 mips-sgi-irix*) my_target=mips-big
109 ;;
110 mips-idt-ecoff) my_target=mips-idt
111 ;;
112 mips-dec-bsd*) my_target=mipsbsd
113 ;;
114 z8k-*sim) my_target=z8ksim
115 ;;
116 *-*-aout) my_target=${target_cpu}-${target_vendor}
117 ;;
118 *-*-coff) my_target=${target_cpu}-${target_vendor}
119 ;;
120 esac
121
122
123
124 target_makefile_frag=config/${my_target}.mt
This page took 0.034485 seconds and 5 git commands to generate.