Remove unnecessary CYGNUS LOCAL
[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
a6922ef0
SS
21Else If "{target_canonical}" =~ /powerpc-apple-macos/
22 forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h
23 forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h'
24 Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o'
3bf21084 25
e70a10c3
SS
26Else If "{target_canonical}" =~ /i386-unknown-go32/
27 forward-include "{srcdir}"config:i386:tm-i386v.h tm.h
3bf21084 28 Set tdepfiles '"{o}"i386-tdep.c.o'
e70a10c3 29
3bf21084 30Else If "{target_canonical}" =~ /mips-idt-ecoff/
2ff6b38a 31 forward-include "{srcdir}"config:mips:tm-idt.h tm.h
2ff6b38a
SS
32 forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
33 forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
e70a10c3 34 Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
2ff6b38a 35
e70a10c3
SS
36Else If "{target_canonical}" =~ /sh-hitachi-hms/
37 forward-include "{srcdir}"config:sh:tm-sh.h tm.h
38 Set tdepfiles '"{o}"sh-tdep.c.o'
2ff6b38a
SS
39End If
40
41If "{target_canonical}" != "{host_canonical}"
42 forward-include "{srcdir}"config:nm-empty.h nm.h
43 Set natdepfiles " "
44End If
8dc3e3d7 45
a6922ef0
SS
46Echo '# From mpw-config.in' > "{o}"mk.tmp
47Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
48Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
49Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
50Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
51Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
52Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
53Echo "XM_CDEPS = " >> "{o}"mk.tmp
54Echo "TM_CDEPS = " >> "{o}"mk.tmp
55Echo "NAT_CDEPS = " >> "{o}"mk.tmp
56Echo '# End from mpw-config.in' >> "{o}"mk.tmp
57
58Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
59Echo '#include "mpw.h"' >> "{o}"config.new
60
61MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.092003 seconds and 4 git commands to generate.