* Makefile.am (sh-dis.lo): Don't put make commands in deps.
[external/binutils.git] / opcodes / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = 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 AM_CFLAGS = $(WARN_CFLAGS)
13
14 bfdlibdir = @bfdlibdir@
15 bfdincludedir = @bfdincludedir@
16
17 bfdlib_LTLIBRARIES = libopcodes.la
18
19 # This is where bfd.h lives.
20 BFD_H = ../bfd/bfd.h
21
22 # This is where libiberty lives.
23 LIBIBERTY = ../libiberty/libiberty.a
24
25 # Header files.
26 HFILES = \
27         arm-opc.h \
28         fr30-desc.h fr30-opc.h \
29         h8500-opc.h \
30         ia64-asmtab.h \
31         ia64-opc.h \
32         m32r-desc.h m32r-opc.h \
33         mcore-opc.h \
34         openrisc-desc.h openrisc-opc.h \
35         sh-opc.h \
36         sh64-opc.h \
37         sysdep.h \
38         w65-opc.h \
39         xstormy16-desc.h xstormy16-opc.h \
40         z8k-opc.h
41
42 # C source files that correspond to .o's.
43 CFILES = \
44         a29k-dis.c \
45         alpha-dis.c \
46         alpha-opc.c \
47         arc-dis.c \
48         arc-opc.c \
49         arc-ext.c \
50         arm-dis.c \
51         avr-dis.c \
52         cgen-asm.c \
53         cgen-dis.c \
54         cgen-opc.c \
55         cris-dis.c \
56         cris-opc.c \
57         d10v-dis.c \
58         d10v-opc.c \
59         d30v-dis.c \
60         d30v-opc.c \
61         dis-buf.c \
62         disassemble.c \
63         fr30-asm.c \
64         fr30-desc.c \
65         fr30-dis.c \
66         fr30-ibld.c \
67         fr30-opc.c \
68         h8300-dis.c \
69         h8500-dis.c \
70         hppa-dis.c \
71         i370-dis.c \
72         i370-opc.c \
73         i386-dis.c \
74         i860-dis.c \
75         i960-dis.c \
76         ia64-dis.c \
77         ia64-opc-a.c \
78         ia64-opc-b.c \
79         ia64-opc-f.c \
80         ia64-opc-i.c \
81         ia64-opc-m.c \
82         ia64-opc-d.c \
83         ia64-opc.c \
84         ia64-gen.c \
85         ia64-asmtab.c \
86         m32r-asm.c \
87         m32r-desc.c \
88         m32r-dis.c \
89         m32r-ibld.c \
90         m32r-opc.c \
91         m32r-opinst.c \
92         m68hc11-dis.c \
93         m68hc11-opc.c \
94         m68k-dis.c \
95         m68k-opc.c \
96         m88k-dis.c \
97         mcore-dis.c \
98         mips-dis.c \
99         mips-opc.c \
100         mips16-opc.c \
101         m10200-dis.c \
102         m10200-opc.c \
103         m10300-dis.c \
104         m10300-opc.c \
105         mmix-dis.c \
106         mmix-opc.c \
107         ns32k-dis.c \
108         openrisc-asm.c \
109         openrisc-desc.c \
110         openrisc-dis.c \
111         openrisc-ibld.c \
112         openrisc-opc.c \
113         or32-dis.c \
114         or32-opc.c \
115         pdp11-dis.c \
116         pdp11-opc.c \
117         pj-dis.c \
118         pj-opc.c \
119         ppc-dis.c \
120         ppc-opc.c \
121         s390-mkopc.c \
122         s390-opc.c \
123         s390-dis.c \
124         sh-dis.c \
125         sh64-dis.c \
126         sh64-opc.c \
127         sparc-dis.c \
128         sparc-opc.c \
129         tic30-dis.c \
130         tic54x-dis.c \
131         tic54x-opc.c \
132         tic80-dis.c \
133         tic80-opc.c \
134         v850-dis.c \
135         v850-opc.c \
136         vax-dis.c \
137         w65-dis.c \
138         xstormy16-asm.c \
139         xstormy16-desc.c \
140         xstormy16-dis.c \
141         xstormy16-ibld.c \
142         xstormy16-opc.c \
143         z8k-dis.c \
144         z8kgen.c
145
146 ALL_MACHINES = \
147         a29k-dis.lo \
148         alpha-dis.lo \
149         alpha-opc.lo \
150         arc-dis.lo \
151         arc-opc.lo \
152         arc-ext.lo \
153         arm-dis.lo \
154         avr-dis.lo \
155         cgen-asm.lo \
156         cgen-dis.lo \
157         cgen-opc.lo \
158         cris-dis.lo \
159         cris-opc.lo \
160         d10v-dis.lo \
161         d10v-opc.lo \
162         d30v-dis.lo \
163         d30v-opc.lo \
164         fr30-asm.lo \
165         fr30-desc.lo \
166         fr30-dis.lo \
167         fr30-ibld.lo \
168         fr30-opc.lo \
169         h8300-dis.lo \
170         h8500-dis.lo \
171         hppa-dis.lo \
172         i386-dis.lo \
173         i370-dis.lo \
174         i370-opc.lo \
175         i860-dis.lo \
176         i960-dis.lo \
177         ia64-dis.lo \
178         ia64-opc.lo \
179         m32r-asm.lo \
180         m32r-desc.lo \
181         m32r-dis.lo \
182         m32r-ibld.lo \
183         m32r-opc.lo \
184         m32r-opinst.lo \
185         m68hc11-dis.lo \
186         m68hc11-opc.lo \
187         m68k-dis.lo \
188         m68k-opc.lo \
189         m88k-dis.lo \
190         m10200-dis.lo \
191         m10200-opc.lo \
192         m10300-dis.lo \
193         m10300-opc.lo \
194         mcore-dis.lo \
195         mips-dis.lo \
196         mips-opc.lo \
197         mips16-opc.lo \
198         mmix-dis.lo \
199         mmix-opc.lo \
200         ns32k-dis.lo \
201         openrisc-asm.lo \
202         openrisc-desc.lo \
203         openrisc-dis.lo \
204         openrisc-ibld.lo \
205         openrisc-opc.lo \
206         or32-dis.lo \
207         or32-opc.lo \
208         pdp11-dis.lo \
209         pdp11-opc.lo \
210         pj-dis.lo \
211         pj-opc.lo \
212         ppc-dis.lo \
213         ppc-opc.lo \
214         s390-dis.lo \
215         s390-opc.lo \
216         sh-dis.lo \
217         sh64-dis.lo \
218         sh64-opc.lo \
219         sparc-dis.lo \
220         sparc-opc.lo \
221         tic30-dis.lo \
222         tic54x-dis.lo \
223         tic54x-opc.lo \
224         tic80-dis.lo \
225         tic80-opc.lo \
226         v850-dis.lo \
227         v850-opc.lo \
228         vax-dis.lo \
229         w65-dis.lo \
230         xstormy16-asm.lo \
231         xstormy16-desc.lo \
232         xstormy16-dis.lo \
233         xstormy16-ibld.lo \
234         xstormy16-opc.lo \
235         z8k-dis.lo
236
237 OFILES = @BFD_MACHINES@
238
239 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
240
241 disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
242         $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
243
244 libopcodes_la_SOURCES =  dis-buf.c disassemble.c
245 libopcodes_la_DEPENDENCIES = $(OFILES)
246 libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
247 libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
248
249 # libtool will build .libs/libopcodes.a.  We create libopcodes.a in
250 # the build directory so that we don't have to convert all the
251 # programs that use libopcodes.a simultaneously.  This is a hack which
252 # should be removed if everything else starts using libtool.  FIXME.
253
254 noinst_LIBRARIES = libopcodes.a
255
256 stamp-lib: libopcodes.la
257         libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
258         if [ -f $$libtooldir/libopcodes.a ]; then \
259           cp $$libtooldir/libopcodes.a libopcodes.tmp; \
260           $(RANLIB) libopcodes.tmp; \
261           $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
262         else true; fi
263         touch stamp-lib
264
265 libopcodes.a: stamp-lib ; @true
266
267 POTFILES = $(HFILES) $(CFILES)
268 po/POTFILES.in: @MAINT@ Makefile
269         for file in $(POTFILES); do echo $$file; done | sort > tmp \
270           && mv tmp $(srcdir)/po/POTFILES.in
271
272 # We should reconfigure whenever bfd/configure.in changes, because
273 # that's where the version number comes from.
274 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
275         $(SHELL) ./config.status --recheck
276
277 install-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@install_libopcodes
278         @$(NORMAL_INSTALL)
279
280 uninstall-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@uninstall_libopcodes
281         @$(NORMAL_UNINSTALL)
282
283 .PHONY: install_libopcodes uninstall_libopcodes
284 install_libopcodes: $(bfdlib_LTLIBRARIES)
285         $(mkinstalldirs) $(DESTDIR)$(bfdlibdir)
286         $(mkinstalldirs) $(DESTDIR)$(bfdincludedir)
287         @list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
288           if test -f $$p; then \
289             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p"; \
290             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p; \
291           else :; fi; \
292         done
293         $(INSTALL_DATA) $(INCDIR)/dis-asm.h $(DESTDIR)$(bfdincludedir)/dis-asm.h
294
295 uninstall_libopcodes:
296         list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
297           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(bfdlibdir)/$$p; \
298         done
299         rm -f $(DESTDIR)$(bfdincludedir)/dis-asm.h
300
301 CLEANFILES = \
302         stamp-m32r stamp-fr30 stamp-openrisc \
303         stamp-xstormy16 \
304         libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
305
306
307 CGENDIR = @cgendir@
308 CPUDIR = $(CGENDIR)/cpu
309 CGEN = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`
310 CGENFLAGS = -v
311
312 CGENDEPS = ../cgen/stamp-cgen \
313         $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \
314         $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
315         $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
316         $(CGENDIR)/opc-opinst.scm \
317         cgen-asm.in cgen-dis.in cgen-ibld.in
318
319 if CGEN_MAINT
320 M32R_DEPS = stamp-m32r
321 FR30_DEPS = stamp-fr30
322 OPENRISC_DEPS = stamp-openrisc
323 XSTORMY16_DEPS = stamp-xstormy16
324 else
325 M32R_DEPS =
326 FR30_DEPS =
327 OPENRISC_DEPS = 
328 XSTORMY16_DEPS = 
329 endif
330
331 run-cgen:
332         $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) \
333           $(CGENDIR) "$(CGENFLAGS)" $(arch) $(prefix) \
334           "$(options)" $(extrafiles)
335         touch stamp-${prefix}
336 .PHONY: run-cgen
337
338 # For now, require developers to configure with --enable-cgen-maint.
339 $(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)
340         @true
341 stamp-m32r: $(CGENDEPS) $(CPUDIR)/m32r.cpu $(CPUDIR)/m32r.opc
342         $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst extrafiles=opinst
343
344 $(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)
345         @true
346 stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.cpu $(CPUDIR)/fr30.opc
347         $(MAKE) run-cgen arch=fr30 prefix=fr30 options= extrafiles=
348
349 $(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)
350         @true
351 stamp-openrisc: $(CGENDEPS) $(CPUDIR)/openrisc.cpu $(CPUDIR)/openrisc.opc
352         $(MAKE) run-cgen arch=openrisc prefix=openrisc options= extrafiles=
353
354 $(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)
355         @true
356 stamp-xstormy16: $(CGENDEPS) $(CPUDIR)/xstormy16.cpu $(CPUDIR)/xstormy16.opc
357         $(MAKE) run-cgen arch=xstormy16 prefix=xstormy16 options= extrafiles=
358
359 ia64-gen: ia64-gen.o
360         $(LINK) ia64-gen.o $(LIBIBERTY)
361
362 ia64-gen.o: ia64-gen.c ia64-opc.c ia64-opc-a.c ia64-opc-b.c ia64-opc-f.c \
363   ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
364
365 ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
366         here=`pwd`; cd $(srcdir); $$here/ia64-gen > ia64-asmtab.c
367
368 s390-mkopc: s390-mkopc.c
369         $(CC_FOR_BUILD) -o s390-mkopc $(srcdir)/s390-mkopc.c
370
371 s390-opc.tab: s390-mkopc s390-opc.txt
372         ./s390-mkopc < $(srcdir)/s390-opc.txt > s390-opc.tab
373
374 sh-dis.lo: sh-dis.c
375         $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $<
376
377 Makefile: $(BFDDIR)/configure.in
378
379 # This dependency stuff is copied from BFD.
380
381 DEP: dep.sed $(CFILES) $(HFILES) config.h
382         rm -f DEP1
383         $(MAKE) MKDEP="$(MKDEP)" DEP1
384         sed -f dep.sed < DEP1 > DEPA
385         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
386         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
387           echo 'make DEP failed!'; exit 1; \
388         else \
389           mv -f DEPA $@; \
390         fi
391
392 DEP1: $(CFILES)
393         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
394         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
395         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
396         mv -f DEP2 $@
397
398 dep.sed: dep-in.sed config.status
399         sed <$(srcdir)/dep-in.sed >dep.sed      \
400                 -e 's!@BFD_H@!$(BFD_H)!'        \
401                 -e 's!@INCDIR@!$(INCDIR)!'      \
402                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
403                 -e 's!@SRCDIR@!$(srcdir)!'      \
404                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/opcodes$$,,`'!'
405
406 dep: DEP
407         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
408         cat DEP >> tmp-Makefile
409         $(srcdir)/../move-if-change tmp-Makefile Makefile
410
411 dep-in: DEP
412         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
413         cat DEP >> tmp-Makefile.in
414         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
415
416 dep-am: DEP
417         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
418         cat DEP >> tmp-Makefile.am
419         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
420
421 .PHONY: dep dep-in dep-am
422
423 # What appears below is generated by a hacked mkdep using gcc -MM.
424
425 # DO NOT DELETE THIS LINE -- mkdep uses it.
426 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
427 a29k-dis.lo: a29k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
428   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/a29k.h
429 alpha-dis.lo: alpha-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
430   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/alpha.h
431 alpha-opc.lo: alpha-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
432   $(INCDIR)/opcode/alpha.h $(BFD_H) $(INCDIR)/symcat.h \
433   opintl.h
434 arc-dis.lo: arc-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
435   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h \
436   $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
437   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h \
438   $(INCDIR)/elf/reloc-macros.h opintl.h arc-dis.h arc-ext.h
439 arc-opc.lo: arc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
440   $(INCDIR)/opcode/arc.h
441 arc-ext.lo: arc-ext.c sysdep.h config.h $(INCDIR)/ansidecl.h \
442   $(BFD_H) $(INCDIR)/symcat.h arc-ext.h $(INCDIR)/libiberty.h
443 arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
444   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h arm-opc.h \
445   $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
446   opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
447   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/arm.h \
448   $(INCDIR)/elf/reloc-macros.h
449 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
450   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
451   $(INCDIR)/opcode/avr.h
452 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
453   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
454   $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h opintl.h
455 cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
456   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
457 cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
458   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
459   $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
460 cris-dis.lo: cris-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
461   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
462   $(INCDIR)/opcode/cris.h $(INCDIR)/libiberty.h
463 cris-opc.lo: cris-opc.c $(INCDIR)/opcode/cris.h
464 d10v-dis.lo: d10v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
465   $(INCDIR)/opcode/d10v.h $(INCDIR)/dis-asm.h $(BFD_H) \
466   $(INCDIR)/symcat.h
467 d10v-opc.lo: d10v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
468   $(INCDIR)/opcode/d10v.h
469 d30v-dis.lo: d30v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
470   $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h $(BFD_H) \
471   $(INCDIR)/symcat.h opintl.h
472 d30v-opc.lo: d30v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
473   $(INCDIR)/opcode/d30v.h
474 dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/ansidecl.h \
475   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h
476 disassemble.lo: disassemble.c sysdep.h config.h $(INCDIR)/ansidecl.h \
477   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
478 fr30-asm.lo: fr30-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
479   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
480   fr30-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
481   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
482 fr30-desc.lo: fr30-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
483   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
484   fr30-opc.h opintl.h $(INCDIR)/libiberty.h
485 fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
486   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
487   $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h
488 fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
489   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
490   $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h $(INCDIR)/safe-ctype.h
491 fr30-opc.lo: fr30-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
492   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
493   fr30-opc.h $(INCDIR)/libiberty.h
494 h8300-dis.lo: h8300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
495   $(INCDIR)/opcode/h8300.h $(INCDIR)/dis-asm.h $(BFD_H) \
496   $(INCDIR)/symcat.h opintl.h
497 h8500-dis.lo: h8500-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
498   h8500-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
499   opintl.h
500 hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
501   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(BFDDIR)/libhppa.h \
502   $(INCDIR)/opcode/hppa.h
503 i370-dis.lo: i370-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
504   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/i370.h
505 i370-opc.lo: i370-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
506   $(INCDIR)/opcode/i370.h
507 i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
508   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
509   opintl.h
510 i860-dis.lo: i860-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
511   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/i860.h
512 i960-dis.lo: i960-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
513   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
514 ia64-dis.lo: ia64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
515   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/ia64.h
516 ia64-opc-a.lo: ia64-opc-a.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
517   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
518 ia64-opc-b.lo: ia64-opc-b.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
519   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
520 ia64-opc-f.lo: ia64-opc-f.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
521   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
522 ia64-opc-i.lo: ia64-opc-i.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
523   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
524 ia64-opc-m.lo: ia64-opc-m.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
525   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
526 ia64-opc-d.lo: ia64-opc-d.c
527 ia64-opc.lo: ia64-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
528   sysdep.h config.h ia64-asmtab.h $(INCDIR)/opcode/ia64.h \
529   $(BFD_H) $(INCDIR)/symcat.h ia64-asmtab.c
530 ia64-gen.lo: ia64-gen.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
531   $(INCDIR)/safe-ctype.h sysdep.h config.h ia64-opc.h \
532   $(INCDIR)/opcode/ia64.h $(BFD_H) $(INCDIR)/symcat.h \
533   ia64-opc-a.c ia64-opc-i.c ia64-opc-m.c ia64-opc-b.c \
534   ia64-opc-f.c ia64-opc-x.c ia64-opc-d.c
535 ia64-asmtab.lo: ia64-asmtab.c
536 m32r-asm.lo: m32r-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
537   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
538   m32r-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
539   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
540 m32r-desc.lo: m32r-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
541   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
542   m32r-opc.h opintl.h $(INCDIR)/libiberty.h
543 m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
544   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
545   $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h
546 m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
547   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
548   $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h $(INCDIR)/safe-ctype.h
549 m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
550   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
551   m32r-opc.h $(INCDIR)/libiberty.h
552 m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(INCDIR)/ansidecl.h \
553   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
554   m32r-opc.h
555 m68hc11-dis.lo: m68hc11-dis.c $(INCDIR)/ansidecl.h \
556   $(INCDIR)/opcode/m68hc11.h $(INCDIR)/dis-asm.h $(BFD_H) \
557   $(INCDIR)/symcat.h
558 m68hc11-opc.lo: m68hc11-opc.c $(INCDIR)/ansidecl.h \
559   $(INCDIR)/opcode/m68hc11.h
560 m68k-dis.lo: m68k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
561   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/floatformat.h \
562   $(INCDIR)/libiberty.h opintl.h $(INCDIR)/opcode/m68k.h
563 m68k-opc.lo: m68k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
564   $(INCDIR)/opcode/m68k.h
565 m88k-dis.lo: m88k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
566   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/m88k.h \
567   opintl.h
568 mcore-dis.lo: mcore-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
569   mcore-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
570 mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
571   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/mips.h \
572   opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
573   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
574   $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
575 mips-opc.lo: mips-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
576   $(INCDIR)/opcode/mips.h
577 mips16-opc.lo: mips16-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
578   $(INCDIR)/opcode/mips.h
579 m10200-dis.lo: m10200-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
580   $(INCDIR)/opcode/mn10200.h $(INCDIR)/dis-asm.h $(BFD_H) \
581   $(INCDIR)/symcat.h opintl.h
582 m10200-opc.lo: m10200-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
583   $(INCDIR)/opcode/mn10200.h
584 m10300-dis.lo: m10300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
585   $(INCDIR)/opcode/mn10300.h $(INCDIR)/dis-asm.h $(BFD_H) \
586   $(INCDIR)/symcat.h opintl.h
587 m10300-opc.lo: m10300-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
588   $(INCDIR)/opcode/mn10300.h
589 mmix-dis.lo: mmix-dis.c $(INCDIR)/opcode/mmix.h $(INCDIR)/dis-asm.h \
590   $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
591   opintl.h
592 mmix-opc.lo: mmix-opc.c $(INCDIR)/opcode/mmix.h $(INCDIR)/symcat.h
593 ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
594   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/dis-asm.h \
595   $(INCDIR)/opcode/ns32k.h opintl.h
596 openrisc-asm.lo: openrisc-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
597   $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
598   openrisc-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
599   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
600 openrisc-desc.lo: openrisc-desc.c sysdep.h config.h \
601   $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h \
602   $(INCDIR)/opcode/cgen.h openrisc-opc.h opintl.h $(INCDIR)/libiberty.h
603 openrisc-dis.lo: openrisc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
604   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h \
605   $(INCDIR)/opcode/cgen.h openrisc-opc.h opintl.h
606 openrisc-ibld.lo: openrisc-ibld.c sysdep.h config.h \
607   $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
608   openrisc-desc.h $(INCDIR)/opcode/cgen.h openrisc-opc.h \
609   opintl.h $(INCDIR)/safe-ctype.h
610 openrisc-opc.lo: openrisc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
611   $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
612   openrisc-opc.h $(INCDIR)/libiberty.h
613 or32-dis.lo: or32-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
614   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/or32.h \
615   $(INCDIR)/safe-ctype.h
616 or32-opc.lo: or32-opc.c $(INCDIR)/safe-ctype.h $(INCDIR)/ansidecl.h \
617   $(INCDIR)/opcode/or32.h
618 pdp11-dis.lo: pdp11-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
619   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/pdp11.h
620 pdp11-opc.lo: pdp11-opc.c $(INCDIR)/opcode/pdp11.h
621 pj-dis.lo: pj-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
622   $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h $(BFD_H) \
623   $(INCDIR)/symcat.h
624 pj-opc.lo: pj-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
625   $(INCDIR)/opcode/pj.h
626 ppc-dis.lo: ppc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
627   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/ppc.h
628 ppc-opc.lo: ppc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
629   $(INCDIR)/opcode/ppc.h opintl.h
630 s390-mkopc.lo: s390-mkopc.c
631 s390-opc.lo: s390-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/s390.h \
632   s390-opc.tab
633 s390-dis.lo: s390-dis.c $(INCDIR)/ansidecl.h sysdep.h \
634   config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
635   $(INCDIR)/opcode/s390.h
636 sh-dis.lo: sh-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
637   sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
638 sh64-dis.lo: sh64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
639   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
640   sh64-opc.h $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h \
641   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
642   $(INCDIR)/bfdlink.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h
643 sh64-opc.lo: sh64-opc.c sh64-opc.h
644 sparc-dis.lo: sparc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
645   $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h $(BFD_H) \
646   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h opintl.h
647 sparc-opc.lo: sparc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
648   $(INCDIR)/opcode/sparc.h
649 tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
650   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic30.h
651 tic54x-dis.lo: tic54x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
652   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h \
653   $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h
654 tic54x-opc.lo: tic54x-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
655   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h
656 tic80-dis.lo: tic80-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
657   $(INCDIR)/opcode/tic80.h $(INCDIR)/dis-asm.h $(BFD_H) \
658   $(INCDIR)/symcat.h
659 tic80-opc.lo: tic80-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
660   $(INCDIR)/opcode/tic80.h
661 v850-dis.lo: v850-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
662   $(INCDIR)/opcode/v850.h $(INCDIR)/dis-asm.h $(BFD_H) \
663   $(INCDIR)/symcat.h opintl.h
664 v850-opc.lo: v850-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
665   $(INCDIR)/opcode/v850.h opintl.h
666 vax-dis.lo: vax-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
667   $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h $(BFD_H) \
668   $(INCDIR)/symcat.h
669 w65-dis.lo: w65-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
670   w65-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
671 xstormy16-asm.lo: xstormy16-asm.c sysdep.h config.h \
672   $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
673   $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/xregex.h \
674   $(INCDIR)/xregex2.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
675 xstormy16-desc.lo: xstormy16-desc.c sysdep.h config.h \
676   $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
677   $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/libiberty.h
678 xstormy16-dis.lo: xstormy16-dis.c sysdep.h config.h \
679   $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
680   xstormy16-desc.h $(INCDIR)/opcode/cgen.h xstormy16-opc.h \
681   opintl.h
682 xstormy16-ibld.lo: xstormy16-ibld.c sysdep.h config.h \
683   $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
684   xstormy16-desc.h $(INCDIR)/opcode/cgen.h xstormy16-opc.h \
685   opintl.h $(INCDIR)/safe-ctype.h
686 xstormy16-opc.lo: xstormy16-opc.c sysdep.h config.h \
687   $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
688   $(INCDIR)/opcode/cgen.h xstormy16-opc.h $(INCDIR)/libiberty.h
689 z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
690   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h z8k-opc.h
691 z8kgen.lo: z8kgen.c sysdep.h config.h $(INCDIR)/ansidecl.h
692 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY