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