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