1 # Configuration fragment for GDB.
3 forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
5 forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
7 Set xdepfiles '"{o}"mac-xdep.c.o'
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.
12 Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h
14 Echo "/* dummy */" >termio.h
16 If "{target_canonical}" =~ /m68k-apple-macos/
17 forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
19 forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
21 Set tdepfiles '"{o}"m68k-pinsn.c.o "{o}"m68k-tdep.c.o'
22 Else If "{target_canonical}" =~ /ppc-apple-macos/
23 forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h
25 Set tdepfiles '"{o}"ppc-tdep.c.o'
26 Else If "{target_canonical}" =~ /i386-unknown-aout/
27 forward-include "{srcdir}"config:i386:tm-i386.h tm.h
29 Set tdepfiles '"{o}"i386-tdep.c.o'
30 Else If "{target_canonical}" =~ /mips-idt-ecoff/
31 forward-include "{srcdir}"config:mips:tm-idt.h tm.h
33 forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
34 forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
36 Set tdepfiles '"{o}"mips-pinsn.c.o "{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
39 If "{target_canonical}" != "{host_canonical}"
40 forward-include "{srcdir}"config:nm-empty.h nm.h
44 Echo '# From mpw-config.in' > "{o}"mk.tmp
46 Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
47 Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
48 Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
50 Echo '# End from mpw-config.in' >> "{o}"mk.tmp