]>
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" |
bf3d2b75 MW |
7 | srcname="DejaGnu" |
8 | ||
e18faa8a | 9 | # Directories to use in all configurations. |
b6423cec | 10 | configdirs="gdb.t00 gdb.t01 gdb.t02 gdb.t03 gdb.t04 gdb.t05 gdb.t06 \ |
bf3d2b75 | 11 | gdb.t07 gdb.t08 gdb.t09 gdb.t10 gdb.t11 gdb.t12 gdb.t13 gdb.t15 \ |
47882638 | 12 | gdb.t16 gdb.t17 gdb.t24 gdb.t30 gdb.disasm" |
e18faa8a JK |
13 | |
14 | # Directories to use for a configuration which uses stabs. C++ tests | |
15 | # are also here because I don't believe they work well for any other | |
16 | # debugging format. | |
17 | stabsdirs="gdb.stabs gdb.t20 gdb.t21 gdb.t22 gdb.t23" | |
bf3d2b75 MW |
18 | |
19 | # per-host: | |
20 | ||
21 | # per-target: | |
22 | ||
23 | # everything defaults to unix for a target | |
24 | target_abbrev=unix | |
25 | target_makefile_frag=config/mt-unix | |
26 | ||
27 | # this section is for all targets | |
28 | case "${target}" in | |
29 | i386-*-aout) target_abbrev=aout ; | |
30 | target_makefile_frag=config/mt-i386-aout ;; | |
31 | m68*-abug-aout) target_abbrev=abug ; | |
32 | target_makefile_frag=config/mt-m68k-abug-aout ;; | |
33 | m68*-abug-coff) target_abbrev=abug ; | |
34 | target_makefile_frag=config/mt-m68k-abug-coff ;; | |
35 | m68*-*-abug) target_abbrev=abug ; | |
36 | target_makefile_frag=config/mt-m68k-abug-aout ;; | |
37 | m68k-*-coff) target_abbrev=coff ; | |
38 | target_makefile_frag=config/mt-m68k-coff ;; | |
39 | m68k-*-aout) target_abbrev=aout ; | |
40 | target_makefile_frag=config/mt-m68k-aout ;; | |
41 | i960-*-nindy) target_abbrev=nind ; | |
42 | target_makefile_frag=config/mt-i960-nindy ;; | |
43 | m68k-*-vxworks) target_abbrev=vx ; | |
44 | target_makefile_frag=config/mt-m68k-vx ;; | |
45 | i960-*-vxworks) target_abbrev=vx ; | |
46 | target_makefile_frag=config/mt-i960-vx ;; | |
47 | a29k-*-udi) target_abbrev=udi ; | |
48 | target_makefile_frag=config/mt-a29k-udi ;; | |
49 | a29k-isstip-*) target_abbrev=itip ; | |
50 | target_makefile_frag=config/mt-a29k-isstip ;; | |
344ea7e9 | 51 | mips-idt-ecoff*) target_abbrev=mips ; |
31ca3f4c | 52 | target_makefile_frag=config/mt-mips ;; |
e18faa8a JK |
53 | esac |
54 | ||
55 | case "${target}" in | |
56 | ||
57 | rs6000-*-aix*) configdirs="${configdirs} ${stabsdirs}" ;; | |
58 | *-*-bsd*) configdirs="${configdirs} ${stabsdirs}" ;; | |
59 | *-*-go32*) configdirs="${configdirs} ${stabsdirs}" ;; | |
60 | *-*-linux*) configdirs="${configdirs} ${stabsdirs}" ;; | |
e1beb230 | 61 | *-*-lynxos*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 62 | *-sun-*) configdirs="${configdirs} ${stabsdirs}" ;; |
7d251816 | 63 | hppa*-*-*) configdirs="${configdirs} ${stabsdirs}" ;; |
e18faa8a | 64 | |
6dc31f06 ILT |
65 | *) if [ x${with_stabs} = xyes ]; then |
66 | configdirs="${configdirs} ${stabsdirs}" | |
67 | fi | |
68 | ;; | |
bf3d2b75 MW |
69 | esac |
70 | ||
71 | # link in the lib directory if needed | |
7996cbed RS |
72 | #if [ ! -d lib ] ; then |
73 | # files="lib" | |
74 | # links="lib" | |
75 | #fi | |
bf3d2b75 MW |
76 | |
77 | # make list of files and links based on tool name | |
78 | tool_list="${tool_list} gdb" | |
7996cbed RS |
79 | #for i in ${tool_list}; |
80 | #do | |
81 | # if [ -f ${srcdir}/config/${target_abbrev}-$i.exp ] ; then | |
82 | # files="$files config/${target_abbrev}-$i.exp" | |
83 | # links="$links $i-init.exp" | |
84 | # fi | |
85 | #done | |
bf3d2b75 MW |
86 | |
87 | # post-target: | |
88 | ||
89 | # make local configuration file, using MAKE if one is specified. | |
7996cbed | 90 | #if [ ! -n "$MAKE" ]; then MAKE=make; fi |