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