Commit | Line | Data |
---|---|---|
bf3d2b75 MW |
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 | ||
3ffdec44 | 6 | srctrigger="Makefile.in" |
33268150 | 7 | srcname="GDB Test Suite" |
bf3d2b75 | 8 | |
e18faa8a | 9 | # Directories to use in all configurations. |
33268150 | 10 | configdirs="gdb.base gdb.c++ gdb.chill gdb.disasm" |
e18faa8a JK |
11 | |
12 | # Directories to use for a configuration which uses stabs. C++ tests | |
13 | # are also here because I don't believe they work well for any other | |
14 | # debugging format. | |
33268150 | 15 | stabsdirs="gdb.stabs" |
bf3d2b75 MW |
16 | |
17 | # per-host: | |
18 | ||
19 | # per-target: | |
20 | ||
21 | # everything defaults to unix for a target | |
22 | target_abbrev=unix | |
23 | target_makefile_frag=config/mt-unix | |
24 | ||
25 | # this section is for all targets | |
26 | case "${target}" in | |
33268150 SS |
27 | i386-*-aout) target_makefile_frag=config/mt-i386-aout ;; |
28 | *-*-lynx) target_makefile_frag=config/mt-lynx ;; | |
29 | *-*-vxworks) target_makefile_frag=config/mt-vxworks ;; | |
30 | m68k-*-*) target_makefile_frag=config/mt-m68k ;; | |
31 | i960-*-nindy) target_makefile_frag=config/mt-i960-nindy ;; | |
32 | a29k-*-udi) target_makefile_frag=config/mt-a29k-udi ;; | |
33 | sparclite-*-*) target_makefile_frag=config/mt-slite ;; | |
34 | sparc-*-aout) target_makefile_frag=config/mt-sparc-aout ;; | |
35 | mips-*-ecoff) target_makefile_frag=config/mt-mips-ecoff ;; | |
e18faa8a JK |
36 | esac |
37 | ||
38 | case "${target}" in | |
39 | ||
40 | rs6000-*-aix*) configdirs="${configdirs} ${stabsdirs}" ;; | |
41 | *-*-bsd*) configdirs="${configdirs} ${stabsdirs}" ;; | |
42 | *-*-go32*) configdirs="${configdirs} ${stabsdirs}" ;; | |
43 | *-*-linux*) configdirs="${configdirs} ${stabsdirs}" ;; | |
e1beb230 | 44 | *-*-lynxos*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 45 | *-sun-*) configdirs="${configdirs} ${stabsdirs}" ;; |
7d251816 | 46 | hppa*-*-*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 47 | |
6dc31f06 ILT |
48 | *) if [ x${with_stabs} = xyes ]; then |
49 | configdirs="${configdirs} ${stabsdirs}" | |
50 | fi | |
51 | ;; | |
bf3d2b75 MW |
52 | esac |
53 | ||
54 | # link in the lib directory if needed | |
7996cbed RS |
55 | #if [ ! -d lib ] ; then |
56 | # files="lib" | |
57 | # links="lib" | |
58 | #fi | |
bf3d2b75 MW |
59 | |
60 | # make list of files and links based on tool name | |
61 | tool_list="${tool_list} gdb" | |
7996cbed RS |
62 | #for i in ${tool_list}; |
63 | #do | |
64 | # if [ -f ${srcdir}/config/${target_abbrev}-$i.exp ] ; then | |
65 | # files="$files config/${target_abbrev}-$i.exp" | |
66 | # links="$links $i-init.exp" | |
67 | # fi | |
68 | #done | |
bf3d2b75 MW |
69 | |
70 | # post-target: | |
71 | ||
72 | # make local configuration file, using MAKE if one is specified. | |
7996cbed | 73 | #if [ ! -n "$MAKE" ]; then MAKE=make; fi |