8414e2b77c8d6ecf2094f41297adeee1097afb51
[deliverable/binutils-gdb.git] / gdb / testsuite / configure.in
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
6 srctrigger="Makefile.in"
7 srcname="GDB Test Suite"
8
9 # Directories to use in all configurations.
10 configdirs="gdb.base gdb.c++ gdb.chill gdb.disasm"
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.
15 stabsdirs="gdb.stabs"
16
17 # Directories to use for a configuration which supports signals.
18 # This usually excludes cross targets.
19 signaldirs="gdb.signals"
20
21 # per-host:
22
23 # per-target:
24
25 # everything defaults to unix for a target
26 target_abbrev=unix
27 target_makefile_frag=config/mt-unix
28
29 # this section is for all targets
30 case "${target}" in
31 i[345]86-*-aout) target_makefile_frag=config/mt-i386-aout ;;
32 *-*-lynx) target_makefile_frag=config/mt-lynx ;;
33 *-*-netware) target_makefile_frag=config/mt-netware ;;
34 *-*-vxworks*) target_makefile_frag=config/mt-vxworks ;;
35 m68k-*-*) target_makefile_frag=config/mt-m68k ;;
36 i960-*-nindy) target_makefile_frag=config/mt-i960-nindy ;;
37 a29k-*-udi) target_makefile_frag=config/mt-a29k-udi ;;
38 sparclite-*-*) target_makefile_frag=config/mt-slite ;;
39 sparc-*-aout) target_makefile_frag=config/mt-sparc-aout ;;
40 mips-*-ecoff) target_makefile_frag=config/mt-mips-ecoff ;;
41 esac
42
43 # add stabs tests for appropriate targets
44 case "${target}" in
45 rs6000-*-aix*) configdirs="${configdirs} ${stabsdirs}" ;;
46 *-*-bsd*) configdirs="${configdirs} ${stabsdirs}" ;;
47 *-*-go32*) configdirs="${configdirs} ${stabsdirs}" ;;
48 *-*-linux*) configdirs="${configdirs} ${stabsdirs}" ;;
49 *-*-lynxos*) configdirs="${configdirs} ${stabsdirs}" ;;
50 *-sun-*) configdirs="${configdirs} ${stabsdirs}" ;;
51 hppa*-*-*) configdirs="${configdirs} ${stabsdirs}" ;;
52
53 *) if [ x${with_stabs} = xyes ]; then
54 configdirs="${configdirs} ${stabsdirs}"
55 fi
56 ;;
57 esac
58
59 # add signal tests for appropriate targets
60 case "${target}" in
61 sh*-hms) ;;
62 *) configdirs="${configdirs} ${signaldirs}" ;;
63 esac
64
65 # link in the lib directory if needed
66 #if [ ! -d lib ] ; then
67 # files="lib"
68 # links="lib"
69 #fi
70
71 # make list of files and links based on tool name
72 tool_list="${tool_list} gdb"
73 #for i in ${tool_list};
74 #do
75 # if [ -f ${srcdir}/config/${target_abbrev}-$i.exp ] ; then
76 # files="$files config/${target_abbrev}-$i.exp"
77 # links="$links $i-init.exp"
78 # fi
79 #done
80
81 # post-target:
82
83 # make local configuration file, using MAKE if one is specified.
84 #if [ ! -n "$MAKE" ]; then MAKE=make; fi
This page took 0.032455 seconds and 4 git commands to generate.