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