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