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 | ||
ffce44a0 | 6 | configdirs="autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu" |
378fd382 | 7 | srctrigger=move-if-change |
eb02fd64 | 8 | srcname="gnu development package" |
0df06ca0 RP |
9 | |
10 | # per-host: | |
11 | ||
cec673a2 DZ |
12 | case "${host}" in |
13 | m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;; | |
14 | m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;; | |
15 | m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;; | |
16 | m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;; | |
17 | mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;; | |
18 | mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;; | |
19 | mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;; | |
20 | i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;; | |
21 | i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;; | |
22 | i[34]86-*-linux) host_makefile_frag=config/mh-linux ;; | |
23 | *-ibm-aix*) host_makefile_frag=config/mh-aix ;; | |
24 | *-sun-solaris*) host_makefile_frag=config/mh-solaris ;; | |
25 | *-hp-hpux) host_makefile_frag=config/mh-hpux ;; | |
26 | *-*sysv4*) host_makefile_frag=config/mh-sysv4 ;; | |
27 | *-*sysv*) host_makefile_frag=config/mh-sysv ;; | |
f4bda0ff SEF |
28 | esac |
29 | ||
0df06ca0 | 30 | # per-target: |
bc58b41d | 31 | |
e99a90a7 RP |
32 | bfd_target= |
33 | ||
cec673a2 DZ |
34 | case "${target}" in |
35 | a29k-amd-ebmon) bfd_target="ebmon29k" ;; | |
36 | a29k-amd-udi) bfd_target="udi29k" ;; | |
37 | a29k-amd-*) echo "bad target_os for amd" 1>&2 | |
38 | exit 1 | |
39 | ;; | |
44e4e473 SC |
40 | esac |
41 | ||
c014d597 DZ |
42 | |
43 | # remove various programs from consideration. some of these are not | |
44 | # reasonable to build for a native compilation (eg newlib). some of these | |
45 | # aren't built for each cross compiler toolchain (eg emacs). | |
43557c0a DZ |
46 | |
47 | if [ x"${host}" = x"${target}" ] ; then | |
c014d597 DZ |
48 | # remove from native toolchains |
49 | configdirs=`echo ${configdirs} | sed -e 's/newlib//'` | |
43557c0a | 50 | else |
c014d597 DZ |
51 | # remove from cross compilers in general |
52 | configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'` | |
43557c0a DZ |
53 | fi |
54 | ||
c014d597 | 55 | # remove more programs from consideration, based on the host or |
dfa891fc DZ |
56 | # target this usually means that a port of the program doesn't |
57 | # exist yet. | |
58 | ||
378fd382 DZ |
59 | #case "${host}" in |
60 | # hppa*-*-*) | |
61 | # configdirs=`echo ${configdirs} | sed -e 's/emacs//'` | |
62 | # ;; | |
63 | #esac | |
dfa891fc | 64 | |
43557c0a | 65 | case "${target}" in |
15ae586e DZ |
66 | mips-*-*) |
67 | configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` | |
68 | ;; | |
69 | rs6000-*-*) | |
c014d597 | 70 | configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` |
15ae586e DZ |
71 | ;; |
72 | hppa*-*-*) | |
c014d597 | 73 | configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//;s/libg++//'` |
15ae586e DZ |
74 | ;; |
75 | *-*-solaris2) | |
c014d597 | 76 | configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` |
15ae586e | 77 | ;; |
05cd8d98 HS |
78 | esac |
79 | ||
43557c0a | 80 | |
bcdbe02f | 81 | target_makefile_frag=config/mt-${bfd_target} |
0e302572 | 82 | |
bc58b41d RP |
83 | # |
84 | # Local Variables: | |
85 | # fill-column: 131 | |
86 | # End: | |
87 | # | |
9d3f69fb | 88 |