Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / ld / configure.in
CommitLineData
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
6srctrigger=ldmain.c
7srcname="linker"
818a192a 8target_dependent=true
02757e59
SC
9
10# per-host:
11
086c5e37 12. ${srcdir}/../bfd/configure.host
02757e59 13
8a60817c 14# Set up to make a link between the host's include file and "sysdep.h".
9d1fe8a4 15files="../bfd/hosts/${my_host}.h"
8a60817c
JG
16links="sysdep.h"
17
818a192a 18if [ ! -f ${srcdir}/${files} ] ; then
086c5e37
PB
19 files=../bfd/hosts/std-host.h
20 echo "[${srcname} has no specific support for host ${host} -- using std-host]"
02757e59 21fi
ab57b174 22
8a60817c 23host_makefile_frag=
ab57b174 24
9d1fe8a4
SC
25if [ -f ${srcdir}/config/${my_host}.mh ] ; then
26 host_makefile_frag=config/${my_host}.mh
8a60817c 27fi
02757e59
SC
28
29# per-target:
30
ab57b174
ILT
31case "${target}" in
32
33 sparc-sun-sunos4*) my_target=sun4
34 ;;
086c5e37 35 m68k-sun-sunos[34]*) my_target=sun3
ab57b174 36 ;;
42b5c739 37 sparclite*-fujitsu-*) my_target=sun4
ab57b174 38 ;;
42b5c739
ILT
39 sparc*-*-aout) my_target=sun4
40 ;;
41 i960-wrs-vxworks*) my_target=i960
42 ;;
43 i960-intel-nindy) my_target=i960
ab57b174
ILT
44 ;;
45 m68k-wrs-vxworks*) my_target=vxworks68
46 ;;
47 m680[01234]0-wrs-vxworks*) my_target=vxworks68
48 ;;
49 m683?2-wrs-vxworks*) my_target=vxworks68
50 ;;
42b5c739 51 sparc*-wrs-vxworks*) my_target=sun4
ab57b174
ILT
52 ;;
53 m68k-ericsson-ose) my_target=ose68
a70947c1
ILT
54 ;;
55 m680[01234]0-ericsson-ose) my_target=ose68
56 ;;
57 m683?2-ericsson-ose) my_target=ose68
ab57b174
ILT
58 ;;
59 *-tandem-none) my_target=st2000 # FIXME needs better name
60 ;;
61 i386-go32-*) my_target=go32
62 ;;
086c5e37
PB
63 i386-*-sco*) my_target=i386-coff
64 ;;
99e6298a
SC
65 i386-*-coff) my_target=i386-coff
66 ;;
b89a86ac
ILT
67 i386-*-aout) my_target=i386-aout
68 ;;
086c5e37
PB
69 i386-*-sysv*) my_target=i386-coff
70 ;;
ab57b174
ILT
71 m88k-*-*) my_target=m88k-bcs
72 ;;
73 a29k-*-udi) my_target=sa29200
74 ;;
75 a29k-*-ebmon) my_target=ebmon29k
76 ;;
77 a29k-*-*) my_target=coff-a29k
78 ;;
79 h8300-*-hms) my_target=coff-h8300
80 ;;
81 h8300-*-xray) my_target=ieee-h8300
82 ;;
83 m68k-sony-*) my_target=news
84 ;;
85 m68k-hp-bsd*) my_target=hp300bsd
86 ;;
87 m68*-*-aout) my_target=m68k
88 ;;
89 m68*-*-coff) my_target=m68k-coff
90 ;;
91 m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
92 exit 1
93 ;;
42b5c739
ILT
94 mips-dec-ultrix*) my_target=mips-lit
95 ;;
b89a86ac
ILT
96 z8k-*sim) my_target=z8ksim
97 ;;
ab57b174
ILT
98 *-*-aout) my_target=${target_cpu}-${target_vendor}
99 ;;
100 *-*-coff) my_target=${target_cpu}-${target_vendor}
101 ;;
02757e59
SC
102esac
103
ab57b174
ILT
104
105
9d1fe8a4 106target_makefile_frag=config/${my_target}.mt
This page took 0.058344 seconds and 4 git commands to generate.