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