]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - opcodes/Makefile.in
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
[thirdparty/binutils-gdb.git] / opcodes / Makefile.in
CommitLineData
1fe1f39c 1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
252b5132 2
1fe1f39c 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
252b5132
RH
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
a2d91340 13
252b5132
RH
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
a2d91340 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
252b5132
RH
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AR = @AR@
67AS = @AS@
68BFD_MACHINES = @BFD_MACHINES@
69CATALOGS = @CATALOGS@
70CATOBJEXT = @CATOBJEXT@
71CC = @CC@
dc62a253 72CC_FOR_BUILD = @CC_FOR_BUILD@
ed265386
NC
73CXX = @CXX@
74CXXCPP = @CXXCPP@
252b5132
RH
75DATADIRNAME = @DATADIRNAME@
76DLLTOOL = @DLLTOOL@
77EXEEXT = @EXEEXT@
dc62a253 78EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
09919455
NC
79GCJ = @GCJ@
80GCJFLAGS = @GCJFLAGS@
252b5132
RH
81GMOFILES = @GMOFILES@
82GMSGFMT = @GMSGFMT@
83GT_NO = @GT_NO@
84GT_YES = @GT_YES@
85HDEFINES = @HDEFINES@
86INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
87INSTOBJEXT = @INSTOBJEXT@
88INTLDEPS = @INTLDEPS@
89INTLLIBS = @INTLLIBS@
90INTLOBJS = @INTLOBJS@
252b5132
RH
91LIBTOOL = @LIBTOOL@
92LN_S = @LN_S@
93MAINT = @MAINT@
94MAKEINFO = @MAKEINFO@
95MKINSTALLDIRS = @MKINSTALLDIRS@
96MSGFMT = @MSGFMT@
a74801ba 97OBJDUMP = @OBJDUMP@
ed265386 98OBJEXT = @OBJEXT@
252b5132
RH
99PACKAGE = @PACKAGE@
100POFILES = @POFILES@
101POSUB = @POSUB@
102RANLIB = @RANLIB@
ed265386 103STRIP = @STRIP@
252b5132
RH
104USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
105USE_NLS = @USE_NLS@
252b5132
RH
106VERSION = @VERSION@
107WIN32LDFLAGS = @WIN32LDFLAGS@
108WIN32LIBADD = @WIN32LIBADD@
109archdefs = @archdefs@
6e31aea3 110cgendir = @cgendir@
252b5132
RH
111l = @l@
112
113AUTOMAKE_OPTIONS = cygnus
114
115SUBDIRS = po
116
117INCDIR = $(srcdir)/../include
118BFDDIR = $(srcdir)/../bfd
41b49281 119MKDEP = gcc -MM
252b5132 120
a2d91340
AC
121WARN_CFLAGS = @WARN_CFLAGS@
122AM_CFLAGS = $(WARN_CFLAGS)
123
81172ff2
AM
124bfdlibdir = @bfdlibdir@
125bfdincludedir = @bfdincludedir@
126
127bfdlib_LTLIBRARIES = libopcodes.la
252b5132
RH
128
129# This is where bfd.h lives.
130BFD_H = ../bfd/bfd.h
131
0ab71ce3
NC
132# This is where libiberty lives.
133LIBIBERTY = ../libiberty/libiberty.a
134
252b5132
RH
135# Header files.
136HFILES = \
137 arm-opc.h \
138 fr30-desc.h fr30-opc.h \
fd3c93d5 139 frv-desc.h frv-opc.h \
252b5132 140 h8500-opc.h \
43079f18
NC
141 ia64-asmtab.h \
142 ia64-opc.h \
a40cbfa3 143 ip2k-desc.h ip2k-opc.h \
47b1a55a 144 iq2000-desc.h iq2000-opc.h \
252b5132
RH
145 m32r-desc.h m32r-opc.h \
146 mcore-opc.h \
87e6d782 147 openrisc-desc.h openrisc-opc.h \
252b5132 148 sh-opc.h \
43079f18 149 sh64-opc.h \
252b5132
RH
150 sysdep.h \
151 w65-opc.h \
93fbbb04 152 xstormy16-desc.h xstormy16-opc.h \
252b5132
RH
153 z8k-opc.h
154
155
156# C source files that correspond to .o's.
157CFILES = \
158 a29k-dis.c \
159 alpha-dis.c \
160 alpha-opc.c \
71f22174
AS
161 arc-dis.c \
162 arc-opc.c \
0d2bcfaf 163 arc-ext.c \
252b5132 164 arm-dis.c \
832ddf62 165 avr-dis.c \
252b5132
RH
166 cgen-asm.c \
167 cgen-dis.c \
168 cgen-opc.c \
6c95a37f
HPN
169 cris-dis.c \
170 cris-opc.c \
1fe1f39c
NC
171 crx-dis.c \
172 crx-opc.c \
252b5132
RH
173 d10v-dis.c \
174 d10v-opc.c \
175 d30v-dis.c \
176 d30v-opc.c \
d172d4ba 177 dlx-dis.c \
252b5132 178 dis-buf.c \
92c2346c 179 dis-init.c \
252b5132
RH
180 disassemble.c \
181 fr30-asm.c \
182 fr30-desc.c \
183 fr30-dis.c \
184 fr30-ibld.c \
185 fr30-opc.c \
fd3c93d5
DB
186 frv-asm.c \
187 frv-desc.c \
188 frv-dis.c \
189 frv-ibld.c \
190 frv-opc.c \
252b5132
RH
191 h8300-dis.c \
192 h8500-dis.c \
193 hppa-dis.c \
5b93d8bb
AM
194 i370-dis.c \
195 i370-opc.c \
252b5132 196 i386-dis.c \
9d751335 197 i860-dis.c \
252b5132 198 i960-dis.c \
800eeca4
JW
199 ia64-dis.c \
200 ia64-opc-a.c \
201 ia64-opc-b.c \
202 ia64-opc-f.c \
203 ia64-opc-i.c \
204 ia64-opc-m.c \
205 ia64-opc-d.c \
206 ia64-opc.c \
207 ia64-gen.c \
208 ia64-asmtab.c \
a40cbfa3
NC
209 ip2k-asm.c \
210 ip2k-desc.c \
211 ip2k-dis.c \
212 ip2k-ibld.c \
213 ip2k-opc.c \
47b1a55a
SC
214 iq2000-asm.c \
215 iq2000-desc.c \
216 iq2000-dis.c \
217 iq2000-ibld.c \
218 iq2000-opc.c \
252b5132
RH
219 m32r-asm.c \
220 m32r-desc.c \
221 m32r-dis.c \
222 m32r-ibld.c \
223 m32r-opc.c \
224 m32r-opinst.c \
60bcf0fa
NC
225 m68hc11-dis.c \
226 m68hc11-opc.c \
252b5132
RH
227 m68k-dis.c \
228 m68k-opc.c \
229 m88k-dis.c \
230 mcore-dis.c \
231 mips-dis.c \
232 mips-opc.c \
233 mips16-opc.c \
234 m10200-dis.c \
235 m10200-opc.c \
236 m10300-dis.c \
237 m10300-opc.c \
3c3bdf30
NC
238 mmix-dis.c \
239 mmix-opc.c \
252b5132 240 ns32k-dis.c \
87e6d782
NC
241 openrisc-asm.c \
242 openrisc-desc.c \
243 openrisc-dis.c \
244 openrisc-ibld.c \
245 openrisc-opc.c \
3b16e843
NC
246 or32-dis.c \
247 or32-opc.c \
e135f41b
NC
248 pdp11-dis.c \
249 pdp11-opc.c \
1e608f98
ILT
250 pj-dis.c \
251 pj-opc.c \
252b5132
RH
252 ppc-dis.c \
253 ppc-opc.c \
b6849f55 254 s390-mkopc.c \
a85d7ed0
NC
255 s390-opc.c \
256 s390-dis.c \
252b5132 257 sh-dis.c \
43079f18
NC
258 sh64-dis.c \
259 sh64-opc.c \
252b5132
RH
260 sparc-dis.c \
261 sparc-opc.c \
262 tic30-dis.c \
026df7c5 263 tic4x-dis.c \
5c84d377
TW
264 tic54x-dis.c \
265 tic54x-opc.c \
252b5132
RH
266 tic80-dis.c \
267 tic80-opc.c \
71f22174
AS
268 v850-dis.c \
269 v850-opc.c \
252b5132
RH
270 vax-dis.c \
271 w65-dis.c \
93fbbb04
GK
272 xstormy16-asm.c \
273 xstormy16-desc.c \
274 xstormy16-dis.c \
275 xstormy16-ibld.c \
276 xstormy16-opc.c \
e0001a05 277 xtensa-dis.c \
252b5132
RH
278 z8k-dis.c \
279 z8kgen.c
280
281
282ALL_MACHINES = \
283 a29k-dis.lo \
284 alpha-dis.lo \
285 alpha-opc.lo \
286 arc-dis.lo \
287 arc-opc.lo \
0d2bcfaf 288 arc-ext.lo \
252b5132 289 arm-dis.lo \
832ddf62 290 avr-dis.lo \
252b5132
RH
291 cgen-asm.lo \
292 cgen-dis.lo \
293 cgen-opc.lo \
6c95a37f
HPN
294 cris-dis.lo \
295 cris-opc.lo \
1fe1f39c
NC
296 crx-dis.lo \
297 crx-opc.lo \
252b5132
RH
298 d10v-dis.lo \
299 d10v-opc.lo \
300 d30v-dis.lo \
301 d30v-opc.lo \
d172d4ba 302 dlx-dis.lo \
252b5132
RH
303 fr30-asm.lo \
304 fr30-desc.lo \
305 fr30-dis.lo \
306 fr30-ibld.lo \
307 fr30-opc.lo \
fd3c93d5
DB
308 frv-asm.lo \
309 frv-desc.lo \
310 frv-dis.lo \
311 frv-ibld.lo \
312 frv-opc.lo \
252b5132
RH
313 h8300-dis.lo \
314 h8500-dis.lo \
315 hppa-dis.lo \
316 i386-dis.lo \
5b93d8bb
AM
317 i370-dis.lo \
318 i370-opc.lo \
9d751335 319 i860-dis.lo \
252b5132 320 i960-dis.lo \
800eeca4
JW
321 ia64-dis.lo \
322 ia64-opc.lo \
a40cbfa3
NC
323 ip2k-asm.lo \
324 ip2k-desc.lo \
325 ip2k-dis.lo \
326 ip2k-ibld.lo \
327 ip2k-opc.lo \
47b1a55a
SC
328 iq2000-asm.lo \
329 iq2000-desc.lo \
330 iq2000-dis.lo \
331 iq2000-ibld.lo \
332 iq2000-opc.lo \
252b5132
RH
333 m32r-asm.lo \
334 m32r-desc.lo \
335 m32r-dis.lo \
336 m32r-ibld.lo \
337 m32r-opc.lo \
338 m32r-opinst.lo \
60bcf0fa
NC
339 m68hc11-dis.lo \
340 m68hc11-opc.lo \
252b5132
RH
341 m68k-dis.lo \
342 m68k-opc.lo \
343 m88k-dis.lo \
344 m10200-dis.lo \
345 m10200-opc.lo \
346 m10300-dis.lo \
347 m10300-opc.lo \
348 mcore-dis.lo \
349 mips-dis.lo \
350 mips-opc.lo \
351 mips16-opc.lo \
3c3bdf30
NC
352 mmix-dis.lo \
353 mmix-opc.lo \
40065372 354 msp430-dis.lo \
e135f41b 355 ns32k-dis.lo \
87e6d782
NC
356 openrisc-asm.lo \
357 openrisc-desc.lo \
358 openrisc-dis.lo \
359 openrisc-ibld.lo \
360 openrisc-opc.lo \
3b16e843
NC
361 or32-dis.lo \
362 or32-opc.lo \
e135f41b
NC
363 pdp11-dis.lo \
364 pdp11-opc.lo \
1e608f98
ILT
365 pj-dis.lo \
366 pj-opc.lo \
252b5132
RH
367 ppc-dis.lo \
368 ppc-opc.lo \
a85d7ed0
NC
369 s390-dis.lo \
370 s390-opc.lo \
252b5132 371 sh-dis.lo \
43079f18
NC
372 sh64-dis.lo \
373 sh64-opc.lo \
252b5132
RH
374 sparc-dis.lo \
375 sparc-opc.lo \
376 tic30-dis.lo \
026df7c5 377 tic4x-dis.lo \
5c84d377
TW
378 tic54x-dis.lo \
379 tic54x-opc.lo \
252b5132
RH
380 tic80-dis.lo \
381 tic80-opc.lo \
382 v850-dis.lo \
383 v850-opc.lo \
384 vax-dis.lo \
385 w65-dis.lo \
93fbbb04
GK
386 xstormy16-asm.lo \
387 xstormy16-desc.lo \
388 xstormy16-dis.lo \
389 xstormy16-ibld.lo \
390 xstormy16-opc.lo \
e0001a05 391 xtensa-dis.lo \
252b5132
RH
392 z8k-dis.lo
393
394
395OFILES = @BFD_MACHINES@
396
397INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
398
92c2346c 399libopcodes_la_SOURCES = dis-buf.c disassemble.c dis-init.c
3ba7a1aa
DJ
400# It's desirable to list ../bfd/libbfd.la in DEPENDENCIES and LIBADD.
401# Unfortunately this causes libtool to add -L$(libdir), referring to the
402# planned install directory of libbfd. This can cause us to pick up an
403# old version of libbfd, or to pick up libbfd for the wrong architecture
404# if host != build.
405libopcodes_la_DEPENDENCIES = $(OFILES)
406libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
252b5132
RH
407libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
408
409# libtool will build .libs/libopcodes.a. We create libopcodes.a in
410# the build directory so that we don't have to convert all the
411# programs that use libopcodes.a simultaneously. This is a hack which
412# should be removed if everything else starts using libtool. FIXME.
413
414noinst_LIBRARIES = libopcodes.a
415
416POTFILES = $(HFILES) $(CFILES)
417
418CLEANFILES = \
f62ba8f2
AM
419 stamp-ip2k stamp-m32r stamp-fr30 stamp-frv stamp-openrisc \
420 stamp-iq2000 stamp-xstormy16 \
0bdaf48b 421 libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
252b5132 422
6e31aea3
BE
423
424CGENDIR = @cgendir@
4a3264e6 425CPUDIR = $(CGENDIR)/cpu
6e31aea3
BE
426CGEN = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`
427CGENFLAGS = -v
428
bc98a631 429CGENDEPS = \
6e31aea3
BE
430 $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \
431 $(CGENDIR)/opcodes.scm $(CGENDIR)/opc-asmdis.scm \
432 $(CGENDIR)/opc-ibld.scm $(CGENDIR)/opc-itab.scm \
433 $(CGENDIR)/opc-opinst.scm \
434 cgen-asm.in cgen-dis.in cgen-ibld.in
435
4714fbc0
DE
436
437CGEN_CPUS = fr30 frv ip2k m32r openrisc xstormy16
50e0eb66
AM
438@CGEN_MAINT_TRUE@IP2K_DEPS = @CGEN_MAINT_TRUE@stamp-ip2k
439@CGEN_MAINT_FALSE@IP2K_DEPS =
440@CGEN_MAINT_TRUE@M32R_DEPS = @CGEN_MAINT_TRUE@stamp-m32r
441@CGEN_MAINT_FALSE@M32R_DEPS =
442@CGEN_MAINT_TRUE@FR30_DEPS = @CGEN_MAINT_TRUE@stamp-fr30
443@CGEN_MAINT_FALSE@FR30_DEPS =
444@CGEN_MAINT_TRUE@FRV_DEPS = @CGEN_MAINT_TRUE@stamp-frv
445@CGEN_MAINT_FALSE@FRV_DEPS =
446@CGEN_MAINT_TRUE@OPENRISC_DEPS = @CGEN_MAINT_TRUE@stamp-openrisc
447@CGEN_MAINT_FALSE@OPENRISC_DEPS =
f62ba8f2
AM
448@CGEN_MAINT_TRUE@IQ2000_DEPS = @CGEN_MAINT_TRUE@stamp-iq2000
449@CGEN_MAINT_FALSE@IQ2000_DEPS =
50e0eb66
AM
450@CGEN_MAINT_TRUE@XSTORMY16_DEPS = @CGEN_MAINT_TRUE@stamp-xstormy16
451@CGEN_MAINT_FALSE@XSTORMY16_DEPS =
252b5132
RH
452ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
453mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
454CONFIG_HEADER = config.h
455CONFIG_CLEAN_FILES =
456LIBRARIES = $(noinst_LIBRARIES)
457
458
459DEFS = @DEFS@ -I. -I$(srcdir) -I.
460CPPFLAGS = @CPPFLAGS@
461LDFLAGS = @LDFLAGS@
462LIBS = @LIBS@
463libopcodes_a_LIBADD =
464libopcodes_a_SOURCES = libopcodes.a.c
ed265386 465libopcodes_a_OBJECTS = libopcodes.a.$(OBJEXT)
81172ff2 466LTLIBRARIES = $(bfdlib_LTLIBRARIES)
252b5132 467
92c2346c 468libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo dis-init.lo
a2d91340 469CFLAGS = @CFLAGS@
252b5132
RH
470COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
471LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
472CCLD = $(CC)
a2d91340
AC
473LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
474DIST_COMMON = ./stamp-h.in ChangeLog Makefile.am Makefile.in \
475acinclude.m4 aclocal.m4 config.in configure configure.in
252b5132
RH
476
477
a2d91340 478DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
252b5132 479
1fe1f39c 480TAR = gtar
252b5132
RH
481GZIP_ENV = --best
482SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
ed265386 483OBJECTS = libopcodes.a.$(OBJEXT) $(libopcodes_la_OBJECTS)
252b5132
RH
484
485all: all-redirect
486.SUFFIXES:
ed265386 487.SUFFIXES: .S .c .lo .o .obj .s
252b5132
RH
488$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
489 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
490
491Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
492 cd $(top_builddir) \
493 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
494
495$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
496 cd $(srcdir) && $(ACLOCAL)
497$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
498 cd $(srcdir) && $(AUTOCONF)
499
500config.h: stamp-h
501 @if test ! -f $@; then \
502 rm -f stamp-h; \
503 $(MAKE) stamp-h; \
504 else :; fi
505stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
506 cd $(top_builddir) \
507 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
508 $(SHELL) ./config.status
a2d91340
AC
509 @echo timestamp > stamp-h 2> /dev/null
510$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
252b5132 511 @if test ! -f $@; then \
a2d91340
AC
512 rm -f $(srcdir)/stamp-h.in; \
513 $(MAKE) $(srcdir)/stamp-h.in; \
252b5132 514 else :; fi
a2d91340 515$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
252b5132 516 cd $(top_srcdir) && $(AUTOHEADER)
a2d91340 517 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
252b5132
RH
518
519mostlyclean-hdr:
520
521clean-hdr:
522
523distclean-hdr:
524 -rm -f config.h
525
526maintainer-clean-hdr:
527
528mostlyclean-noinstLIBRARIES:
529
530clean-noinstLIBRARIES:
531 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
532
533distclean-noinstLIBRARIES:
534
535maintainer-clean-noinstLIBRARIES:
536
a2d91340
AC
537.c.o:
538 $(COMPILE) -c $<
539
ed265386
NC
540# FIXME: We should only use cygpath when building on Windows,
541# and only if it is available.
542.c.obj:
543 $(COMPILE) -c `cygpath -w $<`
544
a2d91340
AC
545.s.o:
546 $(COMPILE) -c $<
547
548.S.o:
549 $(COMPILE) -c $<
550
252b5132
RH
551mostlyclean-compile:
552 -rm -f *.o core *.core
ed265386 553 -rm -f *.$(OBJEXT)
252b5132
RH
554
555clean-compile:
556
557distclean-compile:
558 -rm -f *.tab.c
559
560maintainer-clean-compile:
561
a2d91340
AC
562.c.lo:
563 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
564
565.s.lo:
566 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
567
568.S.lo:
569 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
570
252b5132
RH
571mostlyclean-libtool:
572 -rm -f *.lo
573
574clean-libtool:
575 -rm -rf .libs _libs
576
577distclean-libtool:
578
579maintainer-clean-libtool:
580
81172ff2 581mostlyclean-bfdlibLTLIBRARIES:
252b5132 582
81172ff2
AM
583clean-bfdlibLTLIBRARIES:
584 -test -z "$(bfdlib_LTLIBRARIES)" || rm -f $(bfdlib_LTLIBRARIES)
252b5132 585
81172ff2 586distclean-bfdlibLTLIBRARIES:
252b5132 587
81172ff2 588maintainer-clean-bfdlibLTLIBRARIES:
252b5132
RH
589
590libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES)
81172ff2 591 $(LINK) -rpath $(bfdlibdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS)
252b5132
RH
592
593# This directory's subdirectories are mostly independent; you can cd
594# into them and run `make' without going through this Makefile.
595# To change the values of `make' variables: instead of editing Makefiles,
596# (1) if the variable is set in `config.status', edit `config.status'
597# (which will cause the Makefiles to be regenerated when you run `make');
598# (2) otherwise, pass the desired values on the `make' command line.
599
a2d91340
AC
600@SET_MAKE@
601
252b5132
RH
602all-recursive install-data-recursive install-exec-recursive \
603installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
604check-recursive installcheck-recursive info-recursive dvi-recursive:
605 @set fnord $(MAKEFLAGS); amf=$$2; \
606 dot_seen=no; \
607 target=`echo $@ | sed s/-recursive//`; \
608 list='$(SUBDIRS)'; for subdir in $$list; do \
609 echo "Making $$target in $$subdir"; \
610 if test "$$subdir" = "."; then \
611 dot_seen=yes; \
612 local_target="$$target-am"; \
613 else \
614 local_target="$$target"; \
615 fi; \
616 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
617 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
618 done; \
619 if test "$$dot_seen" = "no"; then \
620 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
621 fi; test -z "$$fail"
622
623mostlyclean-recursive clean-recursive distclean-recursive \
624maintainer-clean-recursive:
625 @set fnord $(MAKEFLAGS); amf=$$2; \
626 dot_seen=no; \
627 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
628 rev="$$subdir $$rev"; \
1fe1f39c 629 test "$$subdir" != "." || dot_seen=yes; \
252b5132
RH
630 done; \
631 test "$$dot_seen" = "no" && rev=". $$rev"; \
632 target=`echo $@ | sed s/-recursive//`; \
633 for subdir in $$rev; do \
634 echo "Making $$target in $$subdir"; \
635 if test "$$subdir" = "."; then \
636 local_target="$$target-am"; \
637 else \
638 local_target="$$target"; \
639 fi; \
640 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
641 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
642 done && test -z "$$fail"
643tags-recursive:
644 list='$(SUBDIRS)'; for subdir in $$list; do \
645 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
646 done
647
648tags: TAGS
649
a2d91340
AC
650ID: $(HEADERS) $(SOURCES) $(LISP)
651 list='$(SOURCES) $(HEADERS)'; \
652 unique=`for i in $$list; do echo $$i; done | \
653 awk ' { files[$$0] = 1; } \
252b5132 654 END { for (i in files) print i; }'`; \
a2d91340
AC
655 here=`pwd` && cd $(srcdir) \
656 && mkid -f$$here/ID $$unique $(LISP)
252b5132 657
a2d91340 658TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
252b5132
RH
659 tags=; \
660 here=`pwd`; \
661 list='$(SUBDIRS)'; for subdir in $$list; do \
662 if test "$$subdir" = .; then :; else \
663 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
664 fi; \
665 done; \
a2d91340
AC
666 list='$(SOURCES) $(HEADERS)'; \
667 unique=`for i in $$list; do echo $$i; done | \
668 awk ' { files[$$0] = 1; } \
252b5132
RH
669 END { for (i in files) print i; }'`; \
670 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
a2d91340 671 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
252b5132
RH
672
673mostlyclean-tags:
674
675clean-tags:
676
677distclean-tags:
678 -rm -f TAGS ID
679
680maintainer-clean-tags:
681
682distdir = $(PACKAGE)-$(VERSION)
683top_distdir = $(distdir)
684
685# This target untars the dist file and tries a VPATH configuration. Then
686# it guarantees that the distribution is self-contained by making another
687# tarfile.
688distcheck: dist
a2d91340
AC
689 -rm -rf $(distdir)
690 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
252b5132
RH
691 mkdir $(distdir)/=build
692 mkdir $(distdir)/=inst
a2d91340
AC
693 dc_install_base=`cd $(distdir)/=inst && pwd`; \
694 cd $(distdir)/=build \
252b5132
RH
695 && ../configure --srcdir=.. --prefix=$$dc_install_base \
696 && $(MAKE) $(AM_MAKEFLAGS) \
697 && $(MAKE) $(AM_MAKEFLAGS) dvi \
698 && $(MAKE) $(AM_MAKEFLAGS) check \
699 && $(MAKE) $(AM_MAKEFLAGS) install \
700 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
a2d91340
AC
701 && $(MAKE) $(AM_MAKEFLAGS) dist
702 -rm -rf $(distdir)
252b5132
RH
703 @banner="$(distdir).tar.gz is ready for distribution"; \
704 dashes=`echo "$$banner" | sed s/./=/g`; \
705 echo "$$dashes"; \
706 echo "$$banner"; \
707 echo "$$dashes"
708dist: distdir
a2d91340
AC
709 -chmod -R a+r $(distdir)
710 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
711 -rm -rf $(distdir)
252b5132 712dist-all: distdir
a2d91340
AC
713 -chmod -R a+r $(distdir)
714 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
715 -rm -rf $(distdir)
252b5132 716distdir: $(DISTFILES)
a2d91340 717 -rm -rf $(distdir)
252b5132 718 mkdir $(distdir)
a2d91340 719 -chmod 777 $(distdir)
252b5132
RH
720 @for file in $(DISTFILES); do \
721 if test -f $$file; then d=.; else d=$(srcdir); fi; \
722 if test -d $$d/$$file; then \
a2d91340 723 cp -pr $$d/$$file $(distdir)/$$file; \
252b5132
RH
724 else \
725 test -f $(distdir)/$$file \
a2d91340
AC
726 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
727 || cp -p $$d/$$file $(distdir)/$$file || :; \
252b5132
RH
728 fi; \
729 done
730 for subdir in $(SUBDIRS); do \
731 if test "$$subdir" = .; then :; else \
732 test -d $(distdir)/$$subdir \
733 || mkdir $(distdir)/$$subdir \
734 || exit 1; \
a2d91340 735 chmod 777 $(distdir)/$$subdir; \
252b5132
RH
736 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
737 || exit 1; \
738 fi; \
739 done
740info-am:
741info: info-recursive
742dvi-am:
743dvi: dvi-recursive
744check-am:
745check: check-recursive
746installcheck-am:
747installcheck: installcheck-recursive
748install-info-am:
749install-info: install-info-recursive
750all-recursive-am: config.h
751 $(MAKE) $(AM_MAKEFLAGS) all-recursive
752
81172ff2 753install-exec-am:
252b5132
RH
754install-exec: install-exec-recursive
755
81172ff2 756install-data-am: install-bfdlibLTLIBRARIES
252b5132
RH
757install-data: install-data-recursive
758
759install-am: all-am
760 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
761install: install-recursive
81172ff2 762uninstall-am: uninstall-bfdlibLTLIBRARIES
252b5132
RH
763uninstall: uninstall-recursive
764all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
765all-redirect: all-recursive-am
766install-strip:
a2d91340 767 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
252b5132
RH
768installdirs: installdirs-recursive
769installdirs-am:
81172ff2 770 $(mkinstalldirs) $(DESTDIR)$(bfdlibdir)
252b5132
RH
771
772
773mostlyclean-generic:
774
775clean-generic:
776 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
777
778distclean-generic:
779 -rm -f Makefile $(CONFIG_CLEAN_FILES)
780 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
781
782maintainer-clean-generic:
783mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
784 mostlyclean-compile mostlyclean-libtool \
81172ff2 785 mostlyclean-bfdlibLTLIBRARIES mostlyclean-tags \
252b5132
RH
786 mostlyclean-generic
787
788mostlyclean: mostlyclean-recursive
789
790clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \
81172ff2 791 clean-bfdlibLTLIBRARIES clean-tags clean-generic \
252b5132
RH
792 mostlyclean-am
793
794clean: clean-recursive
795
796distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
81172ff2 797 distclean-libtool distclean-bfdlibLTLIBRARIES \
252b5132
RH
798 distclean-tags distclean-generic clean-am
799 -rm -f libtool
800
801distclean: distclean-recursive
802 -rm -f config.status
803
804maintainer-clean-am: maintainer-clean-hdr \
805 maintainer-clean-noinstLIBRARIES \
806 maintainer-clean-compile maintainer-clean-libtool \
81172ff2
AM
807 maintainer-clean-bfdlibLTLIBRARIES \
808 maintainer-clean-tags maintainer-clean-generic \
809 distclean-am
252b5132
RH
810 @echo "This command is intended for maintainers to use;"
811 @echo "it deletes files that may require special tools to rebuild."
812
813maintainer-clean: maintainer-clean-recursive
814 -rm -f config.status
815
816.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
817mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
818clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
819mostlyclean-compile distclean-compile clean-compile \
820maintainer-clean-compile mostlyclean-libtool distclean-libtool \
81172ff2
AM
821clean-libtool maintainer-clean-libtool mostlyclean-bfdlibLTLIBRARIES \
822distclean-bfdlibLTLIBRARIES clean-bfdlibLTLIBRARIES \
823maintainer-clean-bfdlibLTLIBRARIES uninstall-bfdlibLTLIBRARIES \
824install-bfdlibLTLIBRARIES install-data-recursive \
825uninstall-data-recursive install-exec-recursive \
826uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
827all-recursive check-recursive installcheck-recursive info-recursive \
828dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
252b5132
RH
829maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
830distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
831dvi-am dvi check check-am installcheck-am installcheck install-info-am \
832install-info all-recursive-am install-exec-am install-exec \
81172ff2
AM
833install-data-am install-data install-am install uninstall-am uninstall \
834all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
835distclean-generic clean-generic maintainer-clean-generic clean \
836mostlyclean distclean maintainer-clean
252b5132
RH
837
838
839disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
840 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
841
842stamp-lib: libopcodes.la
e56f75e9
ILT
843 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
844 if [ -f $$libtooldir/libopcodes.a ]; then \
845 cp $$libtooldir/libopcodes.a libopcodes.tmp; \
847ee773 846 $(RANLIB) libopcodes.tmp; \
252b5132
RH
847 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
848 else true; fi
849 touch stamp-lib
850
851libopcodes.a: stamp-lib ; @true
852po/POTFILES.in: @MAINT@ Makefile
f8607389 853 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
252b5132
RH
854 && mv tmp $(srcdir)/po/POTFILES.in
855
856# We should reconfigure whenever bfd/configure.in changes, because
857# that's where the version number comes from.
858config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
859 $(SHELL) ./config.status --recheck
860
81172ff2 861install-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@install_libopcodes
263de010 862 @$(NORMAL_INSTALL)
81172ff2
AM
863
864uninstall-bfdlibLTLIBRARIES: @INSTALL_LIBBFD_TRUE@uninstall_libopcodes
865 @$(NORMAL_UNINSTALL)
866
867.PHONY: install_libopcodes uninstall_libopcodes
868install_libopcodes: $(bfdlib_LTLIBRARIES)
869 $(mkinstalldirs) $(DESTDIR)$(bfdlibdir)
870 $(mkinstalldirs) $(DESTDIR)$(bfdincludedir)
871 @list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
872 if test -f $$p; then \
873 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p"; \
874 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(bfdlibdir)/$$p; \
875 else :; fi; \
876 done
877 $(INSTALL_DATA) $(INCDIR)/dis-asm.h $(DESTDIR)$(bfdincludedir)/dis-asm.h
878
879uninstall_libopcodes:
880 list='$(bfdlib_LTLIBRARIES)'; for p in $$list; do \
881 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bfdlibdir)/$$p; \
882 done
883 rm -f $(DESTDIR)$(bfdincludedir)/dis-asm.h
263de010 884
6e31aea3
BE
885run-cgen:
886 $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) \
9c2de729
DB
887 $(CGENDIR) "$(CGENFLAGS)" $(arch) $(prefix) $(archfile) $(opcfile) \
888 "$(options)" "$(extrafiles)"
6e31aea3
BE
889 touch stamp-${prefix}
890.PHONY: run-cgen
891
4714fbc0
DE
892# Maintainer utility rule to regenerate all cgen files.
893run-cgen-all:
894 for c in $(CGEN_CPUS) ; \
895 do \
896 $(MAKE) stamp-$$c || exit 1 ; \
897 done
898.PHONY: run-cgen-all
899
6e31aea3 900# For now, require developers to configure with --enable-cgen-maint.
a40cbfa3
NC
901$(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)
902 @true
903stamp-ip2k: $(CGENDEPS) $(CPUDIR)/ip2k.cpu $(CPUDIR)/ip2k.opc
9c2de729
DB
904 $(MAKE) run-cgen arch=ip2k prefix=ip2k options= \
905 archfile=$(CPUDIR)/ip2k.cpu opcfile=$(CPUDIR)/ip2k.opc extrafiles=
a40cbfa3 906
6e31aea3 907$(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)
ed265386 908 @true
4a3264e6 909stamp-m32r: $(CGENDEPS) $(CPUDIR)/m32r.cpu $(CPUDIR)/m32r.opc
9c2de729
DB
910 $(MAKE) run-cgen arch=m32r prefix=m32r options=opinst \
911 archfile=$(CPUDIR)/m32r.cpu opcfile=$(CPUDIR)/m32r.opc extrafiles=opinst
6e31aea3
BE
912
913$(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)
914 @true
4a3264e6 915stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.cpu $(CPUDIR)/fr30.opc
9c2de729
DB
916 $(MAKE) run-cgen arch=fr30 prefix=fr30 options= \
917 archfile=$(CPUDIR)/fr30.cpu opcfile=$(CPUDIR)/fr30.opc extrafiles=
6e31aea3 918
fd3c93d5
DB
919$(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)
920 @true
5272d201
DB
921# .cpu and .opc files for frv are kept in a different directory, but cgen has no switch to specify that location, so
922# copy those file to the regular place.
923stamp-frv: $(CGENDEPS) $(srcdir)/../cpu/frv.cpu $(srcdir)/../cpu/frv.opc
9c2de729
DB
924 $(MAKE) run-cgen arch=frv prefix=frv options= \
925 archfile=$(srcdir)/../cpu/frv.cpu opcfile=$(srcdir)/../cpu/frv.opc extrafiles=
fd3c93d5 926
87e6d782
NC
927$(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)
928 @true
4a3264e6 929stamp-openrisc: $(CGENDEPS) $(CPUDIR)/openrisc.cpu $(CPUDIR)/openrisc.opc
9c2de729
DB
930 $(MAKE) run-cgen arch=openrisc prefix=openrisc options= \
931 archfile=$(CPUDIR)/openrisc.cpu opcfile=$(CPUDIR)/openrisc.opc extrafiles=
87e6d782 932
f62ba8f2
AM
933$(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)
934 @true
935stamp-iq2000: $(CGENDEPS) $(CPUDIR)/iq2000.cpu $(CPUDIR)/iq2000.opc \
936 $(CPUDIR)/iq2000m.cpu $(CPUDIR)/iq10.cpu
9c2de729
DB
937 $(MAKE) run-cgen arch=iq2000 prefix=iq2000 options= \
938 archfile=$(CPUDIR)/iq2000.cpu opcfile=$(CPUDIR)/iq2000.opc extrafiles=
f62ba8f2 939
93fbbb04
GK
940$(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)
941 @true
942stamp-xstormy16: $(CGENDEPS) $(CPUDIR)/xstormy16.cpu $(CPUDIR)/xstormy16.opc
9c2de729
DB
943 $(MAKE) run-cgen arch=xstormy16 prefix=xstormy16 options= \
944 archfile=$(CPUDIR)/xstormy16.cpu opcfile=$(CPUDIR)/xstormy16.opc extrafiles=
93fbbb04 945
0ab71ce3
NC
946ia64-gen: ia64-gen.o
947 $(LINK) ia64-gen.o $(LIBIBERTY)
948
949ia64-gen.o: ia64-gen.c ia64-opc.c ia64-opc-a.c ia64-opc-b.c ia64-opc-f.c \
950 ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
951
952ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
bde78a07 953 ./ia64-gen --srcdir $(srcdir) > $(srcdir)/ia64-asmtab.c
0ab71ce3 954
b6849f55
NC
955s390-mkopc: s390-mkopc.c
956 $(CC_FOR_BUILD) -o s390-mkopc $(srcdir)/s390-mkopc.c
957
958s390-opc.tab: s390-mkopc s390-opc.txt
959 ./s390-mkopc < $(srcdir)/s390-opc.txt > s390-opc.tab
960
19f33eee
AM
961sh-dis.lo: sh-dis.c
962 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $<
963
7997656a
AM
964Makefile: $(BFDDIR)/configure.in
965
252b5132
RH
966# This dependency stuff is copied from BFD.
967
73c418f4
ILT
968DEP: dep.sed $(CFILES) $(HFILES) config.h
969 rm -f DEP1
41b49281 970 $(MAKE) MKDEP="$(MKDEP)" DEP1
0bdaf48b
AM
971 sed -f dep.sed < DEP1 > DEPA
972 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
973 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1581f8c9
AM
974 echo 'make DEP failed!'; exit 1; \
975 else \
0bdaf48b 976 mv -f DEPA $@; \
1581f8c9 977 fi
252b5132 978
73c418f4 979DEP1: $(CFILES)
73c418f4 980 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
41b49281
AM
981 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
982 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
983 mv -f DEP2 $@
252b5132
RH
984
985dep.sed: dep-in.sed config.status
986 sed <$(srcdir)/dep-in.sed >dep.sed \
987 -e 's!@BFD_H@!$(BFD_H)!' \
988 -e 's!@INCDIR@!$(INCDIR)!' \
989 -e 's!@BFDDIR@!$(BFDDIR)!' \
82674a1f
AM
990 -e 's!@SRCDIR@!$(srcdir)!' \
991 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/opcodes$$,,`'!'
252b5132 992
73c418f4 993dep: DEP
252b5132 994 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
73c418f4 995 cat DEP >> tmp-Makefile
252b5132
RH
996 $(srcdir)/../move-if-change tmp-Makefile Makefile
997
73c418f4 998dep-in: DEP
252b5132 999 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
73c418f4 1000 cat DEP >> tmp-Makefile.in
252b5132
RH
1001 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1002
73c418f4 1003dep-am: DEP
252b5132 1004 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
73c418f4 1005 cat DEP >> tmp-Makefile.am
252b5132
RH
1006 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1007
1008.PHONY: dep dep-in dep-am
1009
1010# What appears below is generated by a hacked mkdep using gcc -MM.
1011
1012# DO NOT DELETE THIS LINE -- mkdep uses it.
1013# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
0d8dfecf 1014a29k-dis.lo: a29k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1015 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/a29k.h
0d8dfecf 1016alpha-dis.lo: alpha-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1017 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/alpha.h
0d8dfecf 1018alpha-opc.lo: alpha-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1019 $(INCDIR)/opcode/alpha.h $(BFD_H) $(INCDIR)/symcat.h \
1020 opintl.h
82674a1f
AM
1021arc-dis.lo: arc-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1022 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h \
1023 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1024 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h \
1025 $(INCDIR)/elf/reloc-macros.h opintl.h arc-dis.h arc-ext.h
8737c3ea 1026arc-opc.lo: arc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
2d2550d6 1027 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h
8737c3ea 1028arc-ext.lo: arc-ext.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1029 $(BFD_H) $(INCDIR)/symcat.h arc-ext.h $(INCDIR)/libiberty.h
0d8dfecf 1030arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1031 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h arm-opc.h \
1032 $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
f8607389
AM
1033 opintl.h $(INCDIR)/safe-ctype.h $(BFDDIR)/elf-bfd.h \
1034 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1035 $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h
0d8dfecf 1036avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1037 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \
f62ba8f2 1038 $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h
0d8dfecf 1039cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
8737c3ea
HPN
1040 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
1041 $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h opintl.h
0d8dfecf
AM
1042cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1043 $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
1044cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
8737c3ea
HPN
1045 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
1046 $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
6c95a37f 1047cris-dis.lo: cris-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a
AM
1048 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
1049 $(INCDIR)/opcode/cris.h $(INCDIR)/libiberty.h
6c95a37f 1050cris-opc.lo: cris-opc.c $(INCDIR)/opcode/cris.h
1fe1f39c
NC
1051crx-dis.lo: crx-dis.c $(INCDIR)/opcode/crx.h \
1052 $(INCDIR)/dis-asm.h sysdep.h $(INCDIR)/ansidecl.h
1053crx-opc.lo: crx-opc.c $(INCDIR)/opcode/crx.h
0d8dfecf 1054d10v-dis.lo: d10v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1055 $(INCDIR)/opcode/d10v.h $(INCDIR)/dis-asm.h $(BFD_H) \
1056 $(INCDIR)/symcat.h
0d8dfecf
AM
1057d10v-opc.lo: d10v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1058 $(INCDIR)/opcode/d10v.h
1059d30v-dis.lo: d30v-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1060 $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1061 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
1062d30v-opc.lo: d30v-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1063 $(INCDIR)/opcode/d30v.h
d172d4ba 1064dlx-dis.lo: dlx-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
194b5210 1065 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/dlx.h
0d8dfecf 1066dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1067 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h
92c2346c 1068dis-init.lo: dis-init.c sysdep.h config.h $(INCDIR)/ansidecl.h \
9fa06c65 1069 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 1070disassemble.lo: disassemble.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1071 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 1072fr30-asm.lo: fr30-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
1073 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
1074 fr30-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1075 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
0d8dfecf 1076fr30-desc.lo: fr30-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 1077 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
1078 fr30-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
1079 $(INCDIR)/xregex2.h
0d8dfecf 1080fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1081 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1082 fr30-desc.h $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h
0d8dfecf
AM
1083fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1084 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h \
c0ef99a7 1085 $(INCDIR)/opcode/cgen.h fr30-opc.h opintl.h $(INCDIR)/safe-ctype.h
0d8dfecf
AM
1086fr30-opc.lo: fr30-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1087 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
27b7e12d 1088 fr30-opc.h $(INCDIR)/libiberty.h
8c3bb577
AM
1089frv-asm.lo: frv-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1090 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
1091 frv-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1092 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1093frv-desc.lo: frv-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1094 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
1095 frv-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
1096 $(INCDIR)/xregex2.h
8c3bb577 1097frv-dis.lo: frv-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1098 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1099 frv-desc.h $(INCDIR)/opcode/cgen.h frv-opc.h opintl.h
8c3bb577
AM
1100frv-ibld.lo: frv-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1101 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h frv-desc.h \
1102 $(INCDIR)/opcode/cgen.h frv-opc.h opintl.h $(INCDIR)/safe-ctype.h
1103frv-opc.lo: frv-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1104 $(BFD_H) $(INCDIR)/symcat.h frv-desc.h $(INCDIR)/opcode/cgen.h \
1105 frv-opc.h $(INCDIR)/libiberty.h $(INCDIR)/elf/frv.h \
1106 $(INCDIR)/elf/reloc-macros.h
0d8dfecf
AM
1107h8300-dis.lo: h8300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1108 $(INCDIR)/opcode/h8300.h $(INCDIR)/dis-asm.h $(BFD_H) \
f62ba8f2 1109 $(INCDIR)/symcat.h opintl.h $(INCDIR)/libiberty.h
0d8dfecf 1110h8500-dis.lo: h8500-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1111 h8500-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
1112 opintl.h
0d8dfecf 1113hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1114 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(BFDDIR)/libhppa.h \
1115 $(INCDIR)/opcode/hppa.h
0d8dfecf 1116i370-dis.lo: i370-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1117 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/i370.h
0d8dfecf
AM
1118i370-opc.lo: i370-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1119 $(INCDIR)/opcode/i370.h
252b5132 1120i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a
AM
1121 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
1122 opintl.h
9d751335 1123i860-dis.lo: i860-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1124 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/i860.h
0d8dfecf 1125i960-dis.lo: i960-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1126 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
2114f57b 1127ia64-dis.lo: ia64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1128 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/ia64.h
82674a1f
AM
1129ia64-opc-a.lo: ia64-opc-a.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
1130 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
1131ia64-opc-b.lo: ia64-opc-b.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
1132 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
1133ia64-opc-f.lo: ia64-opc-f.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
1134 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
1135ia64-opc-i.lo: ia64-opc-i.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
1136 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
1137ia64-opc-m.lo: ia64-opc-m.c ia64-opc.h $(INCDIR)/opcode/ia64.h \
1138 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
2114f57b
AM
1139ia64-opc-d.lo: ia64-opc-d.c
1140ia64-opc.lo: ia64-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1141 sysdep.h config.h ia64-asmtab.h $(INCDIR)/opcode/ia64.h \
82674a1f 1142 $(BFD_H) $(INCDIR)/symcat.h ia64-asmtab.c
2114f57b 1143ia64-gen.lo: ia64-gen.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
bde78a07
NC
1144 $(INCDIR)/safe-ctype.h sysdep.h config.h $(INCDIR)/getopt.h \
1145 ia64-opc.h $(INCDIR)/opcode/ia64.h $(BFD_H) $(INCDIR)/symcat.h \
82674a1f 1146 ia64-opc-a.c ia64-opc-i.c ia64-opc-m.c ia64-opc-b.c \
f8607389 1147 ia64-opc-f.c ia64-opc-x.c ia64-opc-d.c
2114f57b 1148ia64-asmtab.lo: ia64-asmtab.c
8c3bb577
AM
1149ip2k-asm.lo: ip2k-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1150 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
1151 ip2k-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1152 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1153ip2k-desc.lo: ip2k-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1154 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
1155 ip2k-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
1156 $(INCDIR)/xregex2.h
8c3bb577 1157ip2k-dis.lo: ip2k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1158 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1159 ip2k-desc.h $(INCDIR)/opcode/cgen.h ip2k-opc.h opintl.h
8c3bb577
AM
1160ip2k-ibld.lo: ip2k-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1161 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h \
1162 $(INCDIR)/opcode/cgen.h ip2k-opc.h opintl.h $(INCDIR)/safe-ctype.h
1163ip2k-opc.lo: ip2k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1164 $(BFD_H) $(INCDIR)/symcat.h ip2k-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
1165 ip2k-opc.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1166iq2000-asm.lo: iq2000-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1167 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
1168 iq2000-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1169 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1170iq2000-desc.lo: iq2000-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1171 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
795bb480
AM
1172 iq2000-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
1173 $(INCDIR)/xregex2.h
f62ba8f2 1174iq2000-dis.lo: iq2000-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
795bb480
AM
1175 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1176 iq2000-desc.h $(INCDIR)/opcode/cgen.h iq2000-opc.h \
1177 opintl.h
f62ba8f2
AM
1178iq2000-ibld.lo: iq2000-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1179 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h \
1180 $(INCDIR)/opcode/cgen.h iq2000-opc.h opintl.h $(INCDIR)/safe-ctype.h
1181iq2000-opc.lo: iq2000-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1182 $(BFD_H) $(INCDIR)/symcat.h iq2000-desc.h $(INCDIR)/opcode/cgen.h \
1183 iq2000-opc.h $(INCDIR)/libiberty.h
0d8dfecf 1184m32r-asm.lo: m32r-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
1185 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
1186 m32r-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1187 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
0d8dfecf 1188m32r-desc.lo: m32r-desc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 1189 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
f62ba8f2
AM
1190 m32r-opc.h opintl.h $(INCDIR)/libiberty.h $(INCDIR)/xregex.h \
1191 $(INCDIR)/xregex2.h
0d8dfecf 1192m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1193 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1194 m32r-desc.h $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h
0d8dfecf
AM
1195m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1196 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h \
c0ef99a7 1197 $(INCDIR)/opcode/cgen.h m32r-opc.h opintl.h $(INCDIR)/safe-ctype.h
0d8dfecf
AM
1198m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1199 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
27b7e12d 1200 m32r-opc.h $(INCDIR)/libiberty.h
0d8dfecf
AM
1201m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1202 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
252b5132 1203 m32r-opc.h
bbeb2e03 1204m68hc11-dis.lo: m68hc11-dis.c $(INCDIR)/ansidecl.h \
7997656a
AM
1205 $(INCDIR)/opcode/m68hc11.h $(INCDIR)/dis-asm.h $(BFD_H) \
1206 $(INCDIR)/symcat.h
bbeb2e03 1207m68hc11-opc.lo: m68hc11-opc.c $(INCDIR)/ansidecl.h \
60bcf0fa 1208 $(INCDIR)/opcode/m68hc11.h
0d8dfecf 1209m68k-dis.lo: m68k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1210 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/floatformat.h \
82674a1f 1211 $(INCDIR)/libiberty.h opintl.h $(INCDIR)/opcode/m68k.h
0d8dfecf 1212m68k-opc.lo: m68k-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
252b5132 1213 $(INCDIR)/opcode/m68k.h
0d8dfecf 1214m88k-dis.lo: m88k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1215 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/m88k.h \
f62ba8f2 1216 opintl.h $(INCDIR)/libiberty.h
0d8dfecf 1217mcore-dis.lo: mcore-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1218 mcore-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 1219mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1220 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1221 $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
1222 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1223 $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
0d8dfecf
AM
1224mips-opc.lo: mips-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1225 $(INCDIR)/opcode/mips.h
1226mips16-opc.lo: mips16-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1227 $(INCDIR)/opcode/mips.h
1228m10200-dis.lo: m10200-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1229 $(INCDIR)/opcode/mn10200.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1230 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
1231m10200-opc.lo: m10200-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1232 $(INCDIR)/opcode/mn10200.h
1233m10300-dis.lo: m10300-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1234 $(INCDIR)/opcode/mn10300.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1235 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
1236m10300-opc.lo: m10300-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1237 $(INCDIR)/opcode/mn10300.h
3c3bdf30 1238mmix-dis.lo: mmix-dis.c $(INCDIR)/opcode/mmix.h $(INCDIR)/dis-asm.h \
c0ef99a7 1239 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
3c3bdf30
NC
1240 opintl.h
1241mmix-opc.lo: mmix-opc.c $(INCDIR)/opcode/mmix.h $(INCDIR)/symcat.h
252b5132 1242ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
7997656a
AM
1243 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/dis-asm.h \
1244 $(INCDIR)/opcode/ns32k.h opintl.h
87e6d782 1245openrisc-asm.lo: openrisc-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7
AM
1246 $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
1247 openrisc-opc.h opintl.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \
1248 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
8a5cc6be
AM
1249openrisc-desc.lo: openrisc-desc.c sysdep.h config.h \
1250 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h \
f62ba8f2
AM
1251 $(INCDIR)/opcode/cgen.h openrisc-opc.h opintl.h $(INCDIR)/libiberty.h \
1252 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
87e6d782 1253openrisc-dis.lo: openrisc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
f62ba8f2
AM
1254 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \
1255 openrisc-desc.h $(INCDIR)/opcode/cgen.h openrisc-opc.h \
1256 opintl.h
8a5cc6be
AM
1257openrisc-ibld.lo: openrisc-ibld.c sysdep.h config.h \
1258 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
1259 openrisc-desc.h $(INCDIR)/opcode/cgen.h openrisc-opc.h \
c0ef99a7 1260 opintl.h $(INCDIR)/safe-ctype.h
87e6d782
NC
1261openrisc-opc.lo: openrisc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1262 $(BFD_H) $(INCDIR)/symcat.h openrisc-desc.h $(INCDIR)/opcode/cgen.h \
1263 openrisc-opc.h $(INCDIR)/libiberty.h
ba323545
AM
1264or32-dis.lo: or32-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
1265 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/or32.h \
1266 $(INCDIR)/safe-ctype.h
1267or32-opc.lo: or32-opc.c $(INCDIR)/safe-ctype.h $(INCDIR)/ansidecl.h \
1268 $(INCDIR)/opcode/or32.h
8737c3ea 1269pdp11-dis.lo: pdp11-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1270 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/pdp11.h
e135f41b 1271pdp11-opc.lo: pdp11-opc.c $(INCDIR)/opcode/pdp11.h
0d8dfecf 1272pj-dis.lo: pj-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1273 $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h $(BFD_H) \
1274 $(INCDIR)/symcat.h
0d8dfecf
AM
1275pj-opc.lo: pj-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1276 $(INCDIR)/opcode/pj.h
1277ppc-dis.lo: ppc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1278 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/ppc.h
0d8dfecf
AM
1279ppc-opc.lo: ppc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1280 $(INCDIR)/opcode/ppc.h opintl.h
8737c3ea
HPN
1281s390-mkopc.lo: s390-mkopc.c
1282s390-opc.lo: s390-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/s390.h \
1283 s390-opc.tab
27b7e12d 1284s390-dis.lo: s390-dis.c $(INCDIR)/ansidecl.h sysdep.h \
7997656a
AM
1285 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
1286 $(INCDIR)/opcode/s390.h
0d8dfecf 1287sh-dis.lo: sh-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1288 sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
43079f18
NC
1289sh64-dis.lo: sh64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
1290 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
1291 sh64-opc.h $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h \
1292 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
f0abc2a1
AM
1293 $(INCDIR)/bfdlink.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
1294 $(BFDDIR)/elf32-sh64.h
71b21050 1295sh64-opc.lo: sh64-opc.c sh64-opc.h
0d8dfecf
AM
1296sparc-dis.lo: sparc-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1297 $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1298 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h opintl.h
0d8dfecf
AM
1299sparc-opc.lo: sparc-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1300 $(INCDIR)/opcode/sparc.h
1301tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1302 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic30.h
2d2550d6
AM
1303tic4x-dis.lo: tic4x-dis.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1304 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic4x.h
bbeb2e03 1305tic54x-dis.lo: tic54x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1306 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h \
bbeb2e03
L
1307 $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h
1308tic54x-opc.lo: tic54x-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
c0ef99a7 1309 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h
0d8dfecf 1310tic80-dis.lo: tic80-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1311 $(INCDIR)/opcode/tic80.h $(INCDIR)/dis-asm.h $(BFD_H) \
1312 $(INCDIR)/symcat.h
0d8dfecf
AM
1313tic80-opc.lo: tic80-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1314 $(INCDIR)/opcode/tic80.h
1315v850-dis.lo: v850-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1316 $(INCDIR)/opcode/v850.h $(INCDIR)/dis-asm.h $(BFD_H) \
7997656a 1317 $(INCDIR)/symcat.h opintl.h
0d8dfecf
AM
1318v850-opc.lo: v850-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1319 $(INCDIR)/opcode/v850.h opintl.h
1320vax-dis.lo: vax-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a
AM
1321 $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h $(BFD_H) \
1322 $(INCDIR)/symcat.h
0d8dfecf 1323w65-dis.lo: w65-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1324 w65-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
c0ef99a7
AM
1325xstormy16-asm.lo: xstormy16-asm.c sysdep.h config.h \
1326 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
1327 $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/xregex.h \
1328 $(INCDIR)/xregex2.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1329xstormy16-desc.lo: xstormy16-desc.c sysdep.h config.h \
1330 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
f62ba8f2
AM
1331 $(INCDIR)/opcode/cgen.h xstormy16-opc.h opintl.h $(INCDIR)/libiberty.h \
1332 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
c0ef99a7
AM
1333xstormy16-dis.lo: xstormy16-dis.c sysdep.h config.h \
1334 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
f62ba8f2
AM
1335 $(INCDIR)/libiberty.h xstormy16-desc.h $(INCDIR)/opcode/cgen.h \
1336 xstormy16-opc.h opintl.h
c0ef99a7
AM
1337xstormy16-ibld.lo: xstormy16-ibld.c sysdep.h config.h \
1338 $(INCDIR)/ansidecl.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h \
1339 xstormy16-desc.h $(INCDIR)/opcode/cgen.h xstormy16-opc.h \
1340 opintl.h $(INCDIR)/safe-ctype.h
1341xstormy16-opc.lo: xstormy16-opc.c sysdep.h config.h \
1342 $(INCDIR)/ansidecl.h $(BFD_H) $(INCDIR)/symcat.h xstormy16-desc.h \
1343 $(INCDIR)/opcode/cgen.h xstormy16-opc.h $(INCDIR)/libiberty.h
e0001a05
NC
1344xtensa-dis.lo: xtensa-dis.c $(INCDIR)/xtensa-isa.h \
1345 $(INCDIR)/ansidecl.h sysdep.h config.h $(INCDIR)/dis-asm.h \
1346 $(BFD_H) $(INCDIR)/symcat.h
0d8dfecf 1347z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
7997656a 1348 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h z8k-opc.h
f62ba8f2
AM
1349z8kgen.lo: z8kgen.c sysdep.h config.h $(INCDIR)/ansidecl.h \
1350 $(INCDIR)/libiberty.h
252b5132
RH
1351# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1352
1353# Tell versions [3.59,3.63) of GNU make to not export all variables.
1354# Otherwise a system limit (for SysV at least) may be exceeded.
1355.NOEXPORT: