* gencode.c (build_instruction) [MUL]: Cast operands to word64, to
[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 # start-sanitize-gm
45 Else If "{target_canonical}" =~ /mips-gm-magic/
46 forward-include "{srcdir}"config:mips:tm-embed.h tm.h
47 forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
48 forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
49 Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o "{o}"gmagic.c.o'
50 If {host_cc} =~ /gcc/
51 Set enable_cflags '-DGENERAL_MAGIC'
52 Else
53 Set enable_cflags '-d GENERAL_MAGIC'
54 End If
55 # end-sanitize-gm
56
57 Else If "{target_canonical}" =~ /sh-hitachi-hms/
58 forward-include "{srcdir}"config:sh:tm-sh.h tm.h
59 Set tdepfiles '"{o}"sh-tdep.c.o'
60
61 End If
62
63 If "{target_canonical}" =~ /m68k-apple-macos/
64 forward-include "{srcdir}"config:m68k:nm-macos.h nm.h
65 Set natdepfiles '"{o}"mac-nat.c.o'
66
67 Else If "{target_canonical}" =~ /powerpc-apple-macos/
68 forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h
69 Set natdepfiles '"{o}"mac-nat.c.o'
70
71 Else
72 forward-include "{srcdir}"config:nm-empty.h nm.h
73 Set natdepfiles ' '
74
75 End If
76
77 Echo '# From mpw-config.in' > "{o}"mk.tmp
78 Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
79 Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
80 Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp
81 Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
82 Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
83 Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
84 Echo "XM_CDEPS = " >> "{o}"mk.tmp
85 Echo "TM_CDEPS = " >> "{o}"mk.tmp
86 Echo "NAT_CDEPS = " >> "{o}"mk.tmp
87 Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp
88 Echo "ENABLE_CFLAGS = " {enable_cflags} >> "{o}"mk.tmp
89 Echo '# End from mpw-config.in' >> "{o}"mk.tmp
90
91 Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
92 Echo '#include "mpw.h"' >> "{o}"config.new
93
94 MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.066867 seconds and 4 git commands to generate.