* acinclude.m4: Include libtool and gettext macros from the
[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 lib_LTLIBRARIES = libopcodes.la
15
16 # This is where bfd.h lives.
17 BFD_H = ../bfd/bfd.h
18
19 # This is where libiberty lives.
20 LIBIBERTY = ../libiberty/libiberty.a
21
22 # Header files.
23 HFILES = \
24         arm-opc.h \
25         fr30-desc.h fr30-opc.h \
26         h8500-opc.h \
27         m32r-desc.h m32r-opc.h \
28         mcore-opc.h \
29         sh-opc.h \
30         sysdep.h \
31         ia64-asmtab.h \
32         ia64-opc.h \
33         w65-opc.h \
34         z8k-opc.h
35
36 # C source files that correspond to .o's.
37 CFILES = \
38         a29k-dis.c \
39         alpha-dis.c \
40         alpha-opc.c \
41         arc-dis.c \
42         arc-opc.c \
43         arm-dis.c \
44         avr-dis.c \
45         cgen-asm.c \
46         cgen-dis.c \
47         cgen-opc.c \
48         cris-dis.c \
49         cris-opc.c \
50         d10v-dis.c \
51         d10v-opc.c \
52         d30v-dis.c \
53         d30v-opc.c \
54         dis-buf.c \
55         disassemble.c \
56         fr30-asm.c \
57         fr30-desc.c \
58         fr30-dis.c \
59         fr30-ibld.c \
60         fr30-opc.c \
61         h8300-dis.c \
62         h8500-dis.c \
63         hppa-dis.c \
64         i370-dis.c \
65         i370-opc.c \
66         i386-dis.c \
67         i860-dis.c \
68         i960-dis.c \
69         ia64-dis.c \
70         ia64-opc-a.c \
71         ia64-opc-b.c \
72         ia64-opc-f.c \
73         ia64-opc-i.c \
74         ia64-opc-m.c \
75         ia64-opc-d.c \
76         ia64-opc.c \
77         ia64-gen.c \
78         ia64-asmtab.c \
79         m32r-asm.c \
80         m32r-desc.c \
81         m32r-dis.c \
82         m32r-ibld.c \
83         m32r-opc.c \
84         m32r-opinst.c \
85         m68hc11-dis.c \
86         m68hc11-opc.c \
87         m68k-dis.c \
88         m68k-opc.c \
89         m88k-dis.c \
90         mcore-dis.c \
91         mips-dis.c \
92         mips-opc.c \
93         mips16-opc.c \
94         m10200-dis.c \
95         m10200-opc.c \
96         m10300-dis.c \
97         m10300-opc.c \
98         ns32k-dis.c \
99         pj-dis.c \
100         pj-opc.c \
101         ppc-dis.c \
102         ppc-opc.c \
103         sh-dis.c \
104         sparc-dis.c \
105         sparc-opc.c \
106         tic30-dis.c \
107         tic54x-dis.c \
108         tic54x-opc.c \
109         tic80-dis.c \
110         tic80-opc.c \
111         v850-dis.c \
112         v850-opc.c \
113         vax-dis.c \
114         w65-dis.c \
115         z8k-dis.c \
116         z8kgen.c
117
118 ALL_MACHINES = \
119         a29k-dis.lo \
120         alpha-dis.lo \
121         alpha-opc.lo \
122         arc-dis.lo \
123         arc-opc.lo \
124         arm-dis.lo \
125         avr-dis.lo \
126         cgen-asm.lo \
127         cgen-dis.lo \
128         cgen-opc.lo \
129         cris-dis.lo \
130         cris-opc.lo \
131         d10v-dis.lo \
132         d10v-opc.lo \
133         d30v-dis.lo \
134         d30v-opc.lo \
135         fr30-asm.lo \
136         fr30-desc.lo \
137         fr30-dis.lo \
138         fr30-ibld.lo \
139         fr30-opc.lo \
140         h8300-dis.lo \
141         h8500-dis.lo \
142         hppa-dis.lo \
143         i386-dis.lo \
144         i370-dis.lo \
145         i370-opc.lo \
146         i860-dis.lo \
147         i960-dis.lo \
148         ia64-dis.lo \
149         ia64-opc.lo \
150         m32r-asm.lo \
151         m32r-desc.lo \
152         m32r-dis.lo \
153         m32r-ibld.lo \
154         m32r-opc.lo \
155         m32r-opinst.lo \
156         m68hc11-dis.lo \
157         m68hc11-opc.lo \
158         m68k-dis.lo \
159         m68k-opc.lo \
160         m88k-dis.lo \
161         m10200-dis.lo \
162         m10200-opc.lo \
163         m10300-dis.lo \
164         m10300-opc.lo \
165         mcore-dis.lo \
166         mips-dis.lo \
167         mips-opc.lo \
168         mips16-opc.lo \
169         pj-dis.lo \
170         pj-opc.lo \
171         ppc-dis.lo \
172         ppc-opc.lo \
173         ns32k-dis.lo \
174         sh-dis.lo \
175         sparc-dis.lo \
176         sparc-opc.lo \
177         tic30-dis.lo \
178         tic54x-dis.lo \
179         tic54x-opc.lo \
180         tic80-dis.lo \
181         tic80-opc.lo \
182         v850-dis.lo \
183         v850-opc.lo \
184         vax-dis.lo \
185         w65-dis.lo \
186         z8k-dis.lo
187
188 OFILES = @BFD_MACHINES@
189
190 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
191
192 disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
193         $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
194
195 libopcodes_la_SOURCES =  dis-buf.c disassemble.c
196 libopcodes_la_DEPENDENCIES = $(OFILES)
197 libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
198 libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
199
200 # libtool will build .libs/libopcodes.a.  We create libopcodes.a in
201 # the build directory so that we don't have to convert all the
202 # programs that use libopcodes.a simultaneously.  This is a hack which
203 # should be removed if everything else starts using libtool.  FIXME.
204
205 noinst_LIBRARIES = libopcodes.a
206
207 stamp-lib: libopcodes.la
208         libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
209         if [ -f $$libtooldir/libopcodes.a ]; then \
210           cp $$libtooldir/libopcodes.a libopcodes.tmp; \
211           $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
212         else true; fi
213         touch stamp-lib
214
215 libopcodes.a: stamp-lib ; @true
216
217 POTFILES = $(HFILES) $(CFILES)
218 po/POTFILES.in: @MAINT@ Makefile
219         for file in $(POTFILES); do echo $$file; done | sort > tmp \
220           && mv tmp $(srcdir)/po/POTFILES.in
221
222 # We should reconfigure whenever bfd/configure.in changes, because
223 # that's where the version number comes from.
224 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
225         $(SHELL) ./config.status --recheck
226
227 CLEANFILES = \
228         stamp-m32r stamp-fr30 \
229         libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
230
231
232 CGENDIR = @cgendir@
233 CGEN = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`
234 CGENFLAGS = -v
235
236 CGENDEPS = ../cgen/stamp-cgen \
237         $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \
238         $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
239         $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
240         $(CGENDIR)/opc-opinst.scm \
241         cgen-asm.in cgen-dis.in cgen-ibld.in
242
243 if CGEN_MAINT
244 M32R_DEPS = stamp-m32r
245 FR30_DEPS = stamp-fr30
246 else
247 M32R_DEPS =
248 FR30_DEPS =
249 endif
250
251 run-cgen:
252         $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) \
253           $(CGENDIR) "$(CGENFLAGS)" $(arch) $(prefix) \
254           "$(options)" $(extrafiles)
255         touch stamp-${prefix}
256 .PHONY: run-cgen
257
258 # For now, require developers to configure with --enable-cgen-maint.
259 $(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)
260         @true
261 stamp-m32r: $(CGENDEPS) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
262         $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst extrafiles=opinst
263
264 $(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)
265         @true
266 stamp-fr30: $(CGENDEPS) $(CGENDIR)/fr30.cpu $(CGENDIR)/fr30.opc
267         $(MAKE) run-cgen arch=fr30 prefix=fr30 options= extrafiles=
268
269
270 ia64-ic.tbl: $(srcdir)/ia64-ic.tbl
271         $(LN_S) -f $(srcdir)/ia64-ic.tbl
272 ia64-raw.tbl: $(srcdir)/ia64-raw.tbl
273         $(LN_S) -f $(srcdir)/ia64-raw.tbl
274 ia64-waw.tbl: $(srcdir)/ia64-waw.tbl
275         $(LN_S) -f $(srcdir)/ia64-waw.tbl
276 ia64-war.tbl: $(srcdir)/ia64-war.tbl
277         $(LN_S) -f $(srcdir)/ia64-war.tbl
278
279 ia64-gen: ia64-gen.o
280         $(LINK) ia64-gen.o $(LIBIBERTY)
281
282 ia64-gen.o: ia64-gen.c ia64-opc.c ia64-opc-a.c ia64-opc-b.c ia64-opc-f.c \
283   ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
284
285 ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
286         ./ia64-gen > $(srcdir)/ia64-asmtab.c
287
288 # This dependency stuff is copied from BFD.
289
290 DEP: dep.sed $(CFILES) $(HFILES) config.h
291         rm -f DEP1
292         $(MAKE) MKDEP="$(MKDEP)" DEP1
293         sed -f dep.sed < DEP1 > DEPA
294         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
295         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
296           echo 'make DEP failed!'; exit 1; \
297         else \
298           mv -f DEPA $@; \
299         fi
300
301 DEP1: $(CFILES)
302         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
303         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
304         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
305         mv -f DEP2 $@
306
307 dep.sed: dep-in.sed config.status
308         sed <$(srcdir)/dep-in.sed >dep.sed      \
309                 -e 's!@BFD_H@!$(BFD_H)!'        \
310                 -e 's!@INCDIR@!$(INCDIR)!'      \
311                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
312                 -e 's!@SRCDIR@!$(srcdir)!'
313
314 dep: DEP
315         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
316         cat DEP >> tmp-Makefile
317         $(srcdir)/../move-if-change tmp-Makefile Makefile
318
319 dep-in: DEP
320         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
321         cat DEP >> tmp-Makefile.in
322         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
323
324 dep-am: DEP
325         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
326         cat DEP >> tmp-Makefile.am
327         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
328
329 .PHONY: dep dep-in dep-am
330
331 # What appears below is generated by a hacked mkdep using gcc -MM.
332
333 # DO NOT DELETE THIS LINE -- mkdep uses it.
334 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
335 a29k-dis.lo: a29k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
336   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/a29k.h
337 alpha-dis.lo: alpha-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
338   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
339 alpha-opc.lo: alpha-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
340   $(INCDIR)/opcode/alpha.h $(BFD_H) opintl.h
341 arc-dis.lo: arc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
342   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/arc.h \
343   $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
344   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h \
345   $(INCDIR)/elf/reloc-macros.h opintl.h
346 arc-opc.lo: arc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
347   $(INCDIR)/opcode/arc.h opintl.h
348 arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
349   $(INCDIR)/dis-asm.h $(BFD_H) arm-opc.h $(INCDIR)/coff/internal.h \
350   $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h \
351   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
352   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h
353 avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
354   $(INCDIR)/dis-asm.h $(BFD_H) opintl.h $(INCDIR)/opcode/avr.h
355 cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
356   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
357   opintl.h
358 cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
359   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
360 cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
361   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
362 cris-dis.lo: cris-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
363   $(INCDIR)/ansidecl.h sysdep.h config.h $(INCDIR)/opcode/cris.h \
364   $(INCDIR)/libiberty.h
365 cris-opc.lo: cris-opc.c $(INCDIR)/opcode/cris.h
366 d10v-dis.lo: d10v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
367   $(INCDIR)/opcode/d10v.h $(INCDIR)/dis-asm.h $(BFD_H)
368 d10v-opc.lo: d10v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
369   $(INCDIR)/opcode/d10v.h
370 d30v-dis.lo: d30v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
371   $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h $(BFD_H) \
372   opintl.h
373 d30v-opc.lo: d30v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
374   $(INCDIR)/opcode/d30v.h
375 dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/ansidecl.h \
376   $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
377 disassemble.lo: disassemble.c sysdep.h config.h $(INCDIR)/ansidecl.h \
378   $(INCDIR)/dis-asm.h $(BFD_H)
379 fr30-asm.lo: fr30-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
380   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
381   fr30-opc.h opintl.h
382 fr30-desc.lo: fr30-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
383   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
384   fr30-opc.h opintl.h
385 fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
386   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
387   $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h
388 fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
389   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
390   $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h
391 fr30-opc.lo: fr30-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
392   $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
393   fr30-opc.h
394 h8300-dis.lo: h8300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
395   $(INCDIR)/opcode/h8300.h $(INCDIR)/dis-asm.h $(BFD_H) \
396   opintl.h
397 h8500-dis.lo: h8500-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
398   h8500-opc.h $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
399 hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
400   $(INCDIR)/dis-asm.h $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
401 i370-dis.lo: i370-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
402   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/i370.h
403 i370-opc.lo: i370-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
404   $(INCDIR)/opcode/i370.h
405 i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
406   $(INCDIR)/ansidecl.h sysdep.h config.h opintl.h
407 i860-dis.lo: i860-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
408   $(INCDIR)/ansidecl.h $(INCDIR)/opcode/i860.h
409 i960-dis.lo: i960-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
410   $(INCDIR)/dis-asm.h $(BFD_H)
411 ia64-dis.lo: ia64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
412   $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ia64.h
413 ia64-opc-a.lo: ia64-opc-a.c ia64-opc.h $(INCDIR)/opcode/ia64.h
414 ia64-opc-b.lo: ia64-opc-b.c ia64-opc.h $(INCDIR)/opcode/ia64.h
415 ia64-opc-f.lo: ia64-opc-f.c ia64-opc.h $(INCDIR)/opcode/ia64.h
416 ia64-opc-i.lo: ia64-opc-i.c ia64-opc.h $(INCDIR)/opcode/ia64.h
417 ia64-opc-m.lo: ia64-opc-m.c ia64-opc.h $(INCDIR)/opcode/ia64.h
418 ia64-opc-d.lo: ia64-opc-d.c
419 ia64-opc.lo: ia64-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
420   sysdep.h config.h ia64-asmtab.h $(INCDIR)/opcode/ia64.h \
421   ia64-asmtab.c
422 ia64-gen.lo: ia64-gen.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
423   sysdep.h config.h ia64-opc.h $(INCDIR)/opcode/ia64.h \
424   ia64-opc-a.c ia64-opc-i.c ia64-opc-m.c ia64-opc-b.c \
425   ia64-opc-f.c ia64-opc-x.c ia64-opc-d.c
426 ia64-asmtab.lo: ia64-asmtab.c
427 m32r-asm.lo: m32r-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
428   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
429   m32r-opc.h opintl.h
430 m32r-desc.lo: m32r-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
431   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
432   m32r-opc.h opintl.h
433 m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
434   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
435   $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h
436 m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
437   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
438   $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h
439 m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
440   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
441   m32r-opc.h
442 m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(INCDIR)/ansidecl.h \
443   $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
444   m32r-opc.h
445 m68hc11-dis.lo: m68hc11-dis.c $(INCDIR)/ansidecl.h \
446   $(INCDIR)/opcode/m68hc11.h $(INCDIR)/dis-asm.h $(BFD_H)
447 m68hc11-opc.lo: m68hc11-opc.c $(INCDIR)/ansidecl.h \
448   $(INCDIR)/opcode/m68hc11.h
449 m68k-dis.lo: m68k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
450   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/floatformat.h \
451   opintl.h $(INCDIR)/opcode/m68k.h
452 m68k-opc.lo: m68k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
453   $(INCDIR)/opcode/m68k.h
454 m88k-dis.lo: m88k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
455   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/m88k.h \
456   opintl.h
457 mcore-dis.lo: mcore-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
458   mcore-opc.h $(INCDIR)/dis-asm.h $(BFD_H)
459 mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
460   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/mips.h \
461   opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
462   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
463   $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
464 mips-opc.lo: mips-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
465   $(INCDIR)/opcode/mips.h
466 mips16-opc.lo: mips16-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
467   $(INCDIR)/opcode/mips.h
468 m10200-dis.lo: m10200-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
469   $(INCDIR)/opcode/mn10200.h $(INCDIR)/dis-asm.h $(BFD_H) \
470   opintl.h
471 m10200-opc.lo: m10200-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
472   $(INCDIR)/opcode/mn10200.h
473 m10300-dis.lo: m10300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
474   $(INCDIR)/opcode/mn10300.h $(INCDIR)/dis-asm.h $(BFD_H) \
475   opintl.h
476 m10300-opc.lo: m10300-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
477   $(INCDIR)/opcode/mn10300.h
478 ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
479   sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h \
480   opintl.h
481 pj-dis.lo: pj-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
482   $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h $(BFD_H)
483 pj-opc.lo: pj-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
484   $(INCDIR)/opcode/pj.h
485 ppc-dis.lo: ppc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
486   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
487 ppc-opc.lo: ppc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
488   $(INCDIR)/opcode/ppc.h opintl.h
489 sh-dis.lo: sh-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
490   sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H)
491 sparc-dis.lo: sparc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
492   $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h $(BFD_H) \
493   $(INCDIR)/libiberty.h opintl.h
494 sparc-opc.lo: sparc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
495   $(INCDIR)/opcode/sparc.h
496 tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
497   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/tic30.h
498 tic54x-dis.lo: tic54x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
499   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/tic54x.h \
500   $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h
501 tic54x-opc.lo: tic54x-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
502   $(INCDIR)/opcode/tic54x.h
503 tic80-dis.lo: tic80-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
504   $(INCDIR)/opcode/tic80.h $(INCDIR)/dis-asm.h $(BFD_H)
505 tic80-opc.lo: tic80-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
506   $(INCDIR)/opcode/tic80.h
507 v850-dis.lo: v850-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
508   $(INCDIR)/opcode/v850.h $(INCDIR)/dis-asm.h $(BFD_H) \
509   opintl.h
510 v850-opc.lo: v850-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
511   $(INCDIR)/opcode/v850.h opintl.h
512 vax-dis.lo: vax-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
513   $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h $(BFD_H)
514 w65-dis.lo: w65-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
515   w65-opc.h $(INCDIR)/dis-asm.h $(BFD_H)
516 z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
517   $(INCDIR)/dis-asm.h $(BFD_H) z8k-opc.h
518 z8kgen.lo: z8kgen.c sysdep.h config.h $(INCDIR)/ansidecl.h
519 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY