* ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
[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 i960-wrs-vxworks*) my_target=vxworks960
40 ;;
41 m68k-wrs-vxworks*) my_target=vxworks68
42 ;;
43 m680[01234]0-wrs-vxworks*) my_target=vxworks68
44 ;;
45 m683?2-wrs-vxworks*) my_target=vxworks68
46 ;;
47 sparc-wrs-vxworks*) my_target=vxsparc
48 ;;
49 m68k-ericsson-ose) my_target=ose68
50 ;;
51 *-tandem-none) my_target=st2000 # FIXME needs better name
52 ;;
53 i386-go32-*) my_target=go32
54 ;;
55 i386-*-sco*) my_target=i386-coff
56 ;;
57 i386-*-coff) my_target=i386-coff
58 ;;
59 i386-*-aout) my_target=i386-aout
60 ;;
61 i386-*-sysv*) my_target=i386-coff
62 ;;
63 m88k-*-*) my_target=m88k-bcs
64 ;;
65 a29k-*-udi) my_target=sa29200
66 ;;
67 a29k-*-ebmon) my_target=ebmon29k
68 ;;
69 a29k-*-*) my_target=coff-a29k
70 ;;
71 h8300-*-hms) my_target=coff-h8300
72 ;;
73 h8300-*-xray) my_target=ieee-h8300
74 ;;
75 m68k-sony-*) my_target=news
76 ;;
77 m68k-hp-bsd*) my_target=hp300bsd
78 ;;
79 m68*-*-aout) my_target=m68k
80 ;;
81 m68*-*-coff) my_target=m68k-coff
82 ;;
83 m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
84 exit 1
85 ;;
86 z8k-*sim) my_target=z8ksim
87 ;;
88 *-*-aout) my_target=${target_cpu}-${target_vendor}
89 ;;
90 *-*-coff) my_target=${target_cpu}-${target_vendor}
91 ;;
92 esac
93
94
95
96 target_makefile_frag=config/${my_target}.mt
This page took 0.054388 seconds and 5 git commands to generate.