* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
[deliverable/binutils-gdb.git] / gdb / mpw-config.in
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 "{MPW}"Interfaces: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
19 forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
20
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
24
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
28
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
32
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'
35
36 Set tdepfiles '"{o}"mips-pinsn.c.o "{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
37 End If
38
39 If "{target_canonical}" != "{host_canonical}"
40 forward-include "{srcdir}"config:nm-empty.h nm.h
41 Set natdepfiles " "
42 End If
43
44 Echo '# From mpw-config.in' > "{o}"mk.tmp
45
46 Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
47 Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
48 Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
49
50 Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.033973 seconds and 5 git commands to generate.