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 | |
9c79b8b5 C |
27 | i[345]86-*-aout) target_makefile_frag=config/mt-i386-aout ;; |
28 | *-*-lynx) target_makefile_frag=config/mt-lynx ;; | |
29 | *-*-netware) target_makefile_frag=config/mt-netware ;; | |
30 | *-*-vxworks*) target_makefile_frag=config/mt-vxworks ;; | |
31 | m68k-*-*) target_makefile_frag=config/mt-m68k ;; | |
32 | i960-*-nindy) target_makefile_frag=config/mt-i960-nindy ;; | |
33 | a29k-*-udi) target_makefile_frag=config/mt-a29k-udi ;; | |
34 | sparclite-*-*) target_makefile_frag=config/mt-slite ;; | |
35 | sparc-*-aout) target_makefile_frag=config/mt-sparc-aout ;; | |
36 | mips-*-ecoff) target_makefile_frag=config/mt-mips-ecoff ;; | |
e18faa8a JK |
37 | esac |
38 | ||
39 | case "${target}" in | |
40 | ||
41 | rs6000-*-aix*) configdirs="${configdirs} ${stabsdirs}" ;; | |
42 | *-*-bsd*) configdirs="${configdirs} ${stabsdirs}" ;; | |
43 | *-*-go32*) configdirs="${configdirs} ${stabsdirs}" ;; | |
44 | *-*-linux*) configdirs="${configdirs} ${stabsdirs}" ;; | |
e1beb230 | 45 | *-*-lynxos*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 46 | *-sun-*) configdirs="${configdirs} ${stabsdirs}" ;; |
7d251816 | 47 | hppa*-*-*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 48 | |
6dc31f06 ILT |
49 | *) if [ x${with_stabs} = xyes ]; then |
50 | configdirs="${configdirs} ${stabsdirs}" | |
51 | fi | |
52 | ;; | |
bf3d2b75 MW |
53 | esac |
54 | ||
55 | # link in the lib directory if needed | |
7996cbed RS |
56 | #if [ ! -d lib ] ; then |
57 | # files="lib" | |
58 | # links="lib" | |
59 | #fi | |
bf3d2b75 MW |
60 | |
61 | # make list of files and links based on tool name | |
62 | tool_list="${tool_list} gdb" | |
7996cbed RS |
63 | #for i in ${tool_list}; |
64 | #do | |
65 | # if [ -f ${srcdir}/config/${target_abbrev}-$i.exp ] ; then | |
66 | # files="$files config/${target_abbrev}-$i.exp" | |
67 | # links="$links $i-init.exp" | |
68 | # fi | |
69 | #done | |
bf3d2b75 MW |
70 | |
71 | # post-target: | |
72 | ||
73 | # make local configuration file, using MAKE if one is specified. | |
7996cbed | 74 | #if [ ! -n "$MAKE" ]; then MAKE=make; fi |