Internationalised the opcodes library.
[deliverable/binutils-gdb.git] / opcodes / Makefile.in
CommitLineData
072aa625 1# Makefile.in generated automatically by automake 1.3 from Makefile.am
add1fb05 2
25161728 3# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
3b1e6264 4# This Makefile.in is free software; the Free Software Foundation
25161728
ILT
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.
add1fb05 12
add1fb05 13
3b1e6264
ILT
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
40db6118 20exec_prefix = @exec_prefix@
add1fb05 21
3b1e6264
ILT
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
42b4add9 25datadir = @datadir@
3b1e6264
ILT
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
42b4add9 30infodir = @infodir@
3b1e6264 31mandir = @mandir@
42b4add9 32includedir = @includedir@
3b1e6264
ILT
33oldincludedir = /usr/include
34
072aa625
NC
35DISTDIR =
36
3b1e6264
ILT
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
add1fb05 40
3b1e6264
ILT
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
add1fb05 47
40db6118
ILT
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@
50INSTALL_DATA = @INSTALL_DATA@
3b1e6264
ILT
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
25161728
ILT
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
3b1e6264
ILT
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
40db6118 66AR = @AR@
3b1e6264 67BFD_MACHINES = @BFD_MACHINES@
40db6118 68CC = @CC@
072aa625 69CC_FOR_BUILD = @CC_FOR_BUILD@
3b1e6264 70EXEEXT = @EXEEXT@
072aa625 71EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
3b1e6264 72HDEFINES = @HDEFINES@
3b1e6264 73LIBTOOL = @LIBTOOL@
40db6118 74RANLIB = @RANLIB@
072aa625
NC
75WIN32LDFLAGS = @WIN32LDFLAGS@
76WIN32LIBADD = @WIN32LIBADD@
3b1e6264 77archdefs = @archdefs@
6d76c71f 78
25161728
ILT
79AUTOMAKE_OPTIONS = cygnus
80
072aa625
NC
81SUBDIRS = po
82
fde326fb 83INCDIR = $(srcdir)/../include
c840244e 84BFDDIR = $(srcdir)/../bfd
add1fb05
SC
85DEP = mkdep
86
3b1e6264 87lib_LTLIBRARIES = libopcodes.la
add1fb05 88
f76db60b
ILT
89# This is where bfd.h lives.
90BFD_H = ../bfd/bfd.h
91
92# Header files.
93HFILES = \
94 arm-opc.h \
95 h8500-opc.h \
96 sh-opc.h \
97 sysdep.h \
98 w65-opc.h \
99 z8k-opc.h
a4c01299 100
f76db60b
ILT
101# C source files that correspond to .o's.
102CFILES = \
103 a29k-dis.c \
104 alpha-dis.c \
105 alpha-opc.c \
106 arm-dis.c \
9c03036a
DE
107 cgen-asm.c \
108 cgen-dis.c \
109 cgen-opc.c \
f76db60b
ILT
110 d10v-dis.c \
111 d10v-opc.c \
112 dis-buf.c \
113 disassemble.c \
114 h8300-dis.c \
115 h8500-dis.c \
116 hppa-dis.c \
117 i386-dis.c \
118 i960-dis.c \
9c03036a
DE
119 m32r-asm.c \
120 m32r-dis.c \
121 m32r-opc.c \
f76db60b
ILT
122 m68k-dis.c \
123 m68k-opc.c \
124 m88k-dis.c \
125 mips-dis.c \
126 mips-opc.c \
127 mips16-opc.c \
bb6dafe9
ILT
128 m10200-dis.c \
129 m10200-opc.c \
130 m10300-dis.c \
131 m10300-opc.c \
f76db60b
ILT
132 ns32k-dis.c \
133 ppc-dis.c \
134 ppc-opc.c \
135 sh-dis.c \
136 sparc-dis.c \
137 sparc-opc.c \
ab0bd049 138 tic30-dis.c \
f76db60b
ILT
139 w65-dis.c \
140 z8k-dis.c \
141 z8kgen.c
142
143ALL_MACHINES = \
3b1e6264
ILT
144 a29k-dis.lo \
145 alpha-dis.lo \
146 alpha-opc.lo \
147 arc-dis.lo \
148 arc-opc.lo \
149 arm-dis.lo \
150 cgen-asm.lo \
151 cgen-dis.lo \
152 cgen-opc.lo \
153 d10v-dis.lo \
154 d10v-opc.lo \
b2e3f844 155 $(start-sanitize-d30v) \
3b1e6264
ILT
156 d30v-dis.lo \
157 d30v-opc.lo \
b2e3f844 158 $(end-sanitize-d30v) \
3b1e6264
ILT
159 h8300-dis.lo \
160 h8500-dis.lo \
161 hppa-dis.lo \
162 i386-dis.lo \
163 i960-dis.lo \
164 m32r-asm.lo \
165 m32r-dis.lo \
166 m32r-opc.lo \
167 m68k-dis.lo \
168 m68k-opc.lo \
169 m88k-dis.lo \
170 m10200-dis.lo \
171 m10200-opc.lo \
172 m10300-dis.lo \
173 m10300-opc.lo \
174 mips-dis.lo \
175 mips-opc.lo \
176 mips16-opc.lo \
177 ppc-dis.lo \
178 ppc-opc.lo \
179 ns32k-dis.lo \
180 sh-dis.lo \
181 sparc-dis.lo \
182 sparc-opc.lo \
ab0bd049 183 tic30-dis.lo \
a79d0193 184 $(start-sanitize-tic80) \
3b1e6264
ILT
185 tic80-dis.lo \
186 tic80-opc.lo \
a79d0193 187 $(end-sanitize-tic80) \
54cc8ed4 188 $(start-sanitize-sky) \
37130f11
DE
189 dvp-dis.lo \
190 dvp-opc.lo \
54cc8ed4 191 $(end-sanitize-sky) \
3b1e6264
ILT
192 v850-dis.lo \
193 v850-opc.lo \
194 w65-dis.lo \
195 z8k-dis.lo
196
197OFILES = @BFD_MACHINES@
198
072aa625 199INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
3b1e6264
ILT
200
201libopcodes_la_SOURCES = dis-buf.c disassemble.c
202libopcodes_la_DEPENDENCIES = $(OFILES)
072aa625
NC
203libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
204libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
3b1e6264
ILT
205
206# libtool will build .libs/libopcodes.a. We create libopcodes.a in
207# the build directory so that we don't have to convert all the
208# programs that use libopcodes.a simultaneously. This is a hack which
209# should be removed if everything else starts using libtool. FIXME.
210
211noinst_LIBRARIES = libopcodes.a
212
072aa625
NC
213POTFILES = $(BFD_H) $(HFILES) $(CFILES)
214
3b1e6264 215CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1
bfc10abe
DE
216# start-sanitize-cygnus
217CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r
218# end-sanitize-cygnus
219
220# start-sanitize-cygnus
221# CGEN support is sanitized out of FSF releases for now.
222# Sanitization must be split between assignments and rules because
223# automake splits them that way.
224
225SCHEME = @SCHEME@
226SCHEMEFLAGS = -s
227CGENDIR = $(srcdir)/../cgen
228CGENFLAGS = -v
229
230CGENFILES = $(CGENDIR)/object.scm $(CGENDIR)/utils.scm \
ffee80df 231 $(CGENDIR)/attr.scm $(CGENDIR)/enum.scm $(CGENDIR)/types.scm \
bfc10abe
DE
232 $(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.scm \
233 $(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \
ffee80df 234 $(CGENDIR)/model.scm $(CGENDIR)/hardware.scm \
bfc10abe
DE
235 $(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \
236 $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \
ffee80df
JL
237 $(CGENDIR)/opcodes.scm $(CGENDIR)/cdl-c.scm \
238 $(CGENDIR)/cgen-opc.scm cgen-opc.in cgen-asm.in cgen-dis.in
bfc10abe
DE
239# The end marker is written this way to pass through automake unscathed.
240ENDSAN = end-sanitize-cygnus
3b1e6264
ILT
241ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
242mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
243CONFIG_HEADER = config.h
244CONFIG_CLEAN_FILES =
245LIBRARIES = $(noinst_LIBRARIES)
246
247
248DEFS = @DEFS@ -I. -I$(srcdir) -I.
249CPPFLAGS = @CPPFLAGS@
250LDFLAGS = @LDFLAGS@
251LIBS = @LIBS@
252libopcodes_a_LIBADD =
253libopcodes_a_SOURCES = libopcodes.a.c
254libopcodes_a_OBJECTS = libopcodes.a.o
255LTLIBRARIES = $(lib_LTLIBRARIES)
256
3b1e6264
ILT
257libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo
258CFLAGS = @CFLAGS@
259COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
260LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
261LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
262DIST_COMMON = ChangeLog Makefile.am Makefile.in acconfig.h acinclude.m4 \
263aclocal.m4 config.in configure configure.in stamp-h.in
264
265
072aa625
NC
266PACKAGE = @PACKAGE@
267VERSION = @VERSION@
268
3b1e6264
ILT
269DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
270
271TAR = tar
272GZIP = --best
273SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
274OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS)
275
072aa625 276all: all-recursive-am all-am
3b1e6264
ILT
277
278.SUFFIXES:
279.SUFFIXES: .S .c .lo .o .s
072aa625 280$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
3b1e6264
ILT
281 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
282
072aa625 283Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3b1e6264
ILT
284 cd $(top_builddir) \
285 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
286
287$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
288 cd $(srcdir) && $(ACLOCAL)
289
290config.status: $(srcdir)/configure
291 $(SHELL) ./config.status --recheck
292$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
293 cd $(srcdir) && $(AUTOCONF)
294
25161728
ILT
295config.h: stamp-h
296 @:
3b1e6264
ILT
297stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
298 cd $(top_builddir) \
299 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
300 $(SHELL) ./config.status
301 @echo timestamp > stamp-h
302$(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in
303$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
304 cd $(top_srcdir) && $(AUTOHEADER)
305 @echo timestamp > $(srcdir)/stamp-h.in
306
307mostlyclean-hdr:
308
309clean-hdr:
310
311distclean-hdr:
25161728 312 -rm -f config.h
3b1e6264
ILT
313
314maintainer-clean-hdr:
315
316mostlyclean-noinstLIBRARIES:
317
318clean-noinstLIBRARIES:
25161728 319 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
3b1e6264
ILT
320
321distclean-noinstLIBRARIES:
322
323maintainer-clean-noinstLIBRARIES:
324
25161728 325.c.o:
3b1e6264
ILT
326 $(COMPILE) -c $<
327
25161728 328.s.o:
3b1e6264 329 $(COMPILE) -c $<
add1fb05 330
25161728 331.S.o:
3b1e6264 332 $(COMPILE) -c $<
add1fb05 333
3b1e6264 334mostlyclean-compile:
25161728 335 -rm -f *.o core *.core
add1fb05 336
3b1e6264 337clean-compile:
add1fb05 338
3b1e6264 339distclean-compile:
25161728 340 -rm -f *.tab.c
add1fb05 341
3b1e6264 342maintainer-clean-compile:
add1fb05 343
3b1e6264
ILT
344.c.lo:
345 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
d7ace307 346
3b1e6264
ILT
347.s.lo:
348 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39620b71 349
3b1e6264
ILT
350.S.lo:
351 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
352
353mostlyclean-libtool:
25161728 354 -rm -f *.lo
3b1e6264
ILT
355
356clean-libtool:
25161728 357 -rm -rf .libs _libs
3b1e6264
ILT
358
359distclean-libtool:
360
361maintainer-clean-libtool:
794a16b0 362
3b1e6264 363mostlyclean-libLTLIBRARIES:
824155e8 364
3b1e6264 365clean-libLTLIBRARIES:
25161728 366 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40db6118 367
3b1e6264 368distclean-libLTLIBRARIES:
add1fb05 369
3b1e6264
ILT
370maintainer-clean-libLTLIBRARIES:
371
372install-libLTLIBRARIES: $(lib_LTLIBRARIES)
373 @$(NORMAL_INSTALL)
072aa625 374 $(mkinstalldirs) $(DESTDIR)$(libdir)
3b1e6264
ILT
375 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
376 if test -f $$p; then \
072aa625
NC
377 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
378 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
3b1e6264
ILT
379 else :; fi; \
380 done
381
382uninstall-libLTLIBRARIES:
072aa625 383 @$(NORMAL_UNINSTALL)
3b1e6264 384 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
072aa625 385 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
3b1e6264
ILT
386 done
387
388libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES)
389 $(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS)
390
072aa625
NC
391# This directory's subdirectories are mostly independent; you can cd
392# into them and run `make' without going through this Makefile.
393# To change the values of `make' variables: instead of editing Makefiles,
394# (1) if the variable is set in `config.status', edit `config.status'
395# (which will cause the Makefiles to be regenerated when you run `make');
396# (2) otherwise, pass the desired values on the `make' command line.
397
398@SET_MAKE@
399
400all-recursive install-data-recursive install-exec-recursive \
401installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
402check-recursive installcheck-recursive info-recursive dvi-recursive:
403 @set fnord $(MAKEFLAGS); amf=$$2; \
404 list='$(SUBDIRS)'; for subdir in $$list; do \
405 target=`echo $@ | sed s/-recursive//`; \
406 echo "Making $$target in $$subdir"; \
407 (cd $$subdir && $(MAKE) $$target) \
408 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
409 done && test -z "$$fail"
410
411mostlyclean-recursive clean-recursive distclean-recursive \
412maintainer-clean-recursive:
413 @set fnord $(MAKEFLAGS); amf=$$2; \
414 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
415 rev="$$subdir $$rev"; \
416 done; \
417 for subdir in $$rev; do \
418 target=`echo $@ | sed s/-recursive//`; \
419 echo "Making $$target in $$subdir"; \
420 (cd $$subdir && $(MAKE) $$target) \
421 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
422 done && test -z "$$fail"
423tags-recursive:
424 list='$(SUBDIRS)'; for subdir in $$list; do \
425 (cd $$subdir && $(MAKE) tags); \
426 done
427
3b1e6264
ILT
428tags: TAGS
429
25161728
ILT
430ID: $(HEADERS) $(SOURCES) $(LISP)
431 here=`pwd` && cd $(srcdir) \
432 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
3b1e6264 433
072aa625 434TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
3b1e6264
ILT
435 tags=; \
436 here=`pwd`; \
072aa625
NC
437 list='$(SUBDIRS)'; for subdir in $$list; do \
438 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
439 done; \
25161728
ILT
440 list='$(SOURCES) $(HEADERS)'; \
441 unique=`for i in $$list; do echo $$i; done | \
442 awk ' { files[$$0] = 1; } \
443 END { for (i in files) print i; }'`; \
444 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
445 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
3b1e6264
ILT
446
447mostlyclean-tags:
448
449clean-tags:
450
451distclean-tags:
25161728 452 -rm -f TAGS ID
3b1e6264
ILT
453
454maintainer-clean-tags:
455
456distdir = $(PACKAGE)-$(VERSION)
457top_distdir = $(distdir)
458
459# This target untars the dist file and tries a VPATH configuration. Then
460# it guarantees that the distribution is self-contained by making another
461# tarfile.
462distcheck: dist
25161728 463 -rm -rf $(distdir)
3b1e6264
ILT
464 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
465 mkdir $(distdir)/=build
466 mkdir $(distdir)/=inst
467 dc_install_base=`cd $(distdir)/=inst && pwd`; \
468 cd $(distdir)/=build \
469 && ../configure --srcdir=.. --prefix=$$dc_install_base \
470 && $(MAKE) \
471 && $(MAKE) dvi \
472 && $(MAKE) check \
473 && $(MAKE) install \
474 && $(MAKE) installcheck \
475 && $(MAKE) dist
25161728 476 -rm -rf $(distdir)
3b1e6264
ILT
477 @echo "========================"; \
478 echo "$(distdir).tar.gz is ready for distribution"; \
479 echo "========================"
480dist: distdir
481 -chmod -R a+r $(distdir)
482 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
25161728 483 -rm -rf $(distdir)
3b1e6264
ILT
484dist-all: distdir
485 -chmod -R a+r $(distdir)
486 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
25161728 487 -rm -rf $(distdir)
3b1e6264 488distdir: $(DISTFILES)
25161728 489 -rm -rf $(distdir)
3b1e6264
ILT
490 mkdir $(distdir)
491 -chmod 777 $(distdir)
492 @for file in $(DISTFILES); do \
493 if test -f $$file; then d=.; else d=$(srcdir); fi; \
494 test -f $(distdir)/$$file \
495 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
496 || cp -p $$d/$$file $(distdir)/$$file; \
497 done
072aa625
NC
498 for subdir in $(SUBDIRS); do \
499 test -d $(distdir)/$$subdir \
500 || mkdir $(distdir)/$$subdir \
501 || exit 1; \
502 chmod 777 $(distdir)/$$subdir; \
503 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
504 || exit 1; \
505 done
506info: info-recursive
507dvi: dvi-recursive
25161728 508check:
072aa625
NC
509 $(MAKE) check-recursive
510installcheck: installcheck-recursive
511install-info: install-info-recursive
512all-recursive-am: config.h
513 $(MAKE) all-recursive
514
515all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
516
517install-exec-am: install-libLTLIBRARIES
518
519uninstall-am: uninstall-libLTLIBRARIES
520
521install-exec: install-exec-recursive install-exec-am
3b1e6264
ILT
522 @$(NORMAL_INSTALL)
523
072aa625 524install-data: install-data-recursive
3b1e6264
ILT
525 @$(NORMAL_INSTALL)
526
072aa625 527install: install-recursive install-exec-am
3b1e6264
ILT
528 @:
529
072aa625 530uninstall: uninstall-recursive uninstall-am
3b1e6264
ILT
531
532install-strip:
533 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
072aa625
NC
534installdirs: installdirs-recursive
535 $(mkinstalldirs) $(DATADIR)$(libdir)
3b1e6264
ILT
536
537
538mostlyclean-generic:
25161728 539 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
3b1e6264
ILT
540
541clean-generic:
25161728 542 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
3b1e6264
ILT
543
544distclean-generic:
25161728
ILT
545 -rm -f Makefile $(DISTCLEANFILES)
546 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
547 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
3b1e6264
ILT
548
549maintainer-clean-generic:
25161728
ILT
550 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
551 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
072aa625 552mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
3b1e6264
ILT
553 mostlyclean-compile mostlyclean-libtool \
554 mostlyclean-libLTLIBRARIES mostlyclean-tags \
555 mostlyclean-generic
556
072aa625 557clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \
3b1e6264 558 clean-libLTLIBRARIES clean-tags clean-generic \
072aa625 559 mostlyclean-am
3b1e6264 560
072aa625 561distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
3b1e6264 562 distclean-libtool distclean-libLTLIBRARIES \
072aa625 563 distclean-tags distclean-generic clean-am
3b1e6264 564
072aa625
NC
565maintainer-clean-am: maintainer-clean-hdr \
566 maintainer-clean-noinstLIBRARIES \
3b1e6264
ILT
567 maintainer-clean-compile maintainer-clean-libtool \
568 maintainer-clean-libLTLIBRARIES maintainer-clean-tags \
072aa625
NC
569 maintainer-clean-generic distclean-am
570
571mostlyclean: mostlyclean-recursive mostlyclean-am
572
573clean: clean-recursive clean-am
574
575distclean: distclean-recursive distclean-am
576 -rm -f config.status
577 -rm -f libtool
578
579maintainer-clean: maintainer-clean-recursive maintainer-clean-am
3b1e6264
ILT
580 @echo "This command is intended for maintainers to use;"
581 @echo "it deletes files that may require special tools to rebuild."
25161728 582 -rm -f config.status
3b1e6264 583
072aa625
NC
584.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
585mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
586clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
587mostlyclean-compile distclean-compile clean-compile \
588maintainer-clean-compile mostlyclean-libtool distclean-libtool \
589clean-libtool maintainer-clean-libtool mostlyclean-libLTLIBRARIES \
590distclean-libLTLIBRARIES clean-libLTLIBRARIES \
591maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \
592install-libLTLIBRARIES install-data-recursive uninstall-data-recursive \
593install-exec-recursive uninstall-exec-recursive installdirs-recursive \
594uninstalldirs-recursive all-recursive check-recursive \
595installcheck-recursive info-recursive dvi-recursive \
596mostlyclean-recursive distclean-recursive clean-recursive \
597maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
3b1e6264 598distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
072aa625
NC
599installcheck install-info all-recursive-am all-am install-exec-am \
600uninstall-am install-exec install-data install uninstall all \
601installdirs mostlyclean-generic distclean-generic clean-generic \
3b1e6264
ILT
602maintainer-clean-generic clean mostlyclean distclean maintainer-clean
603
604
605disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
606 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
607
608stamp-lib: libopcodes.la
638985a9
ILT
609 if [ -f .libs/libopcodes.a ]; then \
610 cp .libs/libopcodes.a libopcodes.tmp; \
611 $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
612 else true; fi
3b1e6264
ILT
613 touch stamp-lib
614
615libopcodes.a: stamp-lib ; @true
072aa625
NC
616po/POTFILES.in: @MAINT@ Makefile
617 for file in $(POTFILES); do echo $$file; done | sort > tmp \
618 && mv tmp $(srcdir)/po/POTFILES.in
3b1e6264 619
bfc10abe
DE
620# start-sanitize-cygnus
621cgen:
3b7029b1 622 $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGENDIR) $(CGENFLAGS) $(SCHEME) $(SCHEMEFLAGS) $(arch)
bfc10abe
DE
623 touch stamp-${arch}
624
625.PHONY: cgen
626
627# For now, require developers to configure with --enable-maintainer-mode.
628# ??? Do we need to use a different option?
629m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: @MAINT@ stamp-m32r
630 @true
631stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
632 $(MAKE) cgen arch=m32r prefix=m32r
633# end-sanitize-cygnus
634
3b1e6264
ILT
635# start-sanitize-tic80
636tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
637 $(INCDIR)/opcode/tic80.h
638tic80-opc.lo: tic80-opc.c $(INCDIR)/opcode/tic80.h
639# end-sanitize-tic80
add1fb05 640
54cc8ed4 641# start-sanitize-sky
a6616528 642dvp-dis.lo: dvp-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
37130f11
DE
643 $(INCDIR)/opcode/dvp.h
644dvp-opc.lo: dvp-opc.c $(INCDIR)/opcode/dvp.h
645
646mips-dis.lo: mips-dis.c
647 $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/mips-dis.c
54cc8ed4
DE
648# end-sanitize-sky
649
f76db60b
ILT
650# This dependency stuff is copied from BFD.
651
652.dep: dep.sed $(CFILES) $(HFILES) config.h
653 rm -f .dep1
654 $(MAKE) DEP=$(DEP) .dep1
655 sed -f dep.sed < .dep1 > .dep
656
657.dep1: $(CFILES)
658 rm -f .dep2 .dep2a
659 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
660 echo > .dep2a
3b1e6264 661 $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $?
f76db60b
ILT
662 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
663 rm -f .dep2a
664 $(srcdir)/../move-if-change .dep2 .dep1
665
666dep.sed: dep-in.sed config.status
667 sed <$(srcdir)/dep-in.sed >dep.sed \
668 -e 's!@BFD_H@!$(BFD_H)!' \
669 -e 's!@INCDIR@!$(INCDIR)!' \
670 -e 's!@BFDDIR@!$(BFDDIR)!' \
671 -e 's!@SRCDIR@!$(srcdir)!'
672
673dep: .dep
674 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
675 cat .dep >> tmp-Makefile
676 $(srcdir)/../move-if-change tmp-Makefile Makefile
677
678dep-in: .dep
679 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
680 cat .dep >> tmp-Makefile.in
681 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
682
3b1e6264
ILT
683dep-am: .dep
684 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
685 cat .dep >> tmp-Makefile.am
686 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
687
688.PHONY: dep dep-in dep-am
bb6dafe9 689
add1fb05
SC
690# What appears below is generated by a hacked mkdep using gcc -MM.
691
692# DO NOT DELETE THIS LINE -- mkdep uses it.
693# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
3b1e6264 694a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 695 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
3b1e6264 696alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
f76db60b 697 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
3b1e6264 698alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
f76db60b 699 $(BFD_H)
3b1e6264 700arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
ab0bd049
DE
701 $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \
702 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
3b1e6264
ILT
703cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
704 $(BFD_H) $(INCDIR)/opcode/cgen.h
705cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
706 $(BFD_H) $(INCDIR)/opcode/cgen.h
707cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
708 $(BFD_H) $(INCDIR)/opcode/cgen.h
709d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
bb6dafe9 710 $(INCDIR)/dis-asm.h $(BFD_H)
3b1e6264
ILT
711d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
712dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
f76db60b 713 $(BFD_H)
3b1e6264
ILT
714disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
715 $(INCDIR)/dis-asm.h $(BFD_H)
716h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
717 $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h
718h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
f76db60b 719 $(BFD_H) $(INCDIR)/ansidecl.h
3b1e6264 720hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
f76db60b 721 $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
3b1e6264 722i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 723 $(INCDIR)/ansidecl.h sysdep.h config.h
3b1e6264 724i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 725 $(INCDIR)/ansidecl.h
3b1e6264 726m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
9c03036a 727 m32r-opc.h $(INCDIR)/opcode/cgen.h
3b1e6264
ILT
728m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
729 $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h
730m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
9c03036a 731 $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h
3b1e6264 732m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 733 $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h $(INCDIR)/opcode/m68k.h
3b1e6264
ILT
734m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
735m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 736 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h
3b1e6264 737mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
f76db60b
ILT
738 $(BFD_H) $(INCDIR)/opcode/mips.h $(BFDDIR)/elf-bfd.h \
739 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
740 $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h
3b1e6264 741mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
638985a9 742# start-sanitize-r5900
ffee80df 743mips-opc.lo: vu0.h
638985a9 744# end-sanitize-r5900
3b1e6264
ILT
745mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
746m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
f76db60b 747 $(INCDIR)/dis-asm.h $(BFD_H)
3b1e6264
ILT
748m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
749m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
f76db60b 750 $(INCDIR)/dis-asm.h $(BFD_H)
3b1e6264
ILT
751m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
752ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
f76db60b 753 sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h
3b1e6264 754ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
f76db60b 755 config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
3b1e6264
ILT
756ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h
757sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
f76db60b 758 $(INCDIR)/ansidecl.h
3b1e6264 759sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
bb6dafe9
ILT
760 config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
761 $(BFD_H) $(INCDIR)/libiberty.h
3b1e6264 762sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
ab0bd049
DE
763tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
764 $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h
3b1e6264 765w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
f76db60b 766 $(BFD_H) $(INCDIR)/ansidecl.h
3b1e6264 767z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
f76db60b 768 $(BFD_H) z8k-opc.h
3b1e6264 769z8kgen.lo: z8kgen.c sysdep.h config.h
add1fb05 770# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
3b1e6264
ILT
771
772# Tell versions [3.59,3.63) of GNU make to not export all variables.
773# Otherwise a system limit (for SysV at least) may be exceeded.
774.NOEXPORT:
This page took 0.251431 seconds and 4 git commands to generate.