Use "gcc -MM" for dependencies, and update them.
[binutils-gdb.git] / opcodes / Makefile.in
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
2
3 # Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
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
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 INSTALL_STRIP_FLAG =
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60
61 @SET_MAKE@
62 build_alias = @build_alias@
63 build_triplet = @build@
64 host_alias = @host_alias@
65 host_triplet = @host@
66 target_alias = @target_alias@
67 target_triplet = @target@
68 AR = @AR@
69 AS = @AS@
70 BFD_MACHINES = @BFD_MACHINES@
71 CATALOGS = @CATALOGS@
72 CATOBJEXT = @CATOBJEXT@
73 CC = @CC@
74 CC_FOR_BUILD = @CC_FOR_BUILD@
75 DATADIRNAME = @DATADIRNAME@
76 DLLTOOL = @DLLTOOL@
77 EXEEXT = @EXEEXT@
78 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
79 GMOFILES = @GMOFILES@
80 GMSGFMT = @GMSGFMT@
81 GT_NO = @GT_NO@
82 GT_YES = @GT_YES@
83 HDEFINES = @HDEFINES@
84 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
85 INSTOBJEXT = @INSTOBJEXT@
86 INTLDEPS = @INTLDEPS@
87 INTLLIBS = @INTLLIBS@
88 INTLOBJS = @INTLOBJS@
89 LIBTOOL = @LIBTOOL@
90 LN_S = @LN_S@
91 MAINT = @MAINT@
92 MAKEINFO = @MAKEINFO@
93 MKINSTALLDIRS = @MKINSTALLDIRS@
94 MSGFMT = @MSGFMT@
95 OBJDUMP = @OBJDUMP@
96 PACKAGE = @PACKAGE@
97 POFILES = @POFILES@
98 POSUB = @POSUB@
99 RANLIB = @RANLIB@
100 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
101 USE_NLS = @USE_NLS@
102 VERSION = @VERSION@
103 WIN32LDFLAGS = @WIN32LDFLAGS@
104 WIN32LIBADD = @WIN32LIBADD@
105 archdefs = @archdefs@
106 l = @l@
107
108
109 AUTOMAKE_OPTIONS = cygnus
110
111 SUBDIRS = po
112
113 INCDIR = $(srcdir)/../include
114 BFDDIR = $(srcdir)/../bfd
115 MKDEP = gcc -MM
116
117 lib_LTLIBRARIES = libopcodes.la
118
119 # This is where bfd.h lives.
120 BFD_H = ../bfd/bfd.h
121
122 # Header files.
123 HFILES = \
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.
136 CFILES = \
137 a29k-dis.c \
138 alpha-dis.c \
139 alpha-opc.c \
140 arc-dis.c \
141 arc-opc.c \
142 arm-dis.c \
143 avr-dis.c \
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 \
161 i370-dis.c \
162 i370-opc.c \
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 \
183 pj-dis.c \
184 pj-opc.c \
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 \
193 v850-dis.c \
194 v850-opc.c \
195 vax-dis.c \
196 w65-dis.c \
197 z8k-dis.c \
198 z8kgen.c
199
200
201 ALL_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 \
208 avr-dis.lo \
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 \
225 i370-dis.lo \
226 i370-opc.lo \
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 \
245 pj-dis.lo \
246 pj-opc.lo \
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
263 OFILES = @BFD_MACHINES@
264
265 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
266
267 libopcodes_la_SOURCES = dis-buf.c disassemble.c
268 libopcodes_la_DEPENDENCIES = $(OFILES)
269 libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
270 libopcodes_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
277 noinst_LIBRARIES = libopcodes.a
278
279 POTFILES = $(HFILES) $(CFILES)
280
281 CLEANFILES = \
282 libopcodes.a stamp-lib dep.sed DEP DEP1 DEP2
283
284 subdir = .
285 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
286 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
287 CONFIG_HEADER = config.h
288 CONFIG_CLEAN_FILES =
289 LIBRARIES = $(noinst_LIBRARIES)
290
291
292 DEFS = @DEFS@ -I. -I$(srcdir) -I.
293 CPPFLAGS = @CPPFLAGS@
294 LDFLAGS = @LDFLAGS@
295 LIBS = @LIBS@
296 libopcodes_a_AR = $(AR) cru
297 libopcodes_a_LIBADD =
298 libopcodes_a_SOURCES = libopcodes.a.c
299 libopcodes_a_OBJECTS = libopcodes.a.o
300 LTLIBRARIES = $(lib_LTLIBRARIES)
301
302 am_libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo
303 libopcodes_la_OBJECTS = $(am_libopcodes_la_OBJECTS)
304 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
305 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
306 CFLAGS = @CFLAGS@
307 CCLD = $(CC)
308 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
309 DIST_SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
310 depcomp =
311 DIST_COMMON = ../config.guess ../config.sub ../install-sh ../ltconfig \
312 ../ltmain.sh ../missing ../mkinstalldirs ./stamp-h.in ChangeLog \
313 Makefile.am Makefile.in acinclude.m4 aclocal.m4 config.in configure \
314 configure.in
315
316
317 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
318
319 GZIP_ENV = --best
320 SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
321 OBJECTS = libopcodes.a.o $(am_libopcodes_la_OBJECTS)
322
323 all: all-redirect
324 .SUFFIXES:
325 .SUFFIXES: .c .lo .o
326 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
327 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
328
329 Makefile: $(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
338 config.h: stamp-h
339 @if test ! -f $@; then \
340 rm -f stamp-h; \
341 $(MAKE) stamp-h; \
342 else :; fi
343 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
344 @rm -f stamp-h stamp-hT
345 @echo timestamp > stamp-hT 2> /dev/null
346 cd $(top_builddir) \
347 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
348 $(SHELL) ./config.status
349 @mv stamp-hT stamp-h
350 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
351 @if test ! -f $@; then \
352 rm -f $(srcdir)/./stamp-h.in; \
353 $(MAKE) $(srcdir)/./stamp-h.in; \
354 else :; fi
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
358 cd $(top_srcdir) && $(AUTOHEADER)
359 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
360
361 mostlyclean-hdr:
362
363 clean-hdr:
364
365 distclean-hdr:
366 -rm -f config.h
367
368 maintainer-clean-hdr:
369
370 mostlyclean-noinstLIBRARIES:
371
372 clean-noinstLIBRARIES:
373 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
374
375 distclean-noinstLIBRARIES:
376
377 maintainer-clean-noinstLIBRARIES:
378
379 mostlyclean-compile:
380 -rm -f *.o core *.core
381
382 clean-compile:
383
384 distclean-compile:
385 -rm -f *.tab.c
386
387 maintainer-clean-compile:
388
389 mostlyclean-libtool:
390 -rm -f *.lo
391
392 clean-libtool:
393 -rm -rf .libs _libs
394
395 distclean-libtool:
396
397 maintainer-clean-libtool:
398
399 mostlyclean-libLTLIBRARIES:
400
401 clean-libLTLIBRARIES:
402 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
403
404 distclean-libLTLIBRARIES:
405
406 maintainer-clean-libLTLIBRARIES:
407
408 install-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 \
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; \
415 else :; fi; \
416 done
417
418 uninstall-libLTLIBRARIES:
419 @$(NORMAL_UNINSTALL)
420 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
421 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
422 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
423 done
424
425 libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES)
426 $(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS)
427 .c.o:
428 $(COMPILE) -c $<
429 .c.lo:
430 $(LTCOMPILE) -c -o $@ $<
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
439 all-recursive install-data-recursive install-exec-recursive \
440 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
441 check-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
460 mostlyclean-recursive clean-recursive distclean-recursive \
461 maintainer-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"; \
466 if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
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"
480 tags-recursive:
481 list='$(SUBDIRS)'; for subdir in $$list; do \
482 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
483 done
484
485 tags: TAGS
486
487 ID: $(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; } \
493 END { for (i in files) print i; }'`; \
494 mkid -fID $$unique $(LISP)
495
496 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
497 $(TAGS_FILES) $(LISP)
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; \
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; } \
510 END { for (i in files) print i; }'`; \
511 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
512 || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
513
514 mostlyclean-tags:
515
516 clean-tags:
517
518 distclean-tags:
519 -rm -f TAGS ID
520
521 maintainer-clean-tags:
522
523 distdir = $(PACKAGE)-$(VERSION)
524 top_distdir = $(distdir)
525
526
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.
530 distcheck: dist
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)
534 mkdir $(distdir)/=build
535 mkdir $(distdir)/=inst
536 chmod a-w $(distdir)
537 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
538 && cd $(distdir)/=build \
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 \
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)
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"
557 dist: distdir
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)
565 dist-all: distdir
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)
573 distdir: $(DISTFILES)
574 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
575 mkdir $(distdir)
576 $(mkinstalldirs) $(distdir)/..
577 @for file in $(DISTFILES); do \
578 if test -f $$file; then d=.; else d=$(srcdir); fi; \
579 if test -d $$d/$$file; then \
580 cp -pR $$d/$$file $(distdir) \
581 || exit 1; \
582 else \
583 test -f $(distdir)/$$file \
584 || cp -p $$d/$$file $(distdir)/$$file \
585 || exit 1; \
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; \
593 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
594 || exit 1; \
595 fi; \
596 done
597 info-am:
598 info: info-recursive
599 dvi-am:
600 dvi: dvi-recursive
601 check-am:
602 check: check-recursive
603 installcheck-am:
604 installcheck: installcheck-recursive
605 install-info-am:
606 install-info: install-info-recursive
607 all-recursive-am: config.h
608 $(MAKE) $(AM_MAKEFLAGS) all-recursive
609
610 install-exec-am: install-libLTLIBRARIES
611 install-exec: install-exec-recursive
612
613 install-data-am:
614 install-data: install-data-recursive
615
616 install-am: all-am
617 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
618 install: install-recursive
619 uninstall-am: uninstall-libLTLIBRARIES
620 uninstall: uninstall-recursive
621 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
622 all-redirect: all-recursive-am
623 install-strip:
624 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
625 installdirs: installdirs-recursive
626 installdirs-am:
627 $(mkinstalldirs) $(DESTDIR)$(libdir)
628
629
630 mostlyclean-generic:
631
632 clean-generic:
633 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
634
635 distclean-generic:
636 -rm -f Makefile $(CONFIG_CLEAN_FILES)
637 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
638
639 maintainer-clean-generic:
640 -rm -f Makefile.in
641 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
642 mostlyclean-compile mostlyclean-libtool \
643 mostlyclean-libLTLIBRARIES mostlyclean-tags \
644 mostlyclean-generic
645
646 mostlyclean: mostlyclean-recursive
647
648 clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \
649 clean-libLTLIBRARIES clean-tags clean-generic \
650 mostlyclean-am
651
652 clean: clean-recursive
653
654 distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
655 distclean-libtool distclean-libLTLIBRARIES \
656 distclean-tags distclean-generic clean-am
657 -rm -f libtool
658
659 distclean: distclean-recursive
660 -rm -f config.status
661
662 maintainer-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
670 maintainer-clean: maintainer-clean-recursive
671 -rm -f config.status
672
673 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
674 mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
675 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
676 mostlyclean-compile distclean-compile clean-compile \
677 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
678 clean-libtool maintainer-clean-libtool mostlyclean-libLTLIBRARIES \
679 distclean-libLTLIBRARIES clean-libLTLIBRARIES \
680 maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \
681 install-libLTLIBRARIES install-recursive uninstall-recursive \
682 install-data-recursive uninstall-data-recursive install-exec-recursive \
683 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
684 all-recursive check-recursive installcheck-recursive info-recursive \
685 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
686 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
687 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
688 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
689 install-info all-recursive-am install-exec-am install-exec \
690 install-data-am install-data install-am install uninstall-am uninstall \
691 all-redirect all-am all install-strip installdirs-am installdirs \
692 mostlyclean-generic distclean-generic clean-generic \
693 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
694
695
696 disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
697 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
698
699 stamp-lib: libopcodes.la
700 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
701 if [ -f $$libtooldir/libopcodes.a ]; then \
702 cp $$libtooldir/libopcodes.a libopcodes.tmp; \
703 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
704 else true; fi
705 touch stamp-lib
706
707 libopcodes.a: stamp-lib ; @true
708 po/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.
714 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
715 $(SHELL) ./config.status --recheck
716
717 # The start marker is written this way to pass through automake unscathed.
718
719 # This dependency stuff is copied from BFD.
720
721 DEP: dep.sed $(CFILES) $(HFILES) config.h
722 rm -f DEP1
723 $(MAKE) MKDEP="$(MKDEP)" DEP1
724 sed -f dep.sed < DEP1 > $@
725 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
726
727 DEP1: $(CFILES)
728 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
729 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
730 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
731 mv -f DEP2 $@
732
733 dep.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
740 dep: DEP
741 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
742 cat DEP >> tmp-Makefile
743 $(srcdir)/../move-if-change tmp-Makefile Makefile
744
745 dep-in: DEP
746 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
747 cat DEP >> tmp-Makefile.in
748 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
749
750 dep-am: DEP
751 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
752 cat DEP >> tmp-Makefile.am
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.
761 a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
762 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
763 alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
764 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
765 alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
766 $(BFD_H) opintl.h
767 arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
768 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
769 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
770 $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
771 opintl.h
772 arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \
773 opintl.h
774 arm-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
779 avr-dis.lo: avr-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
780 $(INCDIR)/ansidecl.h opintl.h
781 cgen-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
784 cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
785 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
786 cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
787 $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
788 d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
789 $(INCDIR)/dis-asm.h $(BFD_H)
790 d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
791 d30v-dis.lo: d30v-dis.c $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h \
792 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
793 d30v-opc.lo: d30v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d30v.h
794 dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
795 $(BFD_H) opintl.h
796 disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
797 $(INCDIR)/dis-asm.h $(BFD_H)
798 fr30-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
801 fr30-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
804 fr30-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
807 fr30-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
810 fr30-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
813 h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
814 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
815 h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
816 $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
817 hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
818 $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
819 i370-dis.lo: i370-dis.c $(INCDIR)/ansidecl.h sysdep.h \
820 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/i370.h
821 i370-opc.lo: i370-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/i370.h
822 i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
823 $(INCDIR)/ansidecl.h sysdep.h config.h opintl.h
824 i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
825 $(INCDIR)/ansidecl.h
826 m32r-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
829 m32r-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
832 m32r-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
835 m32r-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
838 m32r-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
841 m32r-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
844 m68k-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
847 m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
848 m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
849 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h opintl.h
850 mcore-dis.lo: mcore-dis.c mcore-opc.h $(INCDIR)/ansidecl.h \
851 $(INCDIR)/dis-asm.h $(BFD_H)
852 mips-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
856 mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
857 mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
858 m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
859 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
860 m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
861 m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
862 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
863 m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
864 ns32k-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
867 pj-dis.lo: pj-dis.c $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h \
868 $(BFD_H) $(INCDIR)/ansidecl.h
869 pj-opc.lo: pj-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/pj.h
870 ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
871 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
872 ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h \
873 opintl.h
874 sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
875 $(INCDIR)/ansidecl.h
876 sparc-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
879 sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
880 tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
881 $(BFD_H) $(INCDIR)/opcode/tic30.h
882 tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \
883 $(INCDIR)/dis-asm.h $(BFD_H)
884 tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h
885 v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
886 $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
887 v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
888 opintl.h
889 vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \
890 $(BFD_H) $(INCDIR)/ansidecl.h
891 w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
892 $(BFD_H) $(INCDIR)/ansidecl.h
893 z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
894 $(BFD_H) z8k-opc.h
895 z8kgen.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: