Commit | Line | Data |
---|---|---|
8dc3e3d7 SS |
1 | # Configuration fragment for GDB. |
2 | ||
3 | forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h | |
4 | ||
5 | forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h' | |
6 | ||
2ff6b38a SS |
7 | Set xdepfiles '"{o}"mac-xdep.c.o' |
8 | ||
7f6572f5 SS |
9 | # Make a copy of this file and give it a different name, so it |
10 | # won't be confused with GDB's serial.h. | |
11 | ||
12 | Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h | |
13 | ||
8dc3e3d7 SS |
14 | Echo "/* dummy */" >termio.h |
15 | ||
3bf21084 SS |
16 | If "{target_canonical}" =~ /m68k-apple-macos/ |
17 | forward-include "{srcdir}"config:m68k:tm-mac.h tm.h | |
3bf21084 | 18 | forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h' |
e70a10c3 | 19 | Set tdepfiles '"{o}"m68k-tdep.c.o' |
3bf21084 | 20 | |
3bf21084 SS |
21 | Else If "{target_canonical}" =~ /ppc-apple-macos/ |
22 | forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h | |
3bf21084 | 23 | Set tdepfiles '"{o}"ppc-tdep.c.o' |
3bf21084 | 24 | |
e70a10c3 SS |
25 | Else If "{target_canonical}" =~ /i386-unknown-go32/ |
26 | forward-include "{srcdir}"config:i386:tm-i386v.h tm.h | |
3bf21084 | 27 | Set tdepfiles '"{o}"i386-tdep.c.o' |
e70a10c3 | 28 | |
3bf21084 | 29 | Else If "{target_canonical}" =~ /mips-idt-ecoff/ |
2ff6b38a | 30 | forward-include "{srcdir}"config:mips:tm-idt.h tm.h |
2ff6b38a SS |
31 | forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h' |
32 | forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h' | |
e70a10c3 | 33 | Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o' |
2ff6b38a | 34 | |
e70a10c3 SS |
35 | Else If "{target_canonical}" =~ /sh-hitachi-hms/ |
36 | forward-include "{srcdir}"config:sh:tm-sh.h tm.h | |
37 | Set tdepfiles '"{o}"sh-tdep.c.o' | |
2ff6b38a SS |
38 | End If |
39 | ||
40 | If "{target_canonical}" != "{host_canonical}" | |
41 | forward-include "{srcdir}"config:nm-empty.h nm.h | |
42 | Set natdepfiles " " | |
43 | End If | |
8dc3e3d7 | 44 | |
3bf21084 SS |
45 | Echo '# From mpw-config.in' > "{o}"mk.tmp |
46 | ||
47 | Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp | |
48 | Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp | |
49 | Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp | |
50 | ||
51 | Echo '# End from mpw-config.in' >> "{o}"mk.tmp |