| 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 | |
| 7 | Set xdepfiles '"{o}"mac-xdep.c.o' |
| 8 | |
| 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 "{CIncludes}"Serial.h MacSerial.h |
| 13 | |
| 14 | Echo "/* dummy */" >termio.h |
| 15 | |
| 16 | If "{target_canonical}" =~ /m68k-apple-macos/ |
| 17 | forward-include "{srcdir}"config:m68k:tm-mac.h tm.h |
| 18 | forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h' |
| 19 | Set tdepfiles '"{o}"m68k-tdep.c.o' |
| 20 | |
| 21 | Else If "{target_canonical}" =~ /ppc-apple-macos/ |
| 22 | forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h |
| 23 | Set tdepfiles '"{o}"ppc-tdep.c.o' |
| 24 | |
| 25 | Else If "{target_canonical}" =~ /i386-unknown-go32/ |
| 26 | forward-include "{srcdir}"config:i386:tm-i386v.h tm.h |
| 27 | Set tdepfiles '"{o}"i386-tdep.c.o' |
| 28 | |
| 29 | Else If "{target_canonical}" =~ /mips-idt-ecoff/ |
| 30 | forward-include "{srcdir}"config:mips:tm-idt.h tm.h |
| 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' |
| 33 | Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o' |
| 34 | |
| 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' |
| 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 |
| 44 | |
| 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 |