1994-03-24 06:14:11 +08:00
|
|
|
# Configuration fragment for GDB.
|
|
|
|
|
1995-10-27 13:04:44 +08:00
|
|
|
If "{host_canonical}" =~ /m68k-apple-mpw/
|
|
|
|
forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
|
1995-11-10 06:24:44 +08:00
|
|
|
Set siow_lib '"{Libraries}"SIOW.o'
|
1994-03-24 06:14:11 +08:00
|
|
|
|
1995-10-27 13:04:44 +08:00
|
|
|
Else If "{host_canonical}" =~ /powerpc-apple-mpw/
|
|
|
|
forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h
|
1995-11-10 06:24:44 +08:00
|
|
|
Set siow_lib '"{PPCLibraries}"PPCSIOW.o'
|
1994-03-24 06:14:11 +08:00
|
|
|
|
1995-10-27 13:04:44 +08:00
|
|
|
End If
|
|
|
|
|
|
|
|
Set xdepfiles '"{o}"mac-xdep.c.o'
|
1994-09-13 08:50:38 +08:00
|
|
|
|
1994-07-02 02:44:26 +08:00
|
|
|
# Make a copy of this file and give it a different name, so it
|
|
|
|
# won't be confused with GDB's serial.h.
|
|
|
|
|
1995-06-16 06:10:27 +08:00
|
|
|
Duplicate -y "{CIncludes}"Serial.h MacSerial.h
|
1994-07-02 02:44:26 +08:00
|
|
|
|
1994-03-24 06:14:11 +08:00
|
|
|
Echo "/* dummy */" >termio.h
|
|
|
|
|
1994-12-14 08:47:32 +08:00
|
|
|
If "{target_canonical}" =~ /m68k-apple-macos/
|
|
|
|
forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
|
|
|
|
forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
|
1995-03-18 07:21:12 +08:00
|
|
|
Set tdepfiles '"{o}"m68k-tdep.c.o'
|
1994-12-14 08:47:32 +08:00
|
|
|
|
1995-10-20 03:29:52 +08:00
|
|
|
Else If "{target_canonical}" =~ /powerpc-apple-macos/
|
|
|
|
forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h
|
|
|
|
forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h'
|
|
|
|
Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o'
|
1994-12-14 08:47:32 +08:00
|
|
|
|
1995-03-18 07:21:12 +08:00
|
|
|
Else If "{target_canonical}" =~ /i386-unknown-go32/
|
|
|
|
forward-include "{srcdir}"config:i386:tm-i386v.h tm.h
|
1994-12-14 08:47:32 +08:00
|
|
|
Set tdepfiles '"{o}"i386-tdep.c.o'
|
1995-03-18 07:21:12 +08:00
|
|
|
|
1994-12-14 08:47:32 +08:00
|
|
|
Else If "{target_canonical}" =~ /mips-idt-ecoff/
|
1994-09-13 08:50:38 +08:00
|
|
|
forward-include "{srcdir}"config:mips:tm-idt.h tm.h
|
|
|
|
forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
|
|
|
|
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
|
1995-03-18 07:21:12 +08:00
|
|
|
Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
|
1994-09-13 08:50:38 +08:00
|
|
|
|
1995-03-18 07:21:12 +08:00
|
|
|
Else If "{target_canonical}" =~ /sh-hitachi-hms/
|
|
|
|
forward-include "{srcdir}"config:sh:tm-sh.h tm.h
|
|
|
|
Set tdepfiles '"{o}"sh-tdep.c.o'
|
1995-10-27 13:04:44 +08:00
|
|
|
|
1994-09-13 08:50:38 +08:00
|
|
|
End If
|
|
|
|
|
1995-10-27 13:04:44 +08:00
|
|
|
If "{target_canonical}" =~ /m68k-apple-macos/
|
|
|
|
forward-include "{srcdir}"config:m68k:nm-macos.h nm.h
|
|
|
|
Set natdepfiles '"{o}"mac-nat.c'
|
|
|
|
|
|
|
|
Else If "{target_canonical}" =~ /powerpc-apple-macos/
|
|
|
|
forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h
|
|
|
|
Set natdepfiles '"{o}"mac-nat.c'
|
|
|
|
|
|
|
|
Else
|
1994-09-13 08:50:38 +08:00
|
|
|
forward-include "{srcdir}"config:nm-empty.h nm.h
|
1995-10-27 13:04:44 +08:00
|
|
|
Set natdepfiles ' '
|
|
|
|
|
1994-09-13 08:50:38 +08:00
|
|
|
End If
|
1994-03-24 06:14:11 +08:00
|
|
|
|
1995-10-20 03:29:52 +08:00
|
|
|
Echo '# From mpw-config.in' > "{o}"mk.tmp
|
|
|
|
Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
|
|
|
|
Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
|
1995-10-27 13:04:44 +08:00
|
|
|
Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp
|
1995-10-20 03:29:52 +08:00
|
|
|
Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
|
|
|
|
Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
|
|
|
|
Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
|
|
|
|
Echo "XM_CDEPS = " >> "{o}"mk.tmp
|
|
|
|
Echo "TM_CDEPS = " >> "{o}"mk.tmp
|
|
|
|
Echo "NAT_CDEPS = " >> "{o}"mk.tmp
|
1995-11-10 06:24:44 +08:00
|
|
|
Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp
|
1995-10-20 03:29:52 +08:00
|
|
|
Echo '# End from mpw-config.in' >> "{o}"mk.tmp
|
|
|
|
|
|
|
|
Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
|
|
|
|
Echo '#include "mpw.h"' >> "{o}"config.new
|
|
|
|
|
|
|
|
MoveIfChange "{o}"config.new "{o}"config.h
|