]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/configure.in
* configure.in (mips-idt-ecoff): New target.
[thirdparty/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="gdb.t00"
7 srcname="DejaGnu"
8
9 subdirs="gdb.t00 gdb.t01 gdb.t02 gdb.t03 gdb.t04 gdb.t05 gdb.t06 \
10 gdb.t07 gdb.t08 gdb.t09 gdb.t10 gdb.t11 gdb.t12 gdb.t13 gdb.t15 \
11 gdb.t16 gdb.t20 gdb.t21 gdb.t22 gdb.t23 gdb.t30 gdb.t31"
12
13 # per-host:
14
15 # per-target:
16
17 # everything defaults to unix for a target
18 target_abbrev=unix
19 target_makefile_frag=config/mt-unix
20
21 # this section is for all targets
22 case "${target}" in
23 i386-*-aout) target_abbrev=aout ;
24 target_makefile_frag=config/mt-i386-aout ;;
25 m68*-abug-aout) target_abbrev=abug ;
26 target_makefile_frag=config/mt-m68k-abug-aout ;;
27 m68*-abug-coff) target_abbrev=abug ;
28 target_makefile_frag=config/mt-m68k-abug-coff ;;
29 m68*-*-abug) target_abbrev=abug ;
30 target_makefile_frag=config/mt-m68k-abug-aout ;;
31 m68k-*-coff) target_abbrev=coff ;
32 target_makefile_frag=config/mt-m68k-coff ;;
33 m68k-*-aout) target_abbrev=aout ;
34 target_makefile_frag=config/mt-m68k-aout ;;
35 i960-*-nindy) target_abbrev=nind ;
36 target_makefile_frag=config/mt-i960-nindy ;;
37 m68k-*-vxworks) target_abbrev=vx ;
38 target_makefile_frag=config/mt-m68k-vx ;;
39 i960-*-vxworks) target_abbrev=vx ;
40 target_makefile_frag=config/mt-i960-vx ;;
41 a29k-*-udi) target_abbrev=udi ;
42 target_makefile_frag=config/mt-a29k-udi ;;
43 a29k-isstip-*) target_abbrev=itip ;
44 target_makefile_frag=config/mt-a29k-isstip ;;
45 mips-idt-ecoff) target_abbrev=mips ;
46 target_makefile_frag=config/mt-mips ;;
47 esac
48
49 # link in the lib directory if needed
50 if [ ! -d lib ] ; then
51 files="lib"
52 links="lib"
53 fi
54
55 # make list of files and links based on tool name
56 tool_list="${tool_list} gdb"
57 for i in ${tool_list};
58 do
59 if [ -f ${srcdir}/config/${target_abbrev}-$i.exp ] ; then
60 files="$files config/${target_abbrev}-$i.exp"
61 links="$links $i-init.exp"
62 fi
63 done
64
65 # post-target:
66
67 # make local configuration file, using MAKE if one is specified.
68 if [ ! -n "$MAKE" ]; then MAKE=make; fi