* Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
[deliverable/binutils-gdb.git] / opcodes / Makefile.am
CommitLineData
252b5132
RH
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5SUBDIRS = po
6
7INCDIR = $(srcdir)/../include
8BFDDIR = $(srcdir)/../bfd
9DEP = mkdep
10
11lib_LTLIBRARIES = libopcodes.la
12
13# This is where bfd.h lives.
14BFD_H = ../bfd/bfd.h
15
16# Header files.
17HFILES = \
18 arm-opc.h \
19 fr30-desc.h fr30-opc.h \
20 h8500-opc.h \
21 m32r-desc.h m32r-opc.h \
22 mcore-opc.h \
23 sh-opc.h \
24 sysdep.h \
25 w65-opc.h \
26 z8k-opc.h
27
28# C source files that correspond to .o's.
29CFILES = \
30 a29k-dis.c \
31 alpha-dis.c \
32 alpha-opc.c \
33 arm-dis.c \
34 cgen-asm.c \
35 cgen-dis.c \
36 cgen-opc.c \
37 d10v-dis.c \
38 d10v-opc.c \
39 d30v-dis.c \
40 d30v-opc.c \
41 dis-buf.c \
42 disassemble.c \
43 fr30-asm.c \
44 fr30-desc.c \
45 fr30-dis.c \
46 fr30-ibld.c \
47 fr30-opc.c \
48 h8300-dis.c \
49 h8500-dis.c \
50 hppa-dis.c \
51 i386-dis.c \
52 i960-dis.c \
53 m32r-asm.c \
54 m32r-desc.c \
55 m32r-dis.c \
56 m32r-ibld.c \
57 m32r-opc.c \
58 m32r-opinst.c \
59 m68k-dis.c \
60 m68k-opc.c \
61 m88k-dis.c \
62 mcore-dis.c \
63 mips-dis.c \
64 mips-opc.c \
65 mips16-opc.c \
66 m10200-dis.c \
67 m10200-opc.c \
68 m10300-dis.c \
69 m10300-opc.c \
70 ns32k-dis.c \
71 ppc-dis.c \
72 ppc-opc.c \
73 sh-dis.c \
74 sparc-dis.c \
75 sparc-opc.c \
76 tic30-dis.c \
77 tic80-dis.c \
78 tic80-opc.c \
79 vax-dis.c \
80 w65-dis.c \
81 z8k-dis.c \
82 z8kgen.c
83
84ALL_MACHINES = \
85 a29k-dis.lo \
86 alpha-dis.lo \
87 alpha-opc.lo \
88 arc-dis.lo \
89 arc-opc.lo \
90 arm-dis.lo \
91 cgen-asm.lo \
92 cgen-dis.lo \
93 cgen-opc.lo \
94 d10v-dis.lo \
95 d10v-opc.lo \
96 d30v-dis.lo \
97 d30v-opc.lo \
98 fr30-asm.lo \
99 fr30-desc.lo \
100 fr30-dis.lo \
101 fr30-ibld.lo \
102 fr30-opc.lo \
103 h8300-dis.lo \
104 h8500-dis.lo \
105 hppa-dis.lo \
106 i386-dis.lo \
107 i960-dis.lo \
108 m32r-asm.lo \
109 m32r-desc.lo \
110 m32r-dis.lo \
111 m32r-ibld.lo \
112 m32r-opc.lo \
113 m32r-opinst.lo \
114 m68k-dis.lo \
115 m68k-opc.lo \
116 m88k-dis.lo \
117 m10200-dis.lo \
118 m10200-opc.lo \
119 m10300-dis.lo \
120 m10300-opc.lo \
121 mcore-dis.lo \
122 mips-dis.lo \
123 mips-opc.lo \
124 mips16-opc.lo \
125 ppc-dis.lo \
126 ppc-opc.lo \
127 ns32k-dis.lo \
128 sh-dis.lo \
129 sparc-dis.lo \
130 sparc-opc.lo \
131 tic30-dis.lo \
132 tic80-dis.lo \
133 tic80-opc.lo \
134 v850-dis.lo \
135 v850-opc.lo \
136 vax-dis.lo \
137 w65-dis.lo \
138 z8k-dis.lo
139
140OFILES = @BFD_MACHINES@
141
142INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
143
144disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
145 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
146
147libopcodes_la_SOURCES = dis-buf.c disassemble.c
148libopcodes_la_DEPENDENCIES = $(OFILES)
149libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
150libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
151
152# libtool will build .libs/libopcodes.a. We create libopcodes.a in
153# the build directory so that we don't have to convert all the
154# programs that use libopcodes.a simultaneously. This is a hack which
155# should be removed if everything else starts using libtool. FIXME.
156
157noinst_LIBRARIES = libopcodes.a
158
159stamp-lib: libopcodes.la
160 if [ -f .libs/libopcodes.a ]; then \
161 cp .libs/libopcodes.a libopcodes.tmp; \
162 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
163 else true; fi
164 touch stamp-lib
165
166libopcodes.a: stamp-lib ; @true
167
168POTFILES = $(HFILES) $(CFILES)
169po/POTFILES.in: @MAINT@ Makefile
170 for file in $(POTFILES); do echo $$file; done | sort > tmp \
171 && mv tmp $(srcdir)/po/POTFILES.in
172
173# We should reconfigure whenever bfd/configure.in changes, because
174# that's where the version number comes from.
175config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
176 $(SHELL) ./config.status --recheck
177
178CLEANFILES = \
179 libopcodes.a stamp-lib dep.sed .dep .dep1
180
181
182
183# The start marker is written this way to pass through automake unscathed.
184
185
186
187
188# This dependency stuff is copied from BFD.
189
190.dep: dep.sed $(CFILES) $(HFILES) config.h
191 rm -f .dep1
192 $(MAKE) DEP=$(DEP) .dep1
193 sed -f dep.sed < .dep1 > .dep
194
195.dep1: $(CFILES)
196 rm -f .dep2 .dep2a
197 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
198 echo > .dep2a
199 $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $?
200 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
201 rm -f .dep2a
202 $(srcdir)/../move-if-change .dep2 .dep1
203
204dep.sed: dep-in.sed config.status
205 sed <$(srcdir)/dep-in.sed >dep.sed \
206 -e 's!@BFD_H@!$(BFD_H)!' \
207 -e 's!@INCDIR@!$(INCDIR)!' \
208 -e 's!@BFDDIR@!$(BFDDIR)!' \
209 -e 's!@SRCDIR@!$(srcdir)!'
210
211dep: .dep
212 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
213 cat .dep >> tmp-Makefile
214 $(srcdir)/../move-if-change tmp-Makefile Makefile
215
216dep-in: .dep
217 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
218 cat .dep >> tmp-Makefile.in
219 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
220
221dep-am: .dep
222 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
223 cat .dep >> tmp-Makefile.am
224 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
225
226.PHONY: dep dep-in dep-am
227
228# What appears below is generated by a hacked mkdep using gcc -MM.
229
230# DO NOT DELETE THIS LINE -- mkdep uses it.
231# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
232a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
233 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
234alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
235 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
236alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
237 $(BFD_H) opintl.h
238arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
239 $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \
240 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h \
241 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
242 $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h
243cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
244 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
245 opintl.h
246cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
247 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
248cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
249 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
250d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
251 $(INCDIR)/dis-asm.h $(BFD_H)
252d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
253d30v-dis.lo: d30v-dis.c $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h \
254 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
255d30v-opc.lo: d30v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d30v.h
256dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
257 $(BFD_H) opintl.h
258disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
259 $(INCDIR)/dis-asm.h $(BFD_H)
260fr30-asm.lo: fr30-asm.c sysdep.h config.h $(BFD_H) \
261 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
262 fr30-opc.h opintl.h
263fr30-desc.lo: fr30-desc.c sysdep.h config.h $(BFD_H) \
264 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
265 fr30-opc.h opintl.h
266fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
267 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
268 fr30-opc.h opintl.h
269fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
270 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
271 fr30-opc.h opintl.h
272fr30-opc.lo: fr30-opc.c sysdep.h config.h $(BFD_H) \
273 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
274 fr30-opc.h
275h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
276 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
277h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
278 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
279hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
280 $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
281i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
282 $(INCDIR)/ansidecl.h sysdep.h config.h opintl.h
283i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
284 $(INCDIR)/ansidecl.h
285m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
286 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
287 m32r-opc.h opintl.h
288m32r-desc.lo: m32r-desc.c sysdep.h config.h $(BFD_H) \
289 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
290 m32r-opc.h opintl.h
291m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
292 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
293 m32r-opc.h opintl.h
294m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
295 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
296 m32r-opc.h opintl.h
297m32r-opc.lo: m32r-opc.c sysdep.h config.h $(BFD_H) \
298 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
299 m32r-opc.h
300m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(BFD_H) \
301 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
302 m32r-opc.h
303m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
304 $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h opintl.h \
305 $(INCDIR)/opcode/m68k.h
306m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
307m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
308 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h opintl.h
309mcore-dis.lo: mcore-dis.c mcore-opc.h $(INCDIR)/ansidecl.h \
310 $(INCDIR)/dis-asm.h $(BFD_H)
311mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
312 $(BFD_H) $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
313 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
314 $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
315mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
316mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
317m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
318 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
319m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
320m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
321 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
322m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
323ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
324 sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h \
325 opintl.h
326ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
327 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
328ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h \
329 opintl.h
330sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
331 $(INCDIR)/ansidecl.h
332sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
333 config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
334 $(BFD_H) $(INCDIR)/libiberty.h opintl.h
335sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
336tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
337 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h
338tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \
339 $(INCDIR)/dis-asm.h $(BFD_H)
340tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h
341vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \
342 $(BFD_H) $(INCDIR)/ansidecl.h
343w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
344 $(BFD_H) $(INCDIR)/ansidecl.h
345z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
346 $(BFD_H) z8k-opc.h
347z8kgen.lo: z8kgen.c sysdep.h config.h
348# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.082004 seconds and 4 git commands to generate.