Keep COPYING.NEWLIB if keep-newlib.
[deliverable/binutils-gdb.git] / gdb / mpw-config.in
CommitLineData
8dc3e3d7
SS
1# Configuration fragment for GDB.
2
3forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
4
5forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
6
2ff6b38a
SS
7Set 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
e33c359d 12Duplicate -y "{CIncludes}"Serial.h MacSerial.h
7f6572f5 13
8dc3e3d7
SS
14Echo "/* dummy */" >termio.h
15
3bf21084
SS
16If "{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
21Else 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
25Else 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 29Else 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
35Else 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
38End If
39
40If "{target_canonical}" != "{host_canonical}"
41 forward-include "{srcdir}"config:nm-empty.h nm.h
42 Set natdepfiles " "
43End If
8dc3e3d7 44
3bf21084
SS
45Echo '# From mpw-config.in' > "{o}"mk.tmp
46
47Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
48Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
49Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
50
51Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.077606 seconds and 4 git commands to generate.