1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # Process this file with "automake --cygnus Makefile" to generate Makefile.in
19 top_srcdir = @top_srcdir@
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
38 build_triplet = @build@
40 target_triplet = @target@
41 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub \
42 INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \
43 $(srcdir)/Makefile.am $(top_srcdir)/configure \
44 $(am__configure_deps) $(srcdir)/../mkinstalldirs
46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47 am__aclocal_m4_deps = $(top_srcdir)/configure.in
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno configure.status.lineno
52 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58 html-recursive info-recursive install-data-recursive \
59 install-exec-recursive install-info-recursive \
60 install-recursive installcheck-recursive installdirs-recursive \
61 pdf-recursive ps-recursive uninstall-info-recursive \
65 DIST_SUBDIRS = $(SUBDIRS)
69 AUTOHEADER = @AUTOHEADER@
72 CYGPATH_W = @CYGPATH_W@
77 GENINSRC_NEVER_FALSE = @GENINSRC_NEVER_FALSE@
78 GENINSRC_NEVER_TRUE = @GENINSRC_NEVER_TRUE@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
85 LTLIBOBJS = @LTLIBOBJS@
87 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
88 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
91 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
92 PACKAGE_NAME = @PACKAGE_NAME@
93 PACKAGE_STRING = @PACKAGE_STRING@
94 PACKAGE_TARNAME = @PACKAGE_TARNAME@
95 PACKAGE_VERSION = @PACKAGE_VERSION@
96 PATH_SEPARATOR = @PATH_SEPARATOR@
101 ac_ct_STRIP = @ac_ct_STRIP@
102 am__leading_dot = @am__leading_dot@
104 am__untar = @am__untar@
108 build_alias = @build_alias@
109 build_cpu = @build_cpu@
110 build_os = @build_os@
111 build_vendor = @build_vendor@
113 exec_prefix = @exec_prefix@
115 host_alias = @host_alias@
116 host_cpu = @host_cpu@
118 host_vendor = @host_vendor@
119 includedir = @includedir@
121 install_sh = @install_sh@
123 libexecdir = @libexecdir@
124 localstatedir = @localstatedir@
127 oldincludedir = @oldincludedir@
129 program_transform_name = @program_transform_name@
131 sharedstatedir = @sharedstatedir@
132 sysconfdir = @sysconfdir@
134 target_alias = @target_alias@
135 target_cpu = @target_cpu@
136 target_os = @target_os@
137 target_vendor = @target_vendor@
138 AUTOMAKE_OPTIONS = 1.9 cygnus
139 SUBDIRS = doc testsuite
140 GUILE = "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`" -l $(srcdir)/guile.scm -s
143 ARCHFILE = $(srcroot)/cpu/$(ARCH).cpu
145 # for various utility rules
150 INSN_FILE_NAME = $(ARCH)-insn.html
151 srcroot = $(srcdir)/..
158 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
160 case '$(am__configure_deps)' in \
162 echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
163 cd $(srcdir) && $(AUTOMAKE) --cygnus \
168 echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
169 cd $(top_srcdir) && \
170 $(AUTOMAKE) --cygnus Makefile
172 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
175 echo ' $(SHELL) ./config.status'; \
176 $(SHELL) ./config.status;; \
178 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
179 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
182 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
183 $(SHELL) ./config.status --recheck
185 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
186 cd $(srcdir) && $(AUTOCONF)
187 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
188 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
191 # This directory's subdirectories are mostly independent; you can cd
192 # into them and run `make' without going through this Makefile.
193 # To change the values of `make' variables: instead of editing Makefiles,
194 # (1) if the variable is set in `config.status', edit `config.status'
195 # (which will cause the Makefiles to be regenerated when you run `make');
196 # (2) otherwise, pass the desired values on the `make' command line.
197 $(RECURSIVE_TARGETS):
199 for f in x $$MAKEFLAGS; do \
202 *k*) failcom='fail=yes';; \
206 target=`echo $@ | sed s/-recursive//`; \
207 list='$(SUBDIRS)'; for subdir in $$list; do \
208 echo "Making $$target in $$subdir"; \
209 if test "$$subdir" = "."; then \
211 local_target="$$target-am"; \
213 local_target="$$target"; \
215 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
218 if test "$$dot_seen" = "no"; then \
219 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
222 mostlyclean-recursive clean-recursive distclean-recursive \
223 maintainer-clean-recursive:
225 for f in x $$MAKEFLAGS; do \
228 *k*) failcom='fail=yes';; \
233 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
234 *) list='$(SUBDIRS)' ;; \
236 rev=''; for subdir in $$list; do \
237 if test "$$subdir" = "."; then :; else \
238 rev="$$subdir $$rev"; \
242 target=`echo $@ | sed s/-recursive//`; \
243 for subdir in $$rev; do \
244 echo "Making $$target in $$subdir"; \
245 if test "$$subdir" = "."; then \
246 local_target="$$target-am"; \
248 local_target="$$target"; \
250 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
252 done && test -z "$$fail"
254 list='$(SUBDIRS)'; for subdir in $$list; do \
255 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
258 list='$(SUBDIRS)'; for subdir in $$list; do \
259 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
262 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
263 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
264 unique=`for i in $$list; do \
265 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
267 $(AWK) ' { files[$$0] = 1; } \
268 END { for (i in files) print i; }'`; \
272 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
273 $(TAGS_FILES) $(LISP)
276 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
277 include_option=--etags-include; \
280 include_option=--include; \
283 list='$(SUBDIRS)'; for subdir in $$list; do \
284 if test "$$subdir" = .; then :; else \
285 test ! -f $$subdir/TAGS || \
286 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
289 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
290 unique=`for i in $$list; do \
291 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
293 $(AWK) ' { files[$$0] = 1; } \
294 END { for (i in files) print i; }'`; \
295 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
296 test -n "$$unique" || unique=$$empty_fix; \
297 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
301 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
302 $(TAGS_FILES) $(LISP)
305 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
306 unique=`for i in $$list; do \
307 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
309 $(AWK) ' { files[$$0] = 1; } \
310 END { for (i in files) print i; }'`; \
311 test -z "$(CTAGS_ARGS)$$tags$$unique" \
312 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
316 here=`$(am__cd) $(top_builddir) && pwd` \
317 && cd $(top_srcdir) \
318 && gtags -i $(GTAGS_ARGS) $$here
321 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
323 check: check-recursive
324 all-am: Makefile all-local
325 installdirs: installdirs-recursive
327 install: install-recursive
328 install-exec: install-exec-recursive
329 install-data: install-data-recursive
330 uninstall: uninstall-recursive
333 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
335 installcheck: installcheck-recursive
337 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
338 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
339 `test -z '$(STRIP)' || \
340 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
344 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
347 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
349 maintainer-clean-generic:
350 @echo "This command is intended for maintainers to use"
351 @echo "it deletes files that may require special tools to rebuild."
352 clean: clean-recursive
354 clean-am: clean-generic mostlyclean-am
356 distclean: distclean-recursive
357 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
359 distclean-am: clean-am distclean-generic distclean-tags
373 install-info: install-info-recursive
379 maintainer-clean: maintainer-clean-recursive
380 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
381 -rm -rf $(top_srcdir)/autom4te.cache
383 maintainer-clean-am: distclean-am maintainer-clean-generic
385 mostlyclean: mostlyclean-recursive
387 mostlyclean-am: mostlyclean-generic
399 uninstall-info: uninstall-info-recursive
401 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local \
402 am--refresh check check-am clean clean-generic clean-recursive \
403 ctags ctags-recursive distclean distclean-generic \
404 distclean-recursive distclean-tags dvi dvi-am html html-am \
405 info info-am install install-am install-data install-data-am \
406 install-exec install-exec-am install-info install-info-am \
407 install-man install-strip installcheck installcheck-am \
408 installdirs installdirs-am maintainer-clean \
409 maintainer-clean-generic maintainer-clean-recursive \
410 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
411 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
415 # Applications depend on stamp-cgen to tell them when .scm files have
416 # been changed (so files need to be regenerated).
417 # ??? Application specific files are kept with cgen for now, but may
418 # eventually go with the app. stamp-cgen might still be useful to track
419 # app-independent files.
421 all-local: stamp-cgen
423 stamp-cgen: $(CGENFILES)
425 echo timestamp > stamp-cgen
427 # Phony targets to run each of the applications,
428 # though most of these are for development purposes only.
429 # When actually building the toolchain, the Makefile in the appropriate
430 # directory will run cgen.
432 # NOTE: If running for a cpu other than the configured one you may wish to
433 # override ISAS and MACHS.
435 # Build the basic description support.
436 # We just stuff them in tmp-* files.
437 # Usage: make desc [ARCHFILE=<arch-file>] OPTIONS="<option list>"
440 # FIXME: needs more dependencies
442 rm -f tmp-desc.h tmp-desc.c tmp-opinst.c
443 $(GUILE) $(srcdir)/cgen-opc.scm \
450 -H tmp-desc.h -C tmp-desc.c
452 # Build the machine generated cpu documentation.
453 # Usage: make html [ARCH=<arch>] [ARCHFILE=<arch-file>]
455 html: desc.scm html.scm cgen-doc.scm
457 $(GUILE) $(srcdir)/cgen-doc.scm \
464 -N $(INSN_FILE_NAME) \
467 $(SHELL) $(srcroot)/move-if-change tmp.html $(ARCH).html
468 $(SHELL) $(srcroot)/move-if-change tmp-insn.html $(ARCH)-insn.html
470 # Build the opcodes files.
471 # We just stuff them in tmp-* files.
472 # Usage: make opcodes [ARCHFILE=<arch-file>] OPTIONS="<option list>"
475 # FIXME: needs more dependencies
477 rm -f tmp-opc.h tmp-itab.c
478 rm -f tmp-asm.in tmp-dis.in tmp-ibld.h tmp-ibld.in
479 $(GUILE) $(srcdir)/cgen-opc.scm \
482 -f "$(OPTIONS) opinst" \
486 -O tmp-opc.h -P tmp-opc.c -Q tmp-opinst.c \
487 -B tmp-ibld.h -L tmp-ibld.in \
488 -A tmp-asm.in -D tmp-dis.in
490 # Build the simulator files.
491 # We just stuff them in tmp-* files.
492 # Usage: make sim-arch [ARCHFILE=<arch-file>] OPTIONS="<option list>"
493 # make sim-cpu [ARCHFILE=<arch-file>] ISAS="<isa>" MACHS="<mach list>" \
494 # OPTIONS="<option list>"
496 .PHONY: sim-arch sim-cpu
497 # FIXME: needs more dependencies
499 rm -f tmp-arch.h tmp-arch.c tmp-cpuall.h
500 $(GUILE) $(srcdir)/cgen-sim.scm \
507 -A tmp-arch.h -B tmp-arch.c -N tmp-cpuall.h
509 rm -f tmp-cpu.h tmp-cpu.c tmp-decode.h tmp-decode.c
510 rm -f tmp-model.c tmp-sem.c tmp-sem-switch.c
511 $(GUILE) $(srcdir)/cgen-sim.scm \
518 -C tmp-cpu.h -U tmp-cpu.c \
519 -T tmp-decode.h -D tmp-decode.c \
521 -S tmp-semantics.c -X tmp-sem-switch.c
523 # Build GAS testcase generator.
524 # Usage: make gas-test [ARCHFILE=<arch-file>]
527 gas-test: gas-test.scm cgen-gas.scm
528 @if test -z "$(ISAS)" ; then \
529 echo "ISAS not specified!" ;\
532 $(GUILE) $(srcdir)/cgen-gas.scm \
541 # Build simulator testcase generator.
542 # Usage: make sim-test [ARCHFILE=<arch-file>]
545 sim-test: sim-test.scm cgen-stest.scm
546 @if test -z "$(ISAS)" ; then \
547 echo "ISAS not specified!" ;\
550 $(GUILE) $(srcdir)/cgen-stest.scm \
558 # Tell versions [3.59,3.63) of GNU make to not export all variables.
559 # Otherwise a system limit (for SysV at least) may be exceeded.