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
149 # file generation options
153 INSN_FILE_NAME = $(ARCH)-insn.html
154 srcroot = $(srcdir)/..
161 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
163 case '$(am__configure_deps)' in \
165 echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
166 cd $(srcdir) && $(AUTOMAKE) --cygnus \
171 echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
172 cd $(top_srcdir) && \
173 $(AUTOMAKE) --cygnus Makefile
175 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
178 echo ' $(SHELL) ./config.status'; \
179 $(SHELL) ./config.status;; \
181 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
182 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
185 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
186 $(SHELL) ./config.status --recheck
188 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
189 cd $(srcdir) && $(AUTOCONF)
190 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
191 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
194 # This directory's subdirectories are mostly independent; you can cd
195 # into them and run `make' without going through this Makefile.
196 # To change the values of `make' variables: instead of editing Makefiles,
197 # (1) if the variable is set in `config.status', edit `config.status'
198 # (which will cause the Makefiles to be regenerated when you run `make');
199 # (2) otherwise, pass the desired values on the `make' command line.
200 $(RECURSIVE_TARGETS):
202 for f in x $$MAKEFLAGS; do \
205 *k*) failcom='fail=yes';; \
209 target=`echo $@ | sed s/-recursive//`; \
210 list='$(SUBDIRS)'; for subdir in $$list; do \
211 echo "Making $$target in $$subdir"; \
212 if test "$$subdir" = "."; then \
214 local_target="$$target-am"; \
216 local_target="$$target"; \
218 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
221 if test "$$dot_seen" = "no"; then \
222 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
225 mostlyclean-recursive clean-recursive distclean-recursive \
226 maintainer-clean-recursive:
228 for f in x $$MAKEFLAGS; do \
231 *k*) failcom='fail=yes';; \
236 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
237 *) list='$(SUBDIRS)' ;; \
239 rev=''; for subdir in $$list; do \
240 if test "$$subdir" = "."; then :; else \
241 rev="$$subdir $$rev"; \
245 target=`echo $@ | sed s/-recursive//`; \
246 for subdir in $$rev; do \
247 echo "Making $$target in $$subdir"; \
248 if test "$$subdir" = "."; then \
249 local_target="$$target-am"; \
251 local_target="$$target"; \
253 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
255 done && test -z "$$fail"
257 list='$(SUBDIRS)'; for subdir in $$list; do \
258 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
261 list='$(SUBDIRS)'; for subdir in $$list; do \
262 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
265 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
266 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
267 unique=`for i in $$list; do \
268 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
270 $(AWK) ' { files[$$0] = 1; } \
271 END { for (i in files) print i; }'`; \
275 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
276 $(TAGS_FILES) $(LISP)
279 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
280 include_option=--etags-include; \
283 include_option=--include; \
286 list='$(SUBDIRS)'; for subdir in $$list; do \
287 if test "$$subdir" = .; then :; else \
288 test ! -f $$subdir/TAGS || \
289 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
292 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
293 unique=`for i in $$list; do \
294 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
296 $(AWK) ' { files[$$0] = 1; } \
297 END { for (i in files) print i; }'`; \
298 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
299 test -n "$$unique" || unique=$$empty_fix; \
300 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
304 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
305 $(TAGS_FILES) $(LISP)
308 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
309 unique=`for i in $$list; do \
310 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
312 $(AWK) ' { files[$$0] = 1; } \
313 END { for (i in files) print i; }'`; \
314 test -z "$(CTAGS_ARGS)$$tags$$unique" \
315 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
319 here=`$(am__cd) $(top_builddir) && pwd` \
320 && cd $(top_srcdir) \
321 && gtags -i $(GTAGS_ARGS) $$here
324 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
326 check: check-recursive
327 all-am: Makefile all-local
328 installdirs: installdirs-recursive
330 install: install-recursive
331 install-exec: install-exec-recursive
332 install-data: install-data-recursive
333 uninstall: uninstall-recursive
336 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
338 installcheck: installcheck-recursive
340 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
341 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
342 `test -z '$(STRIP)' || \
343 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
347 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
350 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
352 maintainer-clean-generic:
353 @echo "This command is intended for maintainers to use"
354 @echo "it deletes files that may require special tools to rebuild."
355 clean: clean-recursive
357 clean-am: clean-generic mostlyclean-am
359 distclean: distclean-recursive
360 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
362 distclean-am: clean-am distclean-generic distclean-tags
376 install-info: install-info-recursive
382 maintainer-clean: maintainer-clean-recursive
383 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
384 -rm -rf $(top_srcdir)/autom4te.cache
386 maintainer-clean-am: distclean-am maintainer-clean-generic
388 mostlyclean: mostlyclean-recursive
390 mostlyclean-am: mostlyclean-generic
402 uninstall-info: uninstall-info-recursive
404 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local \
405 am--refresh check check-am clean clean-generic clean-recursive \
406 ctags ctags-recursive distclean distclean-generic \
407 distclean-recursive distclean-tags dvi dvi-am html html-am \
408 info info-am install install-am install-data install-data-am \
409 install-exec install-exec-am install-info install-info-am \
410 install-man install-strip installcheck installcheck-am \
411 installdirs installdirs-am maintainer-clean \
412 maintainer-clean-generic maintainer-clean-recursive \
413 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
414 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
418 # Applications depend on stamp-cgen to tell them when .scm files have
419 # been changed (so files need to be regenerated).
420 # ??? Application specific files are kept with cgen for now, but may
421 # eventually go with the app. stamp-cgen might still be useful to track
422 # app-independent files.
424 all-local: stamp-cgen
426 stamp-cgen: $(CGENFILES)
428 echo timestamp > stamp-cgen
430 # Phony targets to run each of the applications,
431 # though most of these are for development purposes only.
432 # When actually building the toolchain, the Makefile in the appropriate
433 # directory will run cgen.
435 # NOTE: If running for a cpu other than the configured one you may wish to
436 # override ISAS and MACHS.
438 # Build the basic description support.
439 # We just stuff them in tmp-* files.
440 # Usage: make desc [ARCH=<arch>] [ARCHFILE=<arch-file>] OPTIONS="<option list>"
442 # -O tmp-opc.h -P tmp-opc.c -OPC $(dirname ${archfile})/${arch}.opc
446 rm -f tmp-desc.h tmp-desc.c
447 $(GUILE) $(srcdir)/cgen-opc.scm \
454 -H tmp-desc.h -C tmp-desc.c
455 $(SHELL) $(srcroot)/move-if-change tmp-desc.h $(ARCH)-desc.h
456 $(SHELL) $(srcroot)/move-if-change tmp-desc.c $(ARCH)-desc.c
458 # Build the machine generated cpu documentation.
459 # Usage: make html [ARCH=<arch>] [ARCHFILE=<arch-file>]
461 html: desc.scm html.scm cgen-doc.scm
463 $(GUILE) $(srcdir)/cgen-doc.scm \
470 -N $(INSN_FILE_NAME) \
473 $(SHELL) $(srcroot)/move-if-change tmp.html $(ARCH).html
474 $(SHELL) $(srcroot)/move-if-change tmp-insn.html $(ARCH)-insn.html
476 # Build the opcodes files.
477 # We just stuff them in tmp-* files.
478 # Usage: make opcodes [ARCHFILE=<arch-file>] OPTIONS="<option list>"
482 rm -f tmp-opc.h tmp-itab.c
483 rm -f tmp-asm.in tmp-dis.in tmp-ibld.h tmp-ibld.in
484 $(GUILE) $(srcdir)/cgen-opc.scm \
487 -f "$(OPTIONS) opinst" \
491 -O tmp-opc.h -P tmp-opc.c -Q tmp-opinst.c \
492 -B tmp-ibld.h -L tmp-ibld.in \
493 -A tmp-asm.in -D tmp-dis.in
495 # Build the simulator files.
496 # We just stuff them in tmp-* files.
497 # Usage: make sim-arch [ARCHFILE=<arch-file>] OPTIONS="<option list>"
498 # make sim-cpu [ARCHFILE=<arch-file>] ISAS="<isa>" MACHS="<mach list>" \
499 # OPTIONS="<option list>"
501 .PHONY: sim-arch sim-cpu
503 rm -f tmp-arch.h tmp-arch.c tmp-cpuall.h
504 $(GUILE) $(srcdir)/cgen-sim.scm \
511 -A tmp-arch.h -B tmp-arch.c -N tmp-cpuall.h
513 rm -f tmp-cpu.h tmp-cpu.c tmp-decode.h tmp-decode.c
514 rm -f tmp-model.c tmp-sem.c tmp-sem-switch.c
515 $(GUILE) $(srcdir)/cgen-sim.scm \
522 -C tmp-cpu.h -U tmp-cpu.c \
523 -T tmp-decode.h -D tmp-decode.c \
525 -S tmp-semantics.c -X tmp-sem-switch.c
527 # Build GAS testcase generator.
528 # Usage: make gas-test [ARCHFILE=<arch-file>]
531 gas-test: gas-test.scm cgen-gas.scm
532 @if test -z "$(ISAS)" ; then \
533 echo "ISAS not specified!" ;\
536 $(GUILE) $(srcdir)/cgen-gas.scm \
545 # Build simulator testcase generator.
546 # Usage: make sim-test [ARCHFILE=<arch-file>]
549 sim-test: sim-test.scm cgen-stest.scm
550 @if test -z "$(ISAS)" ; then \
551 echo "ISAS not specified!" ;\
554 $(GUILE) $(srcdir)/cgen-stest.scm \
562 # Tell versions [3.59,3.63) of GNU make to not export all variables.
563 # Otherwise a system limit (for SysV at least) may be exceeded.