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