* monitor.c: Include gnu-regex.h rather than system regex.h.
[deliverable/binutils-gdb.git] / gdb / mpw-config.in
CommitLineData
8dc3e3d7
SS
1# Configuration fragment for GDB.
2
7bd447ba
SS
3If "{host_canonical}" =~ /m68k-apple-mpw/
4 forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
8dc3e3d7 5
7bd447ba
SS
6Else If "{host_canonical}" =~ /powerpc-apple-mpw/
7 forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h
8dc3e3d7 8
7bd447ba
SS
9End If
10
11Set xdepfiles '"{o}"mac-xdep.c.o'
2ff6b38a 12
7f6572f5
SS
13# Make a copy of this file and give it a different name, so it
14# won't be confused with GDB's serial.h.
15
e33c359d 16Duplicate -y "{CIncludes}"Serial.h MacSerial.h
7f6572f5 17
8dc3e3d7
SS
18Echo "/* dummy */" >termio.h
19
3bf21084
SS
20If "{target_canonical}" =~ /m68k-apple-macos/
21 forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
3bf21084 22 forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
e70a10c3 23 Set tdepfiles '"{o}"m68k-tdep.c.o'
3bf21084 24
a6922ef0
SS
25Else If "{target_canonical}" =~ /powerpc-apple-macos/
26 forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h
27 forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h'
28 Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o'
3bf21084 29
e70a10c3
SS
30Else If "{target_canonical}" =~ /i386-unknown-go32/
31 forward-include "{srcdir}"config:i386:tm-i386v.h tm.h
3bf21084 32 Set tdepfiles '"{o}"i386-tdep.c.o'
e70a10c3 33
3bf21084 34Else If "{target_canonical}" =~ /mips-idt-ecoff/
2ff6b38a 35 forward-include "{srcdir}"config:mips:tm-idt.h tm.h
2ff6b38a
SS
36 forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
37 forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
e70a10c3 38 Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
2ff6b38a 39
e70a10c3
SS
40Else If "{target_canonical}" =~ /sh-hitachi-hms/
41 forward-include "{srcdir}"config:sh:tm-sh.h tm.h
42 Set tdepfiles '"{o}"sh-tdep.c.o'
7bd447ba 43
2ff6b38a
SS
44End If
45
7bd447ba
SS
46If "{target_canonical}" =~ /m68k-apple-macos/
47 forward-include "{srcdir}"config:m68k:nm-macos.h nm.h
48 Set natdepfiles '"{o}"mac-nat.c'
49
50Else If "{target_canonical}" =~ /powerpc-apple-macos/
51 forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h
52 Set natdepfiles '"{o}"mac-nat.c'
53
54Else
2ff6b38a 55 forward-include "{srcdir}"config:nm-empty.h nm.h
7bd447ba
SS
56 Set natdepfiles ' '
57
2ff6b38a 58End If
8dc3e3d7 59
a6922ef0
SS
60Echo '# From mpw-config.in' > "{o}"mk.tmp
61Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
62Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
7bd447ba 63Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp
a6922ef0
SS
64Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
65Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
66Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
67Echo "XM_CDEPS = " >> "{o}"mk.tmp
68Echo "TM_CDEPS = " >> "{o}"mk.tmp
69Echo "NAT_CDEPS = " >> "{o}"mk.tmp
70Echo '# End from mpw-config.in' >> "{o}"mk.tmp
71
72Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
73Echo '#include "mpw.h"' >> "{o}"config.new
74
75MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.089896 seconds and 4 git commands to generate.