]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - opcodes/Makefile.in
* am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
[thirdparty/binutils-gdb.git] / opcodes / Makefile.in
CommitLineData
41b49281 1# Makefile.in generated automatically by automake 1.4a from Makefile.am
252b5132 2
41b49281 3# Copyright (C) 1994, 1995-9, 2000 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
252b5132
RH
13SHELL = @SHELL@
14
15srcdir = @srcdir@
16top_srcdir = @top_srcdir@
17VPATH = @srcdir@
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21bindir = @bindir@
22sbindir = @sbindir@
23libexecdir = @libexecdir@
24datadir = @datadir@
25sysconfdir = @sysconfdir@
26sharedstatedir = @sharedstatedir@
27localstatedir = @localstatedir@
28libdir = @libdir@
29infodir = @infodir@
30mandir = @mandir@
31includedir = @includedir@
32oldincludedir = /usr/include
33
34DESTDIR =
35
36pkgdatadir = $(datadir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39
40top_builddir = .
41
42ACLOCAL = @ACLOCAL@
43AUTOCONF = @AUTOCONF@
44AUTOMAKE = @AUTOMAKE@
45AUTOHEADER = @AUTOHEADER@
46
47INSTALL = @INSTALL@
41b49281 48INSTALL_PROGRAM = @INSTALL_PROGRAM@
252b5132
RH
49INSTALL_DATA = @INSTALL_DATA@
50INSTALL_SCRIPT = @INSTALL_SCRIPT@
41b49281 51INSTALL_STRIP_FLAG =
252b5132
RH
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
41b49281
AM
60
61@SET_MAKE@
252b5132
RH
62build_alias = @build_alias@
63build_triplet = @build@
64host_alias = @host_alias@
65host_triplet = @host@
66target_alias = @target_alias@
67target_triplet = @target@
68AR = @AR@
69AS = @AS@
70BFD_MACHINES = @BFD_MACHINES@
71CATALOGS = @CATALOGS@
72CATOBJEXT = @CATOBJEXT@
73CC = @CC@
74CC_FOR_BUILD = @CC_FOR_BUILD@
75DATADIRNAME = @DATADIRNAME@
76DLLTOOL = @DLLTOOL@
77EXEEXT = @EXEEXT@
78EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
79GMOFILES = @GMOFILES@
80GMSGFMT = @GMSGFMT@
81GT_NO = @GT_NO@
82GT_YES = @GT_YES@
83HDEFINES = @HDEFINES@
84INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
85INSTOBJEXT = @INSTOBJEXT@
86INTLDEPS = @INTLDEPS@
87INTLLIBS = @INTLLIBS@
88INTLOBJS = @INTLOBJS@
252b5132
RH
89LIBTOOL = @LIBTOOL@
90LN_S = @LN_S@
91MAINT = @MAINT@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
a74801ba 95OBJDUMP = @OBJDUMP@
252b5132
RH
96PACKAGE = @PACKAGE@
97POFILES = @POFILES@
98POSUB = @POSUB@
99RANLIB = @RANLIB@
100USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
101USE_NLS = @USE_NLS@
252b5132
RH
102VERSION = @VERSION@
103WIN32LDFLAGS = @WIN32LDFLAGS@
104WIN32LIBADD = @WIN32LIBADD@
105archdefs = @archdefs@
252b5132
RH
106l = @l@
107
41b49281 108
252b5132
RH
109AUTOMAKE_OPTIONS = cygnus
110
111SUBDIRS = po
112
113INCDIR = $(srcdir)/../include
114BFDDIR = $(srcdir)/../bfd
41b49281 115MKDEP = gcc -MM
252b5132
RH
116
117lib_LTLIBRARIES = libopcodes.la
118
119# This is where bfd.h lives.
120BFD_H = ../bfd/bfd.h
121
122# Header files.
123HFILES = \
124 arm-opc.h \
125 fr30-desc.h fr30-opc.h \
126 h8500-opc.h \
127 m32r-desc.h m32r-opc.h \
128 mcore-opc.h \
129 sh-opc.h \
130 sysdep.h \
131 w65-opc.h \
132 z8k-opc.h
133
134
135# C source files that correspond to .o's.
136CFILES = \
137 a29k-dis.c \
138 alpha-dis.c \
139 alpha-opc.c \
71f22174
AS
140 arc-dis.c \
141 arc-opc.c \
252b5132 142 arm-dis.c \
832ddf62 143 avr-dis.c \
252b5132
RH
144 cgen-asm.c \
145 cgen-dis.c \
146 cgen-opc.c \
147 d10v-dis.c \
148 d10v-opc.c \
149 d30v-dis.c \
150 d30v-opc.c \
151 dis-buf.c \
152 disassemble.c \
153 fr30-asm.c \
154 fr30-desc.c \
155 fr30-dis.c \
156 fr30-ibld.c \
157 fr30-opc.c \
158 h8300-dis.c \
159 h8500-dis.c \
160 hppa-dis.c \
5b93d8bb
AM
161 i370-dis.c \
162 i370-opc.c \
252b5132
RH
163 i386-dis.c \
164 i960-dis.c \
165 m32r-asm.c \
166 m32r-desc.c \
167 m32r-dis.c \
168 m32r-ibld.c \
169 m32r-opc.c \
170 m32r-opinst.c \
171 m68k-dis.c \
172 m68k-opc.c \
173 m88k-dis.c \
174 mcore-dis.c \
175 mips-dis.c \
176 mips-opc.c \
177 mips16-opc.c \
178 m10200-dis.c \
179 m10200-opc.c \
180 m10300-dis.c \
181 m10300-opc.c \
182 ns32k-dis.c \
1e608f98
ILT
183 pj-dis.c \
184 pj-opc.c \
252b5132
RH
185 ppc-dis.c \
186 ppc-opc.c \
187 sh-dis.c \
188 sparc-dis.c \
189 sparc-opc.c \
190 tic30-dis.c \
191 tic80-dis.c \
192 tic80-opc.c \
71f22174
AS
193 v850-dis.c \
194 v850-opc.c \
252b5132
RH
195 vax-dis.c \
196 w65-dis.c \
197 z8k-dis.c \
198 z8kgen.c
199
200
201ALL_MACHINES = \
202 a29k-dis.lo \
203 alpha-dis.lo \
204 alpha-opc.lo \
205 arc-dis.lo \
206 arc-opc.lo \
207 arm-dis.lo \
832ddf62 208 avr-dis.lo \
252b5132
RH
209 cgen-asm.lo \
210 cgen-dis.lo \
211 cgen-opc.lo \
212 d10v-dis.lo \
213 d10v-opc.lo \
214 d30v-dis.lo \
215 d30v-opc.lo \
216 fr30-asm.lo \
217 fr30-desc.lo \
218 fr30-dis.lo \
219 fr30-ibld.lo \
220 fr30-opc.lo \
221 h8300-dis.lo \
222 h8500-dis.lo \
223 hppa-dis.lo \
224 i386-dis.lo \
5b93d8bb
AM
225 i370-dis.lo \
226 i370-opc.lo \
252b5132
RH
227 i960-dis.lo \
228 m32r-asm.lo \
229 m32r-desc.lo \
230 m32r-dis.lo \
231 m32r-ibld.lo \
232 m32r-opc.lo \
233 m32r-opinst.lo \
234 m68k-dis.lo \
235 m68k-opc.lo \
236 m88k-dis.lo \
237 m10200-dis.lo \
238 m10200-opc.lo \
239 m10300-dis.lo \
240 m10300-opc.lo \
241 mcore-dis.lo \
242 mips-dis.lo \
243 mips-opc.lo \
244 mips16-opc.lo \
1e608f98
ILT
245 pj-dis.lo \
246 pj-opc.lo \
252b5132
RH
247 ppc-dis.lo \
248 ppc-opc.lo \
249 ns32k-dis.lo \
250 sh-dis.lo \
251 sparc-dis.lo \
252 sparc-opc.lo \
253 tic30-dis.lo \
254 tic80-dis.lo \
255 tic80-opc.lo \
256 v850-dis.lo \
257 v850-opc.lo \
258 vax-dis.lo \
259 w65-dis.lo \
260 z8k-dis.lo
261
262
263OFILES = @BFD_MACHINES@
264
265INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
266
267libopcodes_la_SOURCES = dis-buf.c disassemble.c
268libopcodes_la_DEPENDENCIES = $(OFILES)
269libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
270libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
271
272# libtool will build .libs/libopcodes.a. We create libopcodes.a in
273# the build directory so that we don't have to convert all the
274# programs that use libopcodes.a simultaneously. This is a hack which
275# should be removed if everything else starts using libtool. FIXME.
276
277noinst_LIBRARIES = libopcodes.a
278
279POTFILES = $(HFILES) $(CFILES)
280
281CLEANFILES = \
41b49281 282 libopcodes.a stamp-lib dep.sed DEP DEP1 DEP2
252b5132 283
41b49281 284subdir = .
252b5132
RH
285ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
286mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
287CONFIG_HEADER = config.h
288CONFIG_CLEAN_FILES =
289LIBRARIES = $(noinst_LIBRARIES)
290
291
292DEFS = @DEFS@ -I. -I$(srcdir) -I.
293CPPFLAGS = @CPPFLAGS@
294LDFLAGS = @LDFLAGS@
295LIBS = @LIBS@
41b49281 296libopcodes_a_AR = $(AR) cru
252b5132
RH
297libopcodes_a_LIBADD =
298libopcodes_a_SOURCES = libopcodes.a.c
299libopcodes_a_OBJECTS = libopcodes.a.o
300LTLIBRARIES = $(lib_LTLIBRARIES)
301
41b49281
AM
302am_libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo
303libopcodes_la_OBJECTS = $(am_libopcodes_la_OBJECTS)
252b5132
RH
304COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
305LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
41b49281 306CFLAGS = @CFLAGS@
252b5132 307CCLD = $(CC)
41b49281
AM
308LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
309DIST_SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
310depcomp =
311DIST_COMMON = ../config.guess ../config.sub ../install-sh ../ltconfig \
312../ltmain.sh ../missing ../mkinstalldirs ./stamp-h.in ChangeLog \
313Makefile.am Makefile.in acinclude.m4 aclocal.m4 config.in configure \
314configure.in
252b5132
RH
315
316
41b49281 317DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
252b5132 318
252b5132
RH
319GZIP_ENV = --best
320SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
41b49281 321OBJECTS = libopcodes.a.o $(am_libopcodes_la_OBJECTS)
252b5132
RH
322
323all: all-redirect
324.SUFFIXES:
41b49281 325.SUFFIXES: .c .lo .o
252b5132
RH
326$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
327 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
328
329Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330 cd $(top_builddir) \
331 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
332
333$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
334 cd $(srcdir) && $(ACLOCAL)
335$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
336 cd $(srcdir) && $(AUTOCONF)
337
338config.h: stamp-h
339 @if test ! -f $@; then \
340 rm -f stamp-h; \
341 $(MAKE) stamp-h; \
342 else :; fi
343stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
41b49281
AM
344 @rm -f stamp-h stamp-hT
345 @echo timestamp > stamp-hT 2> /dev/null
252b5132
RH
346 cd $(top_builddir) \
347 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
348 $(SHELL) ./config.status
41b49281
AM
349 @mv stamp-hT stamp-h
350$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
252b5132 351 @if test ! -f $@; then \
41b49281
AM
352 rm -f $(srcdir)/./stamp-h.in; \
353 $(MAKE) $(srcdir)/./stamp-h.in; \
252b5132 354 else :; fi
41b49281
AM
355$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
356 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
357 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
252b5132 358 cd $(top_srcdir) && $(AUTOHEADER)
41b49281 359 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
252b5132
RH
360
361mostlyclean-hdr:
362
363clean-hdr:
364
365distclean-hdr:
366 -rm -f config.h
367
368maintainer-clean-hdr:
369
370mostlyclean-noinstLIBRARIES:
371
372clean-noinstLIBRARIES:
373 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
374
375distclean-noinstLIBRARIES:
376
377maintainer-clean-noinstLIBRARIES:
378
252b5132
RH
379mostlyclean-compile:
380 -rm -f *.o core *.core
381
382clean-compile:
383
384distclean-compile:
385 -rm -f *.tab.c
386
387maintainer-clean-compile:
388
252b5132
RH
389mostlyclean-libtool:
390 -rm -f *.lo
391
392clean-libtool:
393 -rm -rf .libs _libs
394
395distclean-libtool:
396
397maintainer-clean-libtool:
398
399mostlyclean-libLTLIBRARIES:
400
401clean-libLTLIBRARIES:
402 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
403
404distclean-libLTLIBRARIES:
405
406maintainer-clean-libLTLIBRARIES:
407
408install-libLTLIBRARIES: $(lib_LTLIBRARIES)
409 @$(NORMAL_INSTALL)
410 $(mkinstalldirs) $(DESTDIR)$(libdir)
411 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
412 if test -f $$p; then \
41b49281
AM
413 echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
414 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
252b5132
RH
415 else :; fi; \
416 done
417
418uninstall-libLTLIBRARIES:
419 @$(NORMAL_UNINSTALL)
41b49281
AM
420 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
421 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
252b5132
RH
422 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
423 done
424
425libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES)
426 $(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS)
41b49281
AM
427.c.o:
428 $(COMPILE) -c $<
429.c.lo:
430 $(LTCOMPILE) -c -o $@ $<
252b5132
RH
431
432# This directory's subdirectories are mostly independent; you can cd
433# into them and run `make' without going through this Makefile.
434# To change the values of `make' variables: instead of editing Makefiles,
435# (1) if the variable is set in `config.status', edit `config.status'
436# (which will cause the Makefiles to be regenerated when you run `make');
437# (2) otherwise, pass the desired values on the `make' command line.
438
252b5132
RH
439all-recursive install-data-recursive install-exec-recursive \
440installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
441check-recursive installcheck-recursive info-recursive dvi-recursive:
442 @set fnord $(MAKEFLAGS); amf=$$2; \
443 dot_seen=no; \
444 target=`echo $@ | sed s/-recursive//`; \
445 list='$(SUBDIRS)'; for subdir in $$list; do \
446 echo "Making $$target in $$subdir"; \
447 if test "$$subdir" = "."; then \
448 dot_seen=yes; \
449 local_target="$$target-am"; \
450 else \
451 local_target="$$target"; \
452 fi; \
453 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
454 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
455 done; \
456 if test "$$dot_seen" = "no"; then \
457 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
458 fi; test -z "$$fail"
459
460mostlyclean-recursive clean-recursive distclean-recursive \
461maintainer-clean-recursive:
462 @set fnord $(MAKEFLAGS); amf=$$2; \
463 dot_seen=no; \
464 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
465 rev="$$subdir $$rev"; \
41b49281 466 if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
252b5132
RH
467 done; \
468 test "$$dot_seen" = "no" && rev=". $$rev"; \
469 target=`echo $@ | sed s/-recursive//`; \
470 for subdir in $$rev; do \
471 echo "Making $$target in $$subdir"; \
472 if test "$$subdir" = "."; then \
473 local_target="$$target-am"; \
474 else \
475 local_target="$$target"; \
476 fi; \
477 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
478 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
479 done && test -z "$$fail"
480tags-recursive:
481 list='$(SUBDIRS)'; for subdir in $$list; do \
482 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
483 done
484
485tags: TAGS
486
41b49281
AM
487ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
488 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
489 unique=`for i in $$list; do \
490 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
491 done | \
492 $(AWK) ' { files[$$0] = 1; } \
252b5132 493 END { for (i in files) print i; }'`; \
41b49281 494 mkid -fID $$unique $(LISP)
252b5132 495
41b49281
AM
496TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
497 $(TAGS_FILES) $(LISP)
252b5132
RH
498 tags=; \
499 here=`pwd`; \
500 list='$(SUBDIRS)'; for subdir in $$list; do \
501 if test "$$subdir" = .; then :; else \
502 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
503 fi; \
504 done; \
41b49281
AM
505 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
506 unique=`for i in $$list; do \
507 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
508 done | \
509 $(AWK) ' { files[$$0] = 1; } \
252b5132
RH
510 END { for (i in files) print i; }'`; \
511 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
41b49281 512 || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
252b5132
RH
513
514mostlyclean-tags:
515
516clean-tags:
517
518distclean-tags:
519 -rm -f TAGS ID
520
521maintainer-clean-tags:
522
523distdir = $(PACKAGE)-$(VERSION)
524top_distdir = $(distdir)
525
41b49281 526
252b5132
RH
527# This target untars the dist file and tries a VPATH configuration. Then
528# it guarantees that the distribution is self-contained by making another
529# tarfile.
530distcheck: dist
41b49281
AM
531 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
532 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
533 chmod -R a-w $(distdir); chmod a+w $(distdir)
252b5132
RH
534 mkdir $(distdir)/=build
535 mkdir $(distdir)/=inst
41b49281
AM
536 chmod a-w $(distdir)
537 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
538 && cd $(distdir)/=build \
252b5132
RH
539 && ../configure --srcdir=.. --prefix=$$dc_install_base \
540 && $(MAKE) $(AM_MAKEFLAGS) \
541 && $(MAKE) $(AM_MAKEFLAGS) dvi \
542 && $(MAKE) $(AM_MAKEFLAGS) check \
543 && $(MAKE) $(AM_MAKEFLAGS) install \
544 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
41b49281
AM
545 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
546 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
547 && $(MAKE) $(AM_MAKEFLAGS) dist \
548 && $(MAKE) $(AM_MAKEFLAGS) distclean \
549 && rm -f $(distdir).tar.gz \
550 && test `find . -type f -print | wc -l` -eq 0
551 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
252b5132
RH
552 @banner="$(distdir).tar.gz is ready for distribution"; \
553 dashes=`echo "$$banner" | sed s/./=/g`; \
554 echo "$$dashes"; \
555 echo "$$banner"; \
556 echo "$$dashes"
557dist: distdir
41b49281
AM
558 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
559 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
560 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
561 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
562 || chmod -R a+r $(distdir)
563 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
564 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
252b5132 565dist-all: distdir
41b49281
AM
566 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
567 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
568 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
569 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
570 || chmod -R a+r $(distdir)
571 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
572 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
252b5132 573distdir: $(DISTFILES)
41b49281 574 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
252b5132 575 mkdir $(distdir)
41b49281 576 $(mkinstalldirs) $(distdir)/..
252b5132
RH
577 @for file in $(DISTFILES); do \
578 if test -f $$file; then d=.; else d=$(srcdir); fi; \
579 if test -d $$d/$$file; then \
41b49281
AM
580 cp -pR $$d/$$file $(distdir) \
581 || exit 1; \
252b5132
RH
582 else \
583 test -f $(distdir)/$$file \
41b49281
AM
584 || cp -p $$d/$$file $(distdir)/$$file \
585 || exit 1; \
252b5132
RH
586 fi; \
587 done
588 for subdir in $(SUBDIRS); do \
589 if test "$$subdir" = .; then :; else \
590 test -d $(distdir)/$$subdir \
591 || mkdir $(distdir)/$$subdir \
592 || exit 1; \
252b5132
RH
593 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
594 || exit 1; \
595 fi; \
596 done
597info-am:
598info: info-recursive
599dvi-am:
600dvi: dvi-recursive
601check-am:
602check: check-recursive
603installcheck-am:
604installcheck: installcheck-recursive
605install-info-am:
606install-info: install-info-recursive
607all-recursive-am: config.h
608 $(MAKE) $(AM_MAKEFLAGS) all-recursive
609
610install-exec-am: install-libLTLIBRARIES
611install-exec: install-exec-recursive
612
613install-data-am:
614install-data: install-data-recursive
615
616install-am: all-am
617 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
618install: install-recursive
619uninstall-am: uninstall-libLTLIBRARIES
620uninstall: uninstall-recursive
621all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
622all-redirect: all-recursive-am
623install-strip:
41b49281 624 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
252b5132
RH
625installdirs: installdirs-recursive
626installdirs-am:
627 $(mkinstalldirs) $(DESTDIR)$(libdir)
628
629
630mostlyclean-generic:
631
632clean-generic:
633 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
634
635distclean-generic:
636 -rm -f Makefile $(CONFIG_CLEAN_FILES)
637 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
638
639maintainer-clean-generic:
41b49281 640 -rm -f Makefile.in
252b5132
RH
641mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
642 mostlyclean-compile mostlyclean-libtool \
643 mostlyclean-libLTLIBRARIES mostlyclean-tags \
644 mostlyclean-generic
645
646mostlyclean: mostlyclean-recursive
647
648clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \
649 clean-libLTLIBRARIES clean-tags clean-generic \
650 mostlyclean-am
651
652clean: clean-recursive
653
654distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
655 distclean-libtool distclean-libLTLIBRARIES \
656 distclean-tags distclean-generic clean-am
657 -rm -f libtool
658
659distclean: distclean-recursive
660 -rm -f config.status
661
662maintainer-clean-am: maintainer-clean-hdr \
663 maintainer-clean-noinstLIBRARIES \
664 maintainer-clean-compile maintainer-clean-libtool \
665 maintainer-clean-libLTLIBRARIES maintainer-clean-tags \
666 maintainer-clean-generic distclean-am
667 @echo "This command is intended for maintainers to use;"
668 @echo "it deletes files that may require special tools to rebuild."
669
670maintainer-clean: maintainer-clean-recursive
671 -rm -f config.status
672
673.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
674mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
675clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
676mostlyclean-compile distclean-compile clean-compile \
677maintainer-clean-compile mostlyclean-libtool distclean-libtool \
678clean-libtool maintainer-clean-libtool mostlyclean-libLTLIBRARIES \
679distclean-libLTLIBRARIES clean-libLTLIBRARIES \
680maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \
41b49281
AM
681install-libLTLIBRARIES install-recursive uninstall-recursive \
682install-data-recursive uninstall-data-recursive install-exec-recursive \
683uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
684all-recursive check-recursive installcheck-recursive info-recursive \
685dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
252b5132
RH
686maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
687distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
688dvi-am dvi check check-am installcheck-am installcheck install-info-am \
689install-info all-recursive-am install-exec-am install-exec \
690install-data-am install-data install-am install uninstall-am uninstall \
41b49281
AM
691all-redirect all-am all install-strip installdirs-am installdirs \
692mostlyclean-generic distclean-generic clean-generic \
693maintainer-clean-generic clean mostlyclean distclean maintainer-clean
252b5132
RH
694
695
696disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
697 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
698
699stamp-lib: libopcodes.la
e56f75e9
ILT
700 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
701 if [ -f $$libtooldir/libopcodes.a ]; then \
702 cp $$libtooldir/libopcodes.a libopcodes.tmp; \
252b5132
RH
703 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
704 else true; fi
705 touch stamp-lib
706
707libopcodes.a: stamp-lib ; @true
708po/POTFILES.in: @MAINT@ Makefile
709 for file in $(POTFILES); do echo $$file; done | sort > tmp \
710 && mv tmp $(srcdir)/po/POTFILES.in
711
712# We should reconfigure whenever bfd/configure.in changes, because
713# that's where the version number comes from.
714config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
715 $(SHELL) ./config.status --recheck
716
6094e721 717# The start marker is written this way to pass through automake unscathed.
252b5132
RH
718
719# This dependency stuff is copied from BFD.
720
73c418f4
ILT
721DEP: dep.sed $(CFILES) $(HFILES) config.h
722 rm -f DEP1
41b49281
AM
723 $(MAKE) MKDEP="$(MKDEP)" DEP1
724 sed -f dep.sed < DEP1 > $@
725 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
252b5132 726
73c418f4 727DEP1: $(CFILES)
73c418f4 728 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
41b49281
AM
729 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
730 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
731 mv -f DEP2 $@
252b5132
RH
732
733dep.sed: dep-in.sed config.status
734 sed <$(srcdir)/dep-in.sed >dep.sed \
735 -e 's!@BFD_H@!$(BFD_H)!' \
736 -e 's!@INCDIR@!$(INCDIR)!' \
737 -e 's!@BFDDIR@!$(BFDDIR)!' \
738 -e 's!@SRCDIR@!$(srcdir)!'
739
73c418f4 740dep: DEP
252b5132 741 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
73c418f4 742 cat DEP >> tmp-Makefile
252b5132
RH
743 $(srcdir)/../move-if-change tmp-Makefile Makefile
744
73c418f4 745dep-in: DEP
252b5132 746 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
73c418f4 747 cat DEP >> tmp-Makefile.in
252b5132
RH
748 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
749
73c418f4 750dep-am: DEP
252b5132 751 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
73c418f4 752 cat DEP >> tmp-Makefile.am
252b5132
RH
753 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
754
755.PHONY: dep dep-in dep-am
756
757# What appears below is generated by a hacked mkdep using gcc -MM.
758
759# DO NOT DELETE THIS LINE -- mkdep uses it.
760# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
761a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
762 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
763alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
764 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
765alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
766 $(BFD_H) opintl.h
6094e721
ILT
767arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
768 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
252b5132 769 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
6094e721
ILT
770 $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
771 opintl.h
772arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \
773 opintl.h
41b49281
AM
774arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
775 $(BFD_H) arm-opc.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
776 $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
777 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/arm.h \
778 $(INCDIR)/elf/reloc-macros.h
779avr-dis.lo: avr-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
780 $(INCDIR)/ansidecl.h opintl.h
252b5132
RH
781cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
782 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
783 opintl.h
784cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
785 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
786cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
787 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
788d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
789 $(INCDIR)/dis-asm.h $(BFD_H)
790d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
791d30v-dis.lo: d30v-dis.c $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h \
792 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
793d30v-opc.lo: d30v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d30v.h
794dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
795 $(BFD_H) opintl.h
796disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
797 $(INCDIR)/dis-asm.h $(BFD_H)
798fr30-asm.lo: fr30-asm.c sysdep.h config.h $(BFD_H) \
799 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
800 fr30-opc.h opintl.h
801fr30-desc.lo: fr30-desc.c sysdep.h config.h $(BFD_H) \
802 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
803 fr30-opc.h opintl.h
804fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
805 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
806 fr30-opc.h opintl.h
807fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
808 $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
809 fr30-opc.h opintl.h
810fr30-opc.lo: fr30-opc.c sysdep.h config.h $(BFD_H) \
811 $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
812 fr30-opc.h
813h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
814 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
815h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
816 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
817hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
818 $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
41b49281
AM
819i370-dis.lo: i370-dis.c $(INCDIR)/ansidecl.h sysdep.h \
820 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/i370.h
821i370-opc.lo: i370-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/i370.h
252b5132
RH
822i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
823 $(INCDIR)/ansidecl.h sysdep.h config.h opintl.h
824i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
825 $(INCDIR)/ansidecl.h
826m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
827 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
828 m32r-opc.h opintl.h
829m32r-desc.lo: m32r-desc.c sysdep.h config.h $(BFD_H) \
830 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
831 m32r-opc.h opintl.h
832m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
833 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
834 m32r-opc.h opintl.h
835m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
836 $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
837 m32r-opc.h opintl.h
838m32r-opc.lo: m32r-opc.c sysdep.h config.h $(BFD_H) \
839 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
840 m32r-opc.h
841m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(BFD_H) \
842 $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
843 m32r-opc.h
844m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
845 $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h opintl.h \
846 $(INCDIR)/opcode/m68k.h
847m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
848m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
849 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h opintl.h
850mcore-dis.lo: mcore-dis.c mcore-opc.h $(INCDIR)/ansidecl.h \
851 $(INCDIR)/dis-asm.h $(BFD_H)
852mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
853 $(BFD_H) $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
854 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
855 $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
856mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
857mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
858m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
859 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
860m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
861m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
862 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
863m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
864ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
865 sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h \
866 opintl.h
1e608f98
ILT
867pj-dis.lo: pj-dis.c $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h \
868 $(BFD_H) $(INCDIR)/ansidecl.h
869pj-opc.lo: pj-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/pj.h
252b5132
RH
870ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
871 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
872ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h \
873 opintl.h
874sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
875 $(INCDIR)/ansidecl.h
876sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
877 config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
878 $(BFD_H) $(INCDIR)/libiberty.h opintl.h
879sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
6094e721
ILT
880tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
881 $(BFD_H) $(INCDIR)/opcode/tic30.h
252b5132
RH
882tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \
883 $(INCDIR)/dis-asm.h $(BFD_H)
884tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h
6094e721
ILT
885v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
886 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
887v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
888 opintl.h
252b5132
RH
889vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \
890 $(BFD_H) $(INCDIR)/ansidecl.h
891w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
892 $(BFD_H) $(INCDIR)/ansidecl.h
893z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
894 $(BFD_H) z8k-opc.h
895z8kgen.lo: z8kgen.c sysdep.h config.h
896# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
897
898# Tell versions [3.59,3.63) of GNU make to not export all variables.
899# Otherwise a system limit (for SysV at least) may be exceeded.
900.NOEXPORT: