]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - opcodes/Makefile.am
ChangeLog:
[thirdparty/binutils-gdb.git] / opcodes / Makefile.am
CommitLineData
252b5132
RH
1## Process this file with automake to generate Makefile.in
2
3f85e526 3AUTOMAKE_OPTIONS = 1.9 cygnus
252b5132
RH
4
5SUBDIRS = po
6
7INCDIR = $(srcdir)/../include
8BFDDIR = $(srcdir)/../bfd
41b49281 9MKDEP = gcc -MM
252b5132 10
a2d91340 11WARN_CFLAGS = @WARN_CFLAGS@
9e9b66a9 12NO_WERROR = @NO_WERROR@
a2d91340
AC
13AM_CFLAGS = $(WARN_CFLAGS)
14
81172ff2
AM
15bfdlibdir = @bfdlibdir@
16bfdincludedir = @bfdincludedir@
17
18bfdlib_LTLIBRARIES = libopcodes.la
252b5132
RH
19
20# This is where bfd.h lives.
21BFD_H = ../bfd/bfd.h
22
6c298591
NC
23# This is where libiberty lives.
24LIBIBERTY = ../libiberty/libiberty.a
25
252b5132
RH
26# Header files.
27HFILES = \
49f58d10 28 cgen-ops.h cgen-types.h \
252b5132 29 fr30-desc.h fr30-opc.h \
fd3c93d5 30 frv-desc.h frv-opc.h \
252b5132 31 h8500-opc.h \
43079f18
NC
32 ia64-asmtab.h \
33 ia64-opc.h \
a40cbfa3 34 ip2k-desc.h ip2k-opc.h \
47b1a55a 35 iq2000-desc.h iq2000-opc.h \
49f58d10 36 m32c-desc.h m32c-opc.h \
252b5132
RH
37 m32r-desc.h m32r-opc.h \
38 mcore-opc.h \
ac188222 39 ms1-desc.h ms1-opc.h \
87e6d782 40 openrisc-desc.h openrisc-opc.h \
252b5132 41 sh-opc.h \
43079f18 42 sh64-opc.h \
252b5132
RH
43 sysdep.h \
44 w65-opc.h \
93fbbb04 45 xstormy16-desc.h xstormy16-opc.h \
252b5132
RH
46 z8k-opc.h
47
48# C source files that correspond to .o's.
49CFILES = \
50 a29k-dis.c \
51 alpha-dis.c \
52 alpha-opc.c \
71f22174
AS
53 arc-dis.c \
54 arc-opc.c \
0d2bcfaf 55 arc-ext.c \
252b5132 56 arm-dis.c \
832ddf62 57 avr-dis.c \
252b5132
RH
58 cgen-asm.c \
59 cgen-dis.c \
60 cgen-opc.c \
6c95a37f
HPN
61 cris-dis.c \
62 cris-opc.c \
1fe1f39c
NC
63 crx-dis.c \
64 crx-opc.c \
252b5132
RH
65 d10v-dis.c \
66 d10v-opc.c \
67 d30v-dis.c \
68 d30v-opc.c \
d172d4ba 69 dlx-dis.c \
252b5132 70 dis-buf.c \
92c2346c 71 dis-init.c \
252b5132
RH
72 disassemble.c \
73 fr30-asm.c \
74 fr30-desc.c \
75 fr30-dis.c \
76 fr30-ibld.c \
77 fr30-opc.c \
fd3c93d5
DB
78 frv-asm.c \
79 frv-desc.c \
80 frv-dis.c \
81 frv-ibld.c \
82 frv-opc.c \
252b5132
RH
83 h8300-dis.c \
84 h8500-dis.c \
85 hppa-dis.c \
5b93d8bb
AM
86 i370-dis.c \
87 i370-opc.c \
252b5132 88 i386-dis.c \
915ef37f 89 i860-dis.c \
252b5132 90 i960-dis.c \
800eeca4
JW
91 ia64-dis.c \
92 ia64-opc-a.c \
93 ia64-opc-b.c \
94 ia64-opc-f.c \
95 ia64-opc-i.c \
96 ia64-opc-m.c \
97 ia64-opc-d.c \
98 ia64-opc.c \
99 ia64-gen.c \
100 ia64-asmtab.c \
a40cbfa3
NC
101 ip2k-asm.c \
102 ip2k-desc.c \
103 ip2k-dis.c \
104 ip2k-ibld.c \
105 ip2k-opc.c \
47b1a55a
SC
106 iq2000-asm.c \
107 iq2000-desc.c \
108 iq2000-dis.c \
109 iq2000-ibld.c \
110 iq2000-opc.c \
49f58d10
JB
111 m32c-asm.c \
112 m32c-desc.c \
113 m32c-dis.c \
114 m32c-ibld.c \
115 m32c-opc.c \
252b5132
RH
116 m32r-asm.c \
117 m32r-desc.c \
118 m32r-dis.c \
119 m32r-ibld.c \
120 m32r-opc.c \
121 m32r-opinst.c \
60bcf0fa
NC
122 m68hc11-dis.c \
123 m68hc11-opc.c \
252b5132
RH
124 m68k-dis.c \
125 m68k-opc.c \
126 m88k-dis.c \
7499d566 127 maxq-dis.c \
252b5132
RH
128 mcore-dis.c \
129 mips-dis.c \
130 mips-opc.c \
131 mips16-opc.c \
132 m10200-dis.c \
133 m10200-opc.c \
134 m10300-dis.c \
135 m10300-opc.c \
3c3bdf30
NC
136 mmix-dis.c \
137 mmix-opc.c \
ac188222
DB
138 ms1-asm.c \
139 ms1-desc.c \
140 ms1-dis.c \
141 ms1-ibld.c \
142 ms1-opc.c \
252b5132 143 ns32k-dis.c \
87e6d782
NC
144 openrisc-asm.c \
145 openrisc-desc.c \
146 openrisc-dis.c \
147 openrisc-ibld.c \
148 openrisc-opc.c \
3b16e843
NC
149 or32-dis.c \
150 or32-opc.c \
e135f41b
NC
151 pdp11-dis.c \
152 pdp11-opc.c \
1e608f98
ILT
153 pj-dis.c \
154 pj-opc.c \
252b5132
RH
155 ppc-dis.c \
156 ppc-opc.c \
b6849f55 157 s390-mkopc.c \
a85d7ed0
NC
158 s390-opc.c \
159 s390-dis.c \
252b5132 160 sh-dis.c \
43079f18
NC
161 sh64-dis.c \
162 sh64-opc.c \
252b5132
RH
163 sparc-dis.c \
164 sparc-opc.c \
165 tic30-dis.c \
026df7c5 166 tic4x-dis.c \
5c84d377
TW
167 tic54x-dis.c \
168 tic54x-opc.c \
252b5132
RH
169 tic80-dis.c \
170 tic80-opc.c \
71f22174
AS
171 v850-dis.c \
172 v850-opc.c \
252b5132
RH
173 vax-dis.c \
174 w65-dis.c \
93fbbb04
GK
175 xstormy16-asm.c \
176 xstormy16-desc.c \
177 xstormy16-dis.c \
178 xstormy16-ibld.c \
179 xstormy16-opc.c \
e0001a05 180 xtensa-dis.c \
252b5132
RH
181 z8k-dis.c \
182 z8kgen.c
183
184ALL_MACHINES = \
185 a29k-dis.lo \
186 alpha-dis.lo \
187 alpha-opc.lo \
188 arc-dis.lo \
189 arc-opc.lo \
0d2bcfaf 190 arc-ext.lo \
252b5132 191 arm-dis.lo \
832ddf62 192 avr-dis.lo \
252b5132
RH
193 cgen-asm.lo \
194 cgen-dis.lo \
195 cgen-opc.lo \
6c95a37f
HPN
196 cris-dis.lo \
197 cris-opc.lo \
1fe1f39c
NC
198 crx-dis.lo \
199 crx-opc.lo \
252b5132
RH
200 d10v-dis.lo \
201 d10v-opc.lo \
202 d30v-dis.lo \
203 d30v-opc.lo \
d172d4ba 204 dlx-dis.lo \
252b5132
RH
205 fr30-asm.lo \
206 fr30-desc.lo \
207 fr30-dis.lo \
208 fr30-ibld.lo \
209 fr30-opc.lo \
fd3c93d5
DB
210 frv-asm.lo \
211 frv-desc.lo \
212 frv-dis.lo \
213 frv-ibld.lo \
214 frv-opc.lo \
252b5132
RH
215 h8300-dis.lo \
216 h8500-dis.lo \
217 hppa-dis.lo \
218 i386-dis.lo \
5b93d8bb
AM
219 i370-dis.lo \
220 i370-opc.lo \
915ef37f 221 i860-dis.lo \
252b5132 222 i960-dis.lo \
800eeca4
JW
223 ia64-dis.lo \
224 ia64-opc.lo \
a40cbfa3
NC
225 ip2k-asm.lo \
226 ip2k-desc.lo \
227 ip2k-dis.lo \
228 ip2k-ibld.lo \
229 ip2k-opc.lo \
47b1a55a
SC
230 iq2000-asm.lo \
231 iq2000-desc.lo \
232 iq2000-dis.lo \
233 iq2000-ibld.lo \
234 iq2000-opc.lo \
49f58d10
JB
235 m32c-asm.lo \
236 m32c-desc.lo \
237 m32c-dis.lo \
238 m32c-ibld.lo \
239 m32c-opc.lo \
252b5132
RH
240 m32r-asm.lo \
241 m32r-desc.lo \
242 m32r-dis.lo \
243 m32r-ibld.lo \
244 m32r-opc.lo \
245 m32r-opinst.lo \
60bcf0fa
NC
246 m68hc11-dis.lo \
247 m68hc11-opc.lo \
252b5132
RH
248 m68k-dis.lo \
249 m68k-opc.lo \
250 m88k-dis.lo \
251 m10200-dis.lo \
252 m10200-opc.lo \
253 m10300-dis.lo \
254 m10300-opc.lo \
7499d566 255 maxq-dis.lo \
252b5132
RH
256 mcore-dis.lo \
257 mips-dis.lo \
258 mips-opc.lo \
259 mips16-opc.lo \
3c3bdf30
NC
260 mmix-dis.lo \
261 mmix-opc.lo \
ac188222
DB
262 ms1-asm.lo \
263 ms1-desc.lo \
264 ms1-dis.lo \
265 ms1-ibld.lo \
266 ms1-opc.lo \
40065372 267 msp430-dis.lo \
e135f41b 268 ns32k-dis.lo \
87e6d782
NC
269 openrisc-asm.lo \
270 openrisc-desc.lo \
271 openrisc-dis.lo \
272 openrisc-ibld.lo \
273 openrisc-opc.lo \
3b16e843
NC
274 or32-dis.lo \
275 or32-opc.lo \
e135f41b
NC
276 pdp11-dis.lo \
277 pdp11-opc.lo \
1e608f98
ILT
278 pj-dis.lo \
279 pj-opc.lo \
252b5132
RH
280 ppc-dis.lo \
281 ppc-opc.lo \
a85d7ed0
NC
282 s390-dis.lo \
283 s390-opc.lo \
252b5132 284 sh-dis.lo \
43079f18
NC
285 sh64-dis.lo \
286 sh64-opc.lo \
252b5132
RH
287 sparc-dis.lo \
288 sparc-opc.lo \
289 tic30-dis.lo \
026df7c5 290 tic4x-dis.lo \
5c84d377
TW
291 tic54x-dis.lo \
292 tic54x-opc.lo \
252b5132
RH
293 tic80-dis.lo \
294 tic80-opc.lo \
295 v850-dis.lo \
296 v850-opc.lo \
297 vax-dis.lo \
298 w65-dis.lo \
93fbbb04
GK
299 xstormy16-asm.lo \
300 xstormy16-desc.lo \
301 xstormy16-dis.lo \
302 xstormy16-ibld.lo \
303 xstormy16-opc.lo \
e0001a05 304 xtensa-dis.lo \
252b5132
RH
305 z8k-dis.lo
306
307OFILES = @BFD_MACHINES@
308
3f85e526
L
309# We should reconfigure whenever bfd/configure.in changes, because
310# that's where the version number in Makefile comes from.
311CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
312
252b5132
RH
313INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
314
315disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
316 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
317
92c2346c 318libopcodes_la_SOURCES = dis-buf.c disassemble.c dis-init.c
3ba7a1aa
DJ
319# It's desirable to list ../bfd/libbfd.la in DEPENDENCIES and LIBADD.
320# Unfortunately this causes libtool to add -L$(libdir), referring to the
321# planned install directory of libbfd. This can cause us to pick up an
322# old version of libbfd, or to pick up libbfd for the wrong architecture
323# if host != build.
324libopcodes_la_DEPENDENCIES = $(OFILES)
325libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
252b5132
RH
326libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
327
328# libtool will build .libs/libopcodes.a. We create libopcodes.a in
329# the build directory so that we don't have to convert all the
330# programs that use libopcodes.a simultaneously. This is a hack which
331# should be removed if everything else starts using libtool. FIXME.
332
333noinst_LIBRARIES = libopcodes.a
334
335stamp-lib: libopcodes.la
e56f75e9
ILT
336 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
337 if [ -f $$libtooldir/libopcodes.a ]; then \
338 cp $$libtooldir/libopcodes.a libopcodes.tmp; \
847ee773 339 $(RANLIB) libopcodes.tmp; \
252b5132
RH
340 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
341 else true; fi
342 touch stamp-lib
343
344libopcodes.a: stamp-lib ; @true
345
346POTFILES = $(HFILES) $(CFILES)
347po/POTFILES.in: @MAINT@ Makefile
f8607389 348 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
252b5132
RH
349 && mv tmp $(srcdir)/po/POTFILES.in
350
81172ff2 351install-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@install_libopcodes
263de010 352 @$(NORMAL_INSTALL)
81172ff2
AM
353
354uninstall-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@uninstall_libopcodes
355 @$(NORMAL_UNINSTALL)
356
357.PHONY: install_libopcodes uninstall_libopcodes
358install_libopcodes: $(bfdlib_LTLIBRARIES)
359 $(mkinstalldirs) $(DESTDIR)$(bfdlibdir)
360 $(mkinstalldirs) $(DESTDIR)$(bfdincludedir)
361 @list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
362 if test -f $$p; then \
363 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p"; \
364 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p; \
365 else :; fi; \
366 done
367 $(INSTALL_DATA) $(INCDIR)/dis-asm.h $(DESTDIR)$(bfdincludedir)/dis-asm.h
368
369uninstall_libopcodes:
370 list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
371 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bfdlibdir)/$$p; \
372 done
373 rm -f $(DESTDIR)$(bfdincludedir)/dis-asm.h
263de010 374
252b5132 375CLEANFILES = \
49f58d10
JB
376 stamp-ip2k stamp-m32c stamp-m32r stamp-fr30 stamp-frv \
377 stamp-openrisc stamp-iq2000 stamp-ms1 stamp-xstormy16 \
0bdaf48b 378 libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
252b5132
RH
379
380
6e31aea3 381CGENDIR = @cgendir@
4a3264e6 382CPUDIR = $(CGENDIR)/cpu
0a40490e 383CGEN = "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` -l ${cgendir}/guile.scm -s"
6e31aea3
BE
384CGENFLAGS = -v
385
bc98a631 386CGENDEPS = \
6e31aea3
BE
387 $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \
388 $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
389 $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
390 $(CGENDIR)/opc-opinst.scm \
391 cgen-asm.in cgen-dis.in cgen-ibld.in
392
49f58d10 393CGEN_CPUS = fr30 frv ip2k m32c m32r ms1 openrisc xstormy16
4714fbc0 394
6e31aea3 395if CGEN_MAINT
a40cbfa3 396IP2K_DEPS = stamp-ip2k
49f58d10 397M32C_DEPS = stamp-m32c
6e31aea3
BE
398M32R_DEPS = stamp-m32r
399FR30_DEPS = stamp-fr30
fd3c93d5 400FRV_DEPS = stamp-frv
ac188222 401MS1_DEPS = stamp-ms1
87e6d782 402OPENRISC_DEPS = stamp-openrisc
47b1a55a 403IQ2000_DEPS = stamp-iq2000
93fbbb04 404XSTORMY16_DEPS = stamp-xstormy16
6e31aea3 405else
a40cbfa3 406IP2K_DEPS =
49f58d10 407M32C_DEPS =
6e31aea3
BE
408M32R_DEPS =
409FR30_DEPS =
fd3c93d5 410FRV_DEPS =
ac188222 411MS1_DEPS =
87e6d782 412OPENRISC_DEPS =
47b1a55a 413IQ2000_DEPS =
93fbbb04 414XSTORMY16_DEPS =
6e31aea3
BE
415endif
416
417run-cgen:
418 $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) \
9c2de729
DB
419 $(CGENDIR) "$(CGENFLAGS)" $(arch) $(prefix) $(archfile) $(opcfile) \
420 "$(options)" "$(extrafiles)"
6e31aea3
BE
421 touch stamp-${prefix}
422.PHONY: run-cgen
423
4714fbc0
DE
424# Maintainer utility rule to regenerate all cgen files.
425run-cgen-all:
426 for c in $(CGEN_CPUS) ; \
427 do \
428 $(MAKE) stamp-$$c || exit 1 ; \
429 done
430.PHONY: run-cgen-all
431
6e31aea3 432# For now, require developers to configure with --enable-cgen-maint.
a40cbfa3
NC
433$(srcdir)/ip2k-desc.h $(srcdir)/ip2k-desc.c $(srcdir)/ip2k-opc.h $(srcdir)/ip2k-opc.c $(srcdir)/ip2k-ibld.c $(srcdir)/ip2k-asm.c $(srcdir)/ip2k-dis.c: $(IP2K_DEPS)
434 @true
435stamp-ip2k: $(CGENDEPS) $(CPUDIR)/ip2k.cpu $(CPUDIR)/ip2k.opc
9c2de729
DB
436 $(MAKE) run-cgen arch=ip2k prefix=ip2k options= \
437 archfile=$(CPUDIR)/ip2k.cpu opcfile=$(CPUDIR)/ip2k.opc extrafiles=
a40cbfa3 438
49f58d10
JB
439$(srcdir)/m32c-desc.h $(srcdir)/m32c-desc.c $(srcdir)/m32c-opc.h $(srcdir)/m32c-opc.c $(srcdir)/m32c-ibld.c $(srcdir)/m32c-asm.c $(srcdir)/m32c-dis.c: $(M32C_DEPS)
440# @true
441stamp-m32c: $(CGENDEPS) $(CPUDIR)/m32c.cpu $(CPUDIR)/m32c.opc
442 $(MAKE) run-cgen arch=m32c prefix=m32c options= \
443 archfile=$(CPUDIR)/m32c.cpu opcfile=$(CPUDIR)/m32c.opc extrafiles=
444m32c_opc_h = m32c-opc.h cgen-types.h cgen-ops.h
445m32c-asm.lo: m32c-asm.c sysdep.h config.h $(BFD_H) \
446 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h m32c-desc.h \
447 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
448m32c-desc.lo: m32c-desc.c sysdep.h config.h $(BFD_H) \
449 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h m32c-desc.h \
450 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
451m32c-dis.lo: m32c-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
452 $(BFD_H) $(INCDIR)/ansidecl.h \
453 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
454 $(m32c_opc_h) opintl.h
455m32c-ibld.lo: m32c-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
456 $(BFD_H) $(INCDIR)/ansidecl.h \
457 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
458 $(m32c_opc_h) opintl.h
459m32c-opc.lo: m32c-opc.c sysdep.h config.h $(BFD_H) \
460 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h m32c-desc.h \
461 $(INCDIR)/opcode/cgen.h $(m32c_opc_h)
462
6e31aea3 463$(srcdir)/m32r-desc.h $(srcdir)/m32r-desc.c $(srcdir)/m32r-opc.h $(srcdir)/m32r-opc.c $(srcdir)/m32r-ibld.c $(srcdir)/m32r-opinst.c $(srcdir)/m32r-asm.c $(srcdir)/m32r-dis.c: $(M32R_DEPS)
dc62a253 464 @true
d125c27b 465stamp-m32r: $(CGENDEPS) $(srcdir)/../cpu/m32r.cpu $(srcdir)/../cpu/m32r.opc
9c2de729 466 $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst \
d125c27b
AM
467 archfile=$(srcdir)/../cpu/m32r.cpu \
468 opcfile=$(srcdir)/../cpu/m32r.opc extrafiles=opinst
6e31aea3
BE
469
470$(srcdir)/fr30-desc.h $(srcdir)/fr30-desc.c $(srcdir)/fr30-opc.h $(srcdir)/fr30-opc.c $(srcdir)/fr30-ibld.c $(srcdir)/fr30-asm.c $(srcdir)/fr30-dis.c: $(FR30_DEPS)
471 @true
4a3264e6 472stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.cpu $(CPUDIR)/fr30.opc
9c2de729
DB
473 $(MAKE) run-cgen arch=fr30 prefix=fr30 options= \
474 archfile=$(CPUDIR)/fr30.cpu opcfile=$(CPUDIR)/fr30.opc extrafiles=
6e31aea3 475
fd3c93d5
DB
476$(srcdir)/frv-desc.h $(srcdir)/frv-desc.c $(srcdir)/frv-opc.h $(srcdir)/frv-opc.c $(srcdir)/frv-ibld.c $(srcdir)/frv-asm.c $(srcdir)/frv-dis.c: $(FRV_DEPS)
477 @true
5272d201 478stamp-frv: $(CGENDEPS) $(srcdir)/../cpu/frv.cpu $(srcdir)/../cpu/frv.opc
9c2de729
DB
479 $(MAKE) run-cgen arch=frv prefix=frv options= \
480 archfile=$(srcdir)/../cpu/frv.cpu opcfile=$(srcdir)/../cpu/frv.opc extrafiles=
fd3c93d5 481
ac188222
DB
482$(srcdir)/ms1-desc.h $(srcdir)/ms1-desc.c $(srcdir)/ms1-opc.h $(srcdir)/ms1-opc.c $(srcdir)/ms1-ibld.c $(srcdir)/ms1-asm.c $(srcdir)/ms1-dis.c: $(MS1_DEPS)
483 @true
d125c27b 484stamp-ms1: $(CGENDEPS) $(srcdir)/../cpu/ms1.cpu $(srcdir)/../cpu/ms1.opc
ac188222 485 $(MAKE) run-cgen arch=ms1 prefix=ms1 options= \
d125c27b
AM
486 archfile=$(srcdir)/../cpu/ms1.cpu \
487 opcfile=$(srcdir)/../cpu/ms1.opc extrafiles=
ac188222 488
87e6d782
NC
489$(srcdir)/openrisc-desc.h $(srcdir)/openrisc-desc.c $(srcdir)/openrisc-opc.h $(srcdir)/openrisc-opc.c $(srcdir)/openrisc-ibld.c $(srcdir)/openrisc-asm.c $(srcdir)/openrisc-dis.c: $(OPENRISC_DEPS)
490 @true
4a3264e6 491stamp-openrisc: $(CGENDEPS) $(CPUDIR)/openrisc.cpu $(CPUDIR)/openrisc.opc
9c2de729
DB
492 $(MAKE) run-cgen arch=openrisc prefix=openrisc options= \
493 archfile=$(CPUDIR)/openrisc.cpu opcfile=$(CPUDIR)/openrisc.opc extrafiles=
87e6d782 494
47b1a55a
SC
495$(srcdir)/iq2000-desc.h $(srcdir)/iq2000-desc.c $(srcdir)/iq2000-opc.h $(srcdir)/iq2000-opc.c $(srcdir)/iq2000-ibld.c $(srcdir)/iq2000-asm.c $(srcdir)/iq2000-dis.c: $(IQ2000_DEPS)
496 @true
d125c27b
AM
497stamp-iq2000: $(CGENDEPS) $(srcdir)/../cpu/iq2000.cpu \
498 $(srcdir)/../cpu/iq2000.opc $(srcdir)/../cpu/iq2000m.cpu \
499 $(srcdir)/../cpu/iq10.cpu
9c2de729 500 $(MAKE) run-cgen arch=iq2000 prefix=iq2000 options= \
d125c27b
AM
501 archfile=$(srcdir)/../cpu/iq2000.cpu \
502 opcfile=$(srcdir)/../cpu/iq2000.opc extrafiles=
47b1a55a 503
93fbbb04
GK
504$(srcdir)/xstormy16-desc.h $(srcdir)/xstormy16-desc.c $(srcdir)/xstormy16-opc.h $(srcdir)/xstormy16-opc.c $(srcdir)/xstormy16-ibld.c $(srcdir)/xstormy16-asm.c $(srcdir)/xstormy16-dis.c: $(XSTORMY16_DEPS)
505 @true
506stamp-xstormy16: $(CGENDEPS) $(CPUDIR)/xstormy16.cpu $(CPUDIR)/xstormy16.opc
9c2de729
DB
507 $(MAKE) run-cgen arch=xstormy16 prefix=xstormy16 options= \
508 archfile=$(CPUDIR)/xstormy16.cpu opcfile=$(CPUDIR)/xstormy16.opc extrafiles=
93fbbb04 509
800eeca4
JW
510ia64-gen: ia64-gen.o
511 $(LINK) ia64-gen.o $(LIBIBERTY)
512
513ia64-gen.o: ia64-gen.c ia64-opc.c ia64-opc-a.c ia64-opc-b.c ia64-opc-f.c \
514 ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
515
516ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
bde78a07 517 ./ia64-gen --srcdir $(srcdir) > $(srcdir)/ia64-asmtab.c
252b5132 518
b6849f55
NC
519s390-mkopc: s390-mkopc.c
520 $(CC_FOR_BUILD) -o s390-mkopc $(srcdir)/s390-mkopc.c
521
522s390-opc.tab: s390-mkopc s390-opc.txt
523 ./s390-mkopc < $(srcdir)/s390-opc.txt > s390-opc.tab
524
19f33eee
AM
525sh-dis.lo: sh-dis.c
526 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $<
527
252b5132
RH
528# This dependency stuff is copied from BFD.
529
73c418f4
ILT
530DEP: dep.sed $(CFILES) $(HFILES) config.h
531 rm -f DEP1
41b49281 532 $(MAKE) MKDEP="$(MKDEP)" DEP1
0bdaf48b
AM
533 sed -f dep.sed < DEP1 > DEPA
534 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
535 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1581f8c9
AM
536 echo 'make DEP failed!'; exit 1; \
537 else \
0bdaf48b 538 mv -f DEPA $@; \
1581f8c9 539 fi
252b5132 540
73c418f4 541DEP1: $(CFILES)
73c418f4 542 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
41b49281
AM
543 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
544 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
545 mv -f DEP2 $@
252b5132
RH
546
547dep.sed: dep-in.sed config.status
548 sed <$(srcdir)/dep-in.sed >dep.sed \
549 -e 's!@BFD_H@!$(BFD_H)!' \
550 -e 's!@INCDIR@!$(INCDIR)!' \
551 -e 's!@BFDDIR@!$(BFDDIR)!' \
82674a1f
AM
552 -e 's!@SRCDIR@!$(srcdir)!' \
553 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/opcodes$$,,`'!'
252b5132 554
73c418f4 555dep: DEP
252b5132 556 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
73c418f4 557 cat DEP >> tmp-Makefile
252b5132
RH
558 $(srcdir)/../move-if-change tmp-Makefile Makefile
559
73c418f4 560dep-in: DEP
252b5132 561 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
73c418f4 562 cat DEP >> tmp-Makefile.in
252b5132
RH
563 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
564
73c418f4 565dep-am: DEP
252b5132 566 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
73c418f4 567 cat DEP >> tmp-Makefile.am
252b5132
RH
568 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
569
570.PHONY: dep dep-in dep-am
571
572# What appears below is generated by a hacked mkdep using gcc -MM.
573
574# DO NOT DELETE THIS LINE -- mkdep uses it.
575# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
0d8dfecf 576a29k-dis.lo: a29k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 577 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/a29k.h
0d8dfecf 578alpha-dis.lo: alpha-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 579 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/alpha.h
0d8dfecf 580alpha-opc.lo: alpha-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
581 $(INCDIR)/opcode/alpha.h $(BFD_H) $(INCDIR)/symcat.h \
582 opintl.h
82674a1f
AM
583arc-dis.lo: arc-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
584 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h \
585 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
586 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h \
587 $(INCDIR)/elf/reloc-macros.h opintl.h arc-dis.h arc-ext.h
8737c3ea 588arc-opc.lo: arc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
2d2550d6 589 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h
8737c3ea 590arc-ext.lo: arc-ext.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 591 $(BFD_H) $(INCDIR)/symcat.h arc-ext.h $(INCDIR)/libiberty.h
0d8dfecf 592arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
db9db6f2 593 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arm.h \
6b5d3a4d
ZW
594 opintl.h $(INCDIR)/safe-ctype.h $(INCDIR)/coff/internal.h \
595 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h $(BFDDIR)/elf-bfd.h \
596 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
597 $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h
0d8dfecf 598avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 599 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
f62ba8f2 600 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
0d8dfecf 601cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
8737c3ea
HPN
602 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
603 $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h opintl.h
0d8dfecf
AM
604cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
605 $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
606cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
8737c3ea
HPN
607 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
608 $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
6c95a37f 609cris-dis.lo: cris-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a
AM
610 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
611 $(INCDIR)/opcode/cris.h $(INCDIR)/libiberty.h
6c95a37f 612cris-opc.lo: cris-opc.c $(INCDIR)/opcode/cris.h
8ae85421
AM
613crx-dis.lo: crx-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
614 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
615 $(INCDIR)/opcode/crx.h
616crx-opc.lo: crx-opc.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
617 $(INCDIR)/symcat.h $(INCDIR)/opcode/crx.h
0d8dfecf 618d10v-dis.lo: d10v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
619 $(INCDIR)/opcode/d10v.h $(INCDIR)/dis-asm.h $(BFD_H) \
620 $(INCDIR)/symcat.h
0d8dfecf
AM
621d10v-opc.lo: d10v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
622 $(INCDIR)/opcode/d10v.h
623d30v-dis.lo: d30v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
624 $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 625 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
626d30v-opc.lo: d30v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
627 $(INCDIR)/opcode/d30v.h
d172d4ba 628dlx-dis.lo: dlx-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
194b5210 629 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/dlx.h
0d8dfecf 630dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 631 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h
92c2346c 632dis-init.lo: dis-init.c sysdep.h config.h $(INCDIR)/ansidecl.h \
9fa06c65 633 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 634disassemble.lo: disassemble.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 635 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 636fr30-asm.lo: fr30-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
637 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
638 fr30-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
639 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
0d8dfecf 640fr30-desc.lo: fr30-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 641 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
642 fr30-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
643 $(INCDIR)/xregex2.h
0d8dfecf 644fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
645 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
646 fr30-desc.h $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h
0d8dfecf
AM
647fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
648 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
c0ef99a7 649 $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h $(INCDIR)/safe-ctype.h
0d8dfecf
AM
650fr30-opc.lo: fr30-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
651 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
27b7e12d 652 fr30-opc.h $(INCDIR)/libiberty.h
8c3bb577
AM
653frv-asm.lo: frv-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
654 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
655 frv-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
656 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
657frv-desc.lo: frv-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
658 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
659 frv-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
660 $(INCDIR)/xregex2.h
8c3bb577 661frv-dis.lo: frv-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
662 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
663 frv-desc.h $(INCDIR)/opcode/cgen.h frv-opc.h opintl.h
8c3bb577
AM
664frv-ibld.lo: frv-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
665 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h frv-desc.h \
666 $(INCDIR)/opcode/cgen.h frv-opc.h opintl.h $(INCDIR)/safe-ctype.h
667frv-opc.lo: frv-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
668 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
669 frv-opc.h $(INCDIR)/libiberty.h $(INCDIR)/elf/frv.h \
670 $(INCDIR)/elf/reloc-macros.h
0d8dfecf
AM
671h8300-dis.lo: h8300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
672 $(INCDIR)/opcode/h8300.h $(INCDIR)/dis-asm.h $(BFD_H) \
f62ba8f2 673 $(INCDIR)/symcat.h opintl.h $(INCDIR)/libiberty.h
0d8dfecf 674h8500-dis.lo: h8500-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
675 h8500-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
676 opintl.h
0d8dfecf 677hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
678 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(BFDDIR)/libhppa.h \
679 $(INCDIR)/opcode/hppa.h
0d8dfecf 680i370-dis.lo: i370-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 681 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/i370.h
0d8dfecf
AM
682i370-opc.lo: i370-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
683 $(INCDIR)/opcode/i370.h
252b5132 684i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a
AM
685 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
686 opintl.h
915ef37f 687i860-dis.lo: i860-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 688 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/i860.h
0d8dfecf 689i960-dis.lo: i960-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 690 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
2114f57b 691ia64-dis.lo: ia64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 692 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/ia64.h
82674a1f
AM
693ia64-opc-a.lo: ia64-opc-a.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
694 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
695ia64-opc-b.lo: ia64-opc-b.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
696 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
697ia64-opc-f.lo: ia64-opc-f.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
698 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
699ia64-opc-i.lo: ia64-opc-i.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
700 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
701ia64-opc-m.lo: ia64-opc-m.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
702 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
2114f57b 703ia64-opc-d.lo: ia64-opc-d.c
6b5d3a4d
ZW
704ia64-opc.lo: ia64-opc.c $(INCDIR)/ansidecl.h sysdep.h \
705 config.h $(INCDIR)/libiberty.h ia64-asmtab.h $(INCDIR)/opcode/ia64.h \
82674a1f 706 $(BFD_H) $(INCDIR)/symcat.h ia64-asmtab.c
2114f57b 707ia64-gen.lo: ia64-gen.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
bde78a07
NC
708 $(INCDIR)/safe-ctype.h sysdep.h config.h $(INCDIR)/getopt.h \
709 ia64-opc.h $(INCDIR)/opcode/ia64.h $(BFD_H) $(INCDIR)/symcat.h \
82674a1f 710 ia64-opc-a.c ia64-opc-i.c ia64-opc-m.c ia64-opc-b.c \
f8607389 711 ia64-opc-f.c ia64-opc-x.c ia64-opc-d.c
2114f57b 712ia64-asmtab.lo: ia64-asmtab.c
8c3bb577
AM
713ip2k-asm.lo: ip2k-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
714 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
715 ip2k-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
716 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
717ip2k-desc.lo: ip2k-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
718 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
719 ip2k-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
720 $(INCDIR)/xregex2.h
8c3bb577 721ip2k-dis.lo: ip2k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
722 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
723 ip2k-desc.h $(INCDIR)/opcode/cgen.h ip2k-opc.h opintl.h
8c3bb577
AM
724ip2k-ibld.lo: ip2k-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
725 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h \
726 $(INCDIR)/opcode/cgen.h ip2k-opc.h opintl.h $(INCDIR)/safe-ctype.h
727ip2k-opc.lo: ip2k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
728 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
729 ip2k-opc.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
730iq2000-asm.lo: iq2000-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
731 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
732 iq2000-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
733 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
734iq2000-desc.lo: iq2000-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
735 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
795bb480
AM
736 iq2000-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
737 $(INCDIR)/xregex2.h
f62ba8f2 738iq2000-dis.lo: iq2000-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
795bb480
AM
739 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
740 iq2000-desc.h $(INCDIR)/opcode/cgen.h iq2000-opc.h \
741 opintl.h
f62ba8f2
AM
742iq2000-ibld.lo: iq2000-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
743 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h \
744 $(INCDIR)/opcode/cgen.h iq2000-opc.h opintl.h $(INCDIR)/safe-ctype.h
745iq2000-opc.lo: iq2000-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
746 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
747 iq2000-opc.h $(INCDIR)/libiberty.h
0d8dfecf 748m32r-asm.lo: m32r-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
749 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
750 m32r-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
751 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
0d8dfecf 752m32r-desc.lo: m32r-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 753 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
754 m32r-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
755 $(INCDIR)/xregex2.h
0d8dfecf 756m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
757 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
758 m32r-desc.h $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h
0d8dfecf
AM
759m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
760 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
c0ef99a7 761 $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h $(INCDIR)/safe-ctype.h
0d8dfecf
AM
762m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
763 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
27b7e12d 764 m32r-opc.h $(INCDIR)/libiberty.h
0d8dfecf
AM
765m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(INCDIR)/ansidecl.h \
766 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
252b5132 767 m32r-opc.h
bbeb2e03 768m68hc11-dis.lo: m68hc11-dis.c $(INCDIR)/ansidecl.h \
7997656a
AM
769 $(INCDIR)/opcode/m68hc11.h $(INCDIR)/dis-asm.h $(BFD_H) \
770 $(INCDIR)/symcat.h
bbeb2e03 771m68hc11-opc.lo: m68hc11-opc.c $(INCDIR)/ansidecl.h \
60bcf0fa 772 $(INCDIR)/opcode/m68hc11.h
0d8dfecf 773m68k-dis.lo: m68k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 774 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/floatformat.h \
82674a1f 775 $(INCDIR)/libiberty.h opintl.h $(INCDIR)/opcode/m68k.h
0d8dfecf 776m68k-opc.lo: m68k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 777 $(INCDIR)/opcode/m68k.h
0d8dfecf 778m88k-dis.lo: m88k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 779 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/m88k.h \
f62ba8f2 780 opintl.h $(INCDIR)/libiberty.h
db9db6f2
AM
781maxq-dis.lo: maxq-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
782 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/maxq.h
0d8dfecf 783mcore-dis.lo: mcore-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 784 mcore-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 785mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
786 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
787 $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
788 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
789 $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
0d8dfecf
AM
790mips-opc.lo: mips-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
791 $(INCDIR)/opcode/mips.h
792mips16-opc.lo: mips16-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
793 $(INCDIR)/opcode/mips.h
794m10200-dis.lo: m10200-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
795 $(INCDIR)/opcode/mn10200.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 796 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
797m10200-opc.lo: m10200-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
798 $(INCDIR)/opcode/mn10200.h
799m10300-dis.lo: m10300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
800 $(INCDIR)/opcode/mn10300.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 801 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
802m10300-opc.lo: m10300-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
803 $(INCDIR)/opcode/mn10300.h
3c3bdf30 804mmix-dis.lo: mmix-dis.c $(INCDIR)/opcode/mmix.h $(INCDIR)/dis-asm.h \
c0ef99a7 805 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
3c3bdf30
NC
806 opintl.h
807mmix-opc.lo: mmix-opc.c $(INCDIR)/opcode/mmix.h $(INCDIR)/symcat.h
ac188222
DB
808ms1-asm.lo: ms1-asm.c sysdep.h config.h \
809 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h ms1-desc.h \
810 $(INCDIR)/opcode/cgen.h ms1-opc.h opintl.h $(INCDIR)/xregex.h \
811 $(INCDIR)/xregex2.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
812ms1-desc.lo: ms1-desc.c sysdep.h config.h \
813 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h ms1-desc.h \
814 $(INCDIR)/opcode/cgen.h ms1-opc.h opintl.h $(INCDIR)/libiberty.h \
815 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
816ms1-dis.lo: ms1-dis.c sysdep.h config.h \
817 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
818 $(INCDIR)/libiberty.h ms1-desc.h $(INCDIR)/opcode/cgen.h \
819 ms1-opc.h opintl.h
820ms1-ibld.lo: ms1-ibld.c sysdep.h config.h \
821 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
822 ms1-desc.h $(INCDIR)/opcode/cgen.h ms1-opc.h \
823 opintl.h $(INCDIR)/safe-ctype.h
824ms1-opc.lo: ms1-opc.c sysdep.h config.h \
825 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h ms1-desc.h \
826 $(INCDIR)/opcode/cgen.h ms1-opc.h $(INCDIR)/libiberty.h
252b5132 827ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
7997656a
AM
828 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/dis-asm.h \
829 $(INCDIR)/opcode/ns32k.h opintl.h
87e6d782 830openrisc-asm.lo: openrisc-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
831 $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
832 openrisc-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
833 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
8a5cc6be
AM
834openrisc-desc.lo: openrisc-desc.c sysdep.h config.h \
835 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h \
f62ba8f2
AM
836 $(INCDIR)/opcode/cgen.h openrisc-opc.h opintl.h $(INCDIR)/libiberty.h \
837 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
87e6d782 838openrisc-dis.lo: openrisc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
839 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
840 openrisc-desc.h $(INCDIR)/opcode/cgen.h openrisc-opc.h \
841 opintl.h
8a5cc6be
AM
842openrisc-ibld.lo: openrisc-ibld.c sysdep.h config.h \
843 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
844 openrisc-desc.h $(INCDIR)/opcode/cgen.h openrisc-opc.h \
c0ef99a7 845 opintl.h $(INCDIR)/safe-ctype.h
87e6d782
NC
846openrisc-opc.lo: openrisc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
847 $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
848 openrisc-opc.h $(INCDIR)/libiberty.h
ba323545
AM
849or32-dis.lo: or32-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
850 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/or32.h \
851 $(INCDIR)/safe-ctype.h
852or32-opc.lo: or32-opc.c $(INCDIR)/safe-ctype.h $(INCDIR)/ansidecl.h \
853 $(INCDIR)/opcode/or32.h
8737c3ea 854pdp11-dis.lo: pdp11-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 855 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/pdp11.h
e135f41b 856pdp11-opc.lo: pdp11-opc.c $(INCDIR)/opcode/pdp11.h
0d8dfecf 857pj-dis.lo: pj-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
858 $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h $(BFD_H) \
859 $(INCDIR)/symcat.h
0d8dfecf
AM
860pj-opc.lo: pj-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
861 $(INCDIR)/opcode/pj.h
862ppc-dis.lo: ppc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 863 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/ppc.h
0d8dfecf
AM
864ppc-opc.lo: ppc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
865 $(INCDIR)/opcode/ppc.h opintl.h
8737c3ea
HPN
866s390-mkopc.lo: s390-mkopc.c
867s390-opc.lo: s390-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/s390.h \
868 s390-opc.tab
27b7e12d 869s390-dis.lo: s390-dis.c $(INCDIR)/ansidecl.h sysdep.h \
7997656a
AM
870 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
871 $(INCDIR)/opcode/s390.h
0d8dfecf 872sh-dis.lo: sh-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
8ae85421 873 sh-opc.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/dis-asm.h
43079f18
NC
874sh64-dis.lo: sh64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
875 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
876 sh64-opc.h $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h \
877 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
f0abc2a1
AM
878 $(INCDIR)/bfdlink.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
879 $(BFDDIR)/elf32-sh64.h
71b21050 880sh64-opc.lo: sh64-opc.c sh64-opc.h
0d8dfecf
AM
881sparc-dis.lo: sparc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
882 $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 883 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h opintl.h
0d8dfecf
AM
884sparc-opc.lo: sparc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
885 $(INCDIR)/opcode/sparc.h
886tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 887 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic30.h
2d2550d6
AM
888tic4x-dis.lo: tic4x-dis.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
889 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic4x.h
bbeb2e03 890tic54x-dis.lo: tic54x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 891 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h \
bbeb2e03
L
892 $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h
893tic54x-opc.lo: tic54x-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7 894 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h
0d8dfecf 895tic80-dis.lo: tic80-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
896 $(INCDIR)/opcode/tic80.h $(INCDIR)/dis-asm.h $(BFD_H) \
897 $(INCDIR)/symcat.h
0d8dfecf
AM
898tic80-opc.lo: tic80-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
899 $(INCDIR)/opcode/tic80.h
900v850-dis.lo: v850-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
901 $(INCDIR)/opcode/v850.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 902 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
903v850-opc.lo: v850-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
904 $(INCDIR)/opcode/v850.h opintl.h
905vax-dis.lo: vax-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
906 $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h $(BFD_H) \
907 $(INCDIR)/symcat.h
0d8dfecf 908w65-dis.lo: w65-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 909 w65-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
c0ef99a7
AM
910xstormy16-asm.lo: xstormy16-asm.c sysdep.h config.h \
911 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
912 $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/xregex.h \
913 $(INCDIR)/xregex2.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
914xstormy16-desc.lo: xstormy16-desc.c sysdep.h config.h \
915 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
f62ba8f2
AM
916 $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/libiberty.h \
917 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
c0ef99a7
AM
918xstormy16-dis.lo: xstormy16-dis.c sysdep.h config.h \
919 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
f62ba8f2
AM
920 $(INCDIR)/libiberty.h xstormy16-desc.h $(INCDIR)/opcode/cgen.h \
921 xstormy16-opc.h opintl.h
c0ef99a7
AM
922xstormy16-ibld.lo: xstormy16-ibld.c sysdep.h config.h \
923 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
924 xstormy16-desc.h $(INCDIR)/opcode/cgen.h xstormy16-opc.h \
925 opintl.h $(INCDIR)/safe-ctype.h
926xstormy16-opc.lo: xstormy16-opc.c sysdep.h config.h \
927 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
928 $(INCDIR)/opcode/cgen.h xstormy16-opc.h $(INCDIR)/libiberty.h
e0001a05 929xtensa-dis.lo: xtensa-dis.c $(INCDIR)/xtensa-isa.h \
3c55da70
AM
930 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h sysdep.h \
931 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 932z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 933 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h z8k-opc.h
f62ba8f2
AM
934z8kgen.lo: z8kgen.c sysdep.h config.h $(INCDIR)/ansidecl.h \
935 $(INCDIR)/libiberty.h
252b5132 936# IF YOU PUT ANYTHING HERE IT WILL GO AWAY