* som.c (hppa_som_gen_reloc_type): Choose a reasonable field
[deliverable/binutils-gdb.git] / opcodes / mpw-make.in
1 # Makefile template for Configure for the opcodes library.
2 # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 s = "{srcdir}"
20 o = :
21
22 CC = C -d MPW_C
23
24 "{o}" \Option-f : "{s}"
25
26 # Default rule that puts each file into separate segment.
27
28 .c.o \Option-f .c
29 {CC} {DepDir}{Default}.c {ALL_CFLAGS} {SymOptions} -s {Default} -o {TargDir}{Default}.c.o
30
31 HDEFINES =
32 TDEFINES =
33 CSWITCHES =
34 SymOptions =
35
36 prefix = :usr:local
37
38 exec_prefix = {prefix}
39 bindir = {exec_prefix}:bin
40 libdir = {exec_prefix}:lib
41
42 datadir = {prefix}:lib
43 mandir = {prefix}:man
44 man1dir = {mandir}:man1
45 man2dir = {mandir}:man2
46 man3dir = {mandir}:man3
47 man4dir = {mandir}:man4
48 man5dir = {mandir}:man5
49 man6dir = {mandir}:man6
50 man7dir = {mandir}:man7
51 man8dir = {mandir}:man8
52 man9dir = {mandir}:man9
53 infodir = {prefix}:info
54 includedir = {prefix}:include
55 oldincludedir =
56 docdir = {srcdir}:doc
57
58 SHELL = :bin:sh
59
60 INSTALL = install -c
61 INSTALL_PROGRAM = {INSTALL}
62 INSTALL_DATA = {INSTALL}
63
64 AR = ar
65 AR_FLAGS = qc
66 CFLAGS = -g
67 BISON = bison
68 MAKEINFO = makeinfo
69 RANLIB = ranlib
70
71 INCDIR = "{topsrcdir}"include
72 BFDDIR = "{topsrcdir}"bfd
73 CSEARCH = -i {INCDIR},{INCDIR}:,{BFDDIR}:,::bfd:,"{INCDIR}":mpw:,::extra-include:
74 DEP = mkdep
75
76 ALL_CFLAGS = {CSEARCH} {ARCHDEFS}
77
78 TARGETLIB = libopcodes.o
79
80 # To circumvent a Sun make VPATH bug, each file listed here
81 # should also have a foo.o: foo.c line further along in this file.
82
83 ALL_MACHINES = a29k-dis.o alpha-dis.o h8300-dis.o h8500-dis.o ¶
84 hppa-dis.o i386-dis.o i960-dis.o m68881-ext.o m68k-dis.o ¶
85 m88k-dis.o mips-dis.o mips-opc.o sh-dis.o sparc-dis.o ¶
86 sparc-opc.o z8k-dis.o
87
88 # BFD_MACHINES is set by configure.in.
89
90 OFILES = {BFD_MACHINES} "{o}"dis-buf.c.o "{o}"disassemble.c.o
91
92 #### host and target dependent Makefile fragments come in here.
93 ###
94
95 FLAGS_TO_PASS = \Option-d
96 "against={against}" \Option-d
97 "AR={AR}" \Option-d
98 "AR_FLAGS={AR_FLAGS}" \Option-d
99 "CC={CC}" \Option-d
100 "CFLAGS={CFLAGS}" \Option-d
101 "RANLIB={RANLIB}" \Option-d
102 "MAKEINFO={MAKEINFO}" \Option-d
103 "INSTALL={INSTALL}" \Option-d
104 "INSTALL_DATA={INSTALL_DATA}" \Option-d
105 "INSTALL_PROGRAM={INSTALL_PROGRAM}" \Option-d
106 "BISON={BISON}"
107
108
109 # C source files that correspond to .o's.
110 CFILES = i386-dis.c z8k-dis.c m68k-dis.c mips-dis.c
111
112 STAGESTUFF = {TARGETLIB} {OFILES}
113
114 all \Option-f {TARGETLIB}
115
116 # HDEPFILES comes from the host config; TDEPFILES from the target config.
117
118
119 {TARGETLIB} \Option-f {OFILES}
120 # rm -f {TARGETLIB}
121 Lib -o {TARGETLIB} {OFILES}
122 # {RANLIB} {TARGETLIB}
123
124 "{o}"disassemble.c.o \Option-f "{s}"disassemble.c {INCDIR}:dis-asm.h
125
126 "{o}"a29k-dis.o \Option-f "{s}"a29k-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:a29k.h
127 "{o}"dis-buf.c.o \Option-f "{s}"dis-buf.c {INCDIR}:dis-asm.h
128 "{o}"h8500-dis.o \Option-f "{s}"h8500-dis.c h8500-opc.h {INCDIR}:dis-asm.h
129 "{o}"h8300-dis.o \Option-f "{s}"h8300-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:h8300.h
130 "{o}"i386-dis.o \Option-f "{s}"i386-dis.c {INCDIR}:dis-asm.h
131 "{o}"i960-dis.o \Option-f "{s}"i960-dis.c {INCDIR}:dis-asm.h
132 "{o}"m68881-ext.o \Option-f "{s}"m68881-ext.c {INCDIR}:ieee-float.h
133 "{o}"m68k-dis.o \Option-f "{s}"m68k-dis.c {INCDIR}:dis-asm.h {INCDIR}:ieee-float.h \Option-d
134 {INCDIR}:opcode:m68k.h
135 "{o}"mips-dis.c.o \Option-f "{s}"mips-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:mips.h
136 "{o}"mips-opc.c.o \Option-f "{s}"mips-opc.c {INCDIR}:opcode:mips.h
137 "{o}"sparc-dis.o \Option-f "{s}"sparc-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:sparc.h
138 "{o}"sparc-opc.o \Option-f "{s}"sparc-opc.c {INCDIR}:opcode:sparc.h
139 "{o}"z8k-dis.o \Option-f "{s}"z8k-dis.c z8k-opc.h {INCDIR}:dis-asm.h
140 "{o}"sh-dis.o \Option-f "{s}"sh-dis.c sh-opc.h {INCDIR}:dis-asm.h
141 "{o}"alpha-dis.o \Option-f "{s}"alpha-dis.c alpha-opc.h {INCDIR}:dis-asm.h
142 "{o}"hppa-dis.o \Option-f "{s}"hppa-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:hppa.h
143 "{o}"m88k-dis.o \Option-f "{s}"m88k-dis.c {INCDIR}:dis-asm.h {INCDIR}:opcode:m88k.h
144
145 # Mark everything as depending on config.status, since the timestamp on
146 # sysdep.h might actually move backwards if we reconfig and relink it
147 # to a different hosts:h-xxx.h file. This will force a recompile anyway.
148 RECONFIG = config.status
149
150 # Dummy target to force execution of dependent targets.
151 #
152 #force:
153
154 #install \Option-f
155 # {INSTALL_DATA} {TARGETLIB} {libdir}:libopcodes.a
156 # {RANLIB} {libdir}:libopcodes.a
157
158 #Makefile \Option-f {srcdir}:Makefile.in {host_makefile_frag} {target_makefile_frag}
159 # {SHELL} .:config.status
160
161 dep \Option-f {CFILES}
162 mkdep {CFLAGS}
163
164
165 # What appears below is generated by a hacked mkdep using gcc -MM.
166
167 # DO NOT DELETE THIS LINE -- mkdep uses it.
168 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
169
170
171 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
172
This page took 0.0334 seconds and 4 git commands to generate.