]>
Commit | Line | Data |
---|---|---|
eb02fd64 RP |
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 | ||
3ad0ef37 | 6 | configdirs="autoconf libgcc mmalloc libiberty texinfo bfd binutils byacc bison flex gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas" |
079399f6 | 7 | srctrigger=cfg-paper.texi |
eb02fd64 | 8 | srcname="gnu development package" |
0df06ca0 RP |
9 | |
10 | # per-host: | |
11 | ||
0c6087dd | 12 | # XXX - FIXME there needs to be a case for mh_dgux |
0e302572 SG |
13 | |
14 | case "${host_os}" in | |
b4e2a59b | 15 | aix*) host_makefile_frag=config/mh-aix ;; |
99823b66 | 16 | m88kbcs) host_makefile_frag=config/mh-delta88;; |
5f32984e | 17 | sysv4*) host_makefile_frag=config/mh-sysv4 ;; |
bbc7590a | 18 | solaris*) host_makefile_frag=config/mh-solaris ;; |
407a8389 | 19 | sysv* | irix3) host_makefile_frag=config/mh-sysv ;; |
27c28d61 | 20 | sco*) host_makefile_frag=config/mh-sco ;; |
407a8389 | 21 | irix4) host_makefile_frag=config/mh-irix4 ;; |
4da05fa0 | 22 | linux) host_makefile_frag=config/mh-linux ;; |
0ddd7b50 | 23 | hpux) host_makefile_frag=config/mh-hpux ;; |
3b2cf8e8 JG |
24 | ultrix*) |
25 | case "${host_cpu}" in | |
26 | mips) host_makefile_frag=config/mh-decstation ;; | |
27 | esac | |
0e302572 SG |
28 | esac |
29 | ||
f4bda0ff | 30 | case "${host_vendor}" in |
dd16baba SEF |
31 | apollo*) case "${host_cpu}" in |
32 | m68k*) | |
68cd7865 SEF |
33 | case "${host_os}" in |
34 | sysv*) host_makefile_frag=config/mh-apollo68 ;; | |
35 | bsd*) host_makefile_frag=config/mh-a68bsd ;; | |
36 | esac;; | |
dd16baba | 37 | esac ;; |
c4fb14b7 FF |
38 | ncr*) case "${host_os}" in |
39 | sysv4*) host_makefile_frag=config/mh-ncr3000 ;; | |
40 | esac ;; | |
41 | ||
f4bda0ff SEF |
42 | esac |
43 | ||
0df06ca0 | 44 | # per-target: |
bc58b41d | 45 | |
e99a90a7 RP |
46 | bfd_target= |
47 | ||
44e4e473 SC |
48 | case "${target_vendor}" in |
49 | amd) | |
50 | case "${target_os}" in | |
43557c0a DZ |
51 | ebmon) bfd_target="ebmon29k" |
52 | ;; | |
53 | udi) bfd_target="udi29k" | |
54 | ;; | |
55 | *) echo "bad target_os for amd" 1>&2 | |
56 | ;; | |
44e4e473 SC |
57 | esac |
58 | ;; | |
59 | *) | |
e99a90a7 | 60 | bfd_target=${target_alias} |
44e4e473 SC |
61 | ;; |
62 | esac | |
63 | ||
43557c0a DZ |
64 | # |
65 | # remove various programs from consideration, based on the target | |
66 | # this usually means that a port of the program doesn't exist yet. | |
67 | ||
68 | if [ x"${host}" = x"${target}" ] ; then | |
69 | configdirs=`echo ${configdirs} | sed -e 's/newlib//;s/libgcc//'` | |
70 | else | |
71 | true | |
72 | fi | |
73 | ||
74 | case "${target}" in | |
75 | mips-*-*) | |
76 | configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` | |
77 | ;; | |
78 | rs6000-*-*) | |
79 | configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'` | |
80 | ;; | |
81 | hppa*-*-*) | |
82 | configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/emacs//'` | |
83 | ;; | |
84 | *-*-solaris2) | |
85 | configdirs=`echo ${configdirs} | sed -e 's/gas//'` | |
05cd8d98 HS |
86 | ;; |
87 | esac | |
88 | ||
43557c0a | 89 | |
bcdbe02f | 90 | target_makefile_frag=config/mt-${bfd_target} |
0e302572 | 91 | |
bc58b41d RP |
92 | # |
93 | # Local Variables: | |
94 | # fill-column: 131 | |
95 | # End: | |
96 | # | |
9d3f69fb | 97 |