diff -u -r -N jikes-1.15.orig/README.AMIGA jikes-1.15/README.AMIGA --- jikes-1.15.orig/README.AMIGA Thu Jan 1 02:00:00 1970 +++ jikes-1.15/README.AMIGA Tue Nov 27 19:25:15 2001 @@ -0,0 +1,59 @@ +This is the source of the native Amiga port (no ixemul.library required) +of jikes, the free Java compiler from IBM. + +The distinction between stable and development version has been +dropped, so the Aminet version is the latest version. The relevant +files can also be downloaded from the Amiga Jikes home page at +http://dias.cti.gr/~kyrimis/jikes/ . + +To build jikes on the Amiga, you need: +* A wide character library (e.g., the simple wchar library that I have + extracted from the Jikes source, available at both Aminet and the Amiga + Jikes web site). +* If you want to enable support for the "-encoding" option, then you must + also install ICU, IBM's International Classes for Unicode. (This + library also requires a wide character library, which is the reason + why the Jikes wide character code cannot be used in place.) + +To build, copy the files in the amiga directory to the corresponding +places in the top level jikes directory (e.g., Makefile to Makefile, +amiga/src/Makefile to src/Makefile, etc.), edit src/Makefile if you want +to change the default CFLAGS, CXXFLAGS, LDFLAGS, and the installation +prefix, then type "make". If you want to turn off support for "-encoding", +edit src/config.h and undefine the HAVE_LIB_ICU_UC symbol, and also +remove -licu-uc from LIBS in src/Makefile. + +If you want to increase the optimization level, note that using -O2 +will produce a binary that is about a megabyte larger, and the resulting +gains in compilation time will be overwhelmed by the additional loading +time. Also note that you will need at least 70M of memory to compile +jikes with -O2, i.e., you will most likely need to use VMM, and that on +a 68040@28MHz it takes about a day to produce the optimized binary. In +other words, don't bother. + +If you prefer to run "configure" manually, you will have to tweak the +created files manually, using the files in the amiga folder as a guide. + +INSTALLATION: +Simply copy the jikes executable somewhere in your path. + +USAGE: +Set either the CLASSPATH or the JIKESPATH environment variable to point +to the directories and zip/jar files that you want your compiler to use. +E.g., if you are using Kaffe, you can say: +setenv CLASSPATH "GG:share/kaffe/Klasses.jar;GG:share/kaffe/Pizza.jar;." +Separate the path components using semicolons. You can use UNIX "." and ".." +notation for the current directory and for the parent directory of a +directory. + +If you find a bug in the Amiga port, you can contact me at kyrimis@cti.gr +and I'll see what I can do. + +Kriton Kyrimis. + +****************************************************************************** +This software is subject to the terms of the IBM Public License, available +at the following URL: http://www.research.com/jikes/license/license3.htm. +Copyright © 1996, 1997, 1998, 1999, 2000, 2001, +International Business Machines Corporation and others. All Rights Reserved. +****************************************************************************** diff -u -r -N jikes-1.15.orig/amiga/Makefile jikes-1.15/amiga/Makefile --- jikes-1.15.orig/amiga/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/Makefile Tue Nov 27 20:49:58 2001 @@ -0,0 +1,376 @@ +# Makefile.in generated automatically by automake 1.5 from Makefile.am. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = . + +prefix = /gg +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include +pkgdatadir = $(datadir)/jikes +pkglibdir = $(libdir)/jikes +pkgincludedir = $(includedir)/jikes +top_builddir = . + +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_HEADER = $(INSTALL_DATA) +transform = s,x,x, +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = +host_triplet = m68k-unknown-amigaos +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run tar +AWK = gawk +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +JIKESPG = jikespg +MAINT = # +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.15 +am__include = include +am__quote = +install_sh = /Boot/Home/T/jikes-1.15/install-sh + +SUBDIRS = doc src + + +# Include the RPM spec file in the .tar ball +EXTRA_DIST = jikes.spec +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/src/config.h +CONFIG_CLEAN_FILES = +depcomp = +DIST_SOURCES = + +RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ + uninstall-info-recursive all-recursive install-data-recursive \ + install-exec-recursive installdirs-recursive install-recursive \ + uninstall-recursive check-recursive installcheck-recursive +DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ + Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess \ + config.sub configure configure.in depcomp install-sh missing \ + mkinstalldirs +DIST_SUBDIRS = $(SUBDIRS) +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu --ignore-deps Makefile +Makefile: # $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && \ + CONFIG_HEADERS= CONFIG_LINKS= \ + CONFIG_FILES=$@ $(SHELL) ./config.status + +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: # $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +$(ACLOCAL_M4): # configure.in acinclude.m4 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +uninstall-info-am: + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) + +GTAGS: + here=`CDPATH=: && cd $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = . +# Avoid unsightly `./'. +distdir = $(PACKAGE)-$(VERSION) + +GZIP_ENV = --best + +distdir: $(DISTFILES) + -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) + mkdir $(distdir) + @for file in $(DISTFILES); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + $(mkinstalldirs) "$(distdir)/$$dir"; \ + fi; \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir) \ + || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" \ + distdir=../$(distdir)/$$subdir \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + chmod a-w $(distdir) + dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \ + && cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ + || (echo "Error: files left after uninstall" 1>&2; \ + exit 1) ) \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && $(MAKE) $(AM_MAKEFLAGS) distclean \ + && rm -f $(distdir).tar.gz \ + && (test `find . -type f -print | wc -l` -eq 0 \ + || (echo "Error: files left after distclean" 1>&2; \ + exit 1) ) + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) + @echo "$(distdir).tar.gz is ready for distribution" | \ + sed 'h;s/./=/g;p;x;p;x' +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: + +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) +distclean: distclean-recursive + -rm -f config.status config.cache config.log +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ + clean-generic clean-recursive dist dist-all distcheck distclean \ + distclean-generic distclean-recursive distclean-tags distdir \ + dvi dvi-am dvi-recursive info info-am info-recursive install \ + install-am install-data install-data-am install-data-recursive \ + install-exec install-exec-am install-exec-recursive \ + install-info install-info-am install-info-recursive install-man \ + install-recursive install-strip installcheck installcheck-am \ + installdirs installdirs-am installdirs-recursive \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-recursive tags tags-recursive uninstall \ + uninstall-am uninstall-info-am uninstall-info-recursive \ + uninstall-recursive + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -u -r -N jikes-1.15.orig/amiga/config.status jikes-1.15/amiga/config.status --- jikes-1.15.orig/amiga/config.status Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/config.status Tue Nov 27 20:49:49 2001 @@ -0,0 +1,806 @@ +#! /bin/sh +# Generated automatically by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +SHELL=${CONFIG_SHELL-/bin/sh} +ac_cs_invocation="$0 $@" + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +# Name of the executable. +as_me=`echo "$0" |sed 's,.*[\\/],,'` + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +as_executable_p="test -f" + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + +# NLS nuisances. +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } + +exec 6>&1 + +config_files=" Makefile doc/Makefile src/Makefile" +config_headers=" src/config.h" +config_commands=" default-1" + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." +ac_cs_version="\ +config.status +configured by ./configure, generated by GNU Autoconf 2.52, + with options \"--prefix=/gg\" + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=. +INSTALL="/bin/install -c" +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + shift + set dummy "$ac_option" "$ac_optarg" ${1+"$@"} + shift + ;; + -*);; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_need_defaults=false;; + esac + + case $1 in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running /bin/sh ./configure " --prefix=/gg " --no-create --no-recursion" + exec /bin/sh ./configure --prefix=/gg --no-create --no-recursion ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:6320: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + shift + CONFIG_FILES="$CONFIG_FILES $1" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + shift + CONFIG_HEADERS="$CONFIG_HEADERS $1" + ac_need_defaults=false;; + + # This is an error. + -*) { { echo "$as_me:6339: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +exec 5>>config.log +cat >&5 << _ACEOF + +## ----------------------- ## +## Running config.status. ## +## ----------------------- ## + +This file was extended by $as_me 2.52, executed with + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + > $ac_cs_invocation +on `(hostname || uname -n) 2>/dev/null | sed 1q` + +_ACEOF +# +# INIT-COMMANDS section. +# + +AMDEP_TRUE="" +ac_aux_dir="." + +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; + *) { { echo "$as_me:6389: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. +: ${TMPDIR=/tmp} +{ + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/cs$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF +s,@SHELL@,/bin/sh,;t t +s,@exec_prefix@,${prefix},;t t +s,@prefix@,/gg,;t t +s,@program_transform_name@,s,x,x,,;t t +s,@bindir@,${exec_prefix}/bin,;t t +s,@sbindir@,${exec_prefix}/sbin,;t t +s,@libexecdir@,${exec_prefix}/libexec,;t t +s,@datadir@,${prefix}/share,;t t +s,@sysconfdir@,${prefix}/etc,;t t +s,@sharedstatedir@,${prefix}/com,;t t +s,@localstatedir@,${prefix}/var,;t t +s,@libdir@,${exec_prefix}/lib,;t t +s,@includedir@,${prefix}/include,;t t +s,@oldincludedir@,/usr/include,;t t +s,@infodir@,${prefix}/info,;t t +s,@mandir@,${prefix}/man,;t t +s,@PACKAGE_NAME@,,;t t +s,@PACKAGE_TARNAME@,,;t t +s,@PACKAGE_VERSION@,,;t t +s,@PACKAGE_STRING@,,;t t +s,@PACKAGE_BUGREPORT@,,;t t +s,@build_alias@,,;t t +s,@host_alias@,,;t t +s,@target_alias@,,;t t +s,@ECHO_C@,\c,;t t +s,@ECHO_N@,,;t t +s,@ECHO_T@,,;t t +s,@PATH_SEPARATOR@,:,;t t +s,@DEFS@,-DHAVE_CONFIG_H,;t t +s,@LIBS@,-licu-uc ,;t t +s,@INSTALL_PROGRAM@,${INSTALL},;t t +s,@INSTALL_SCRIPT@,${INSTALL},;t t +s,@INSTALL_DATA@,${INSTALL} -m 644,;t t +s,@PACKAGE@,jikes,;t t +s,@VERSION@,1.15,;t t +s,@EXEEXT@,,;t t +s,@OBJEXT@,o,;t t +s,@ACLOCAL@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run aclocal,;t t +s,@AUTOCONF@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoconf,;t t +s,@AUTOMAKE@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run automake,;t t +s,@AUTOHEADER@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoheader,;t t +s,@MAKEINFO@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run makeinfo,;t t +s,@AMTAR@,${SHELL} /Boot/Home/T/jikes-1.15/missing --run tar,;t t +s,@install_sh@,/Boot/Home/T/jikes-1.15/install-sh,;t t +s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t +s,@AWK@,gawk,;t t +s,@SET_MAKE@,,;t t +s,@AMDEP_TRUE@,,;t t +s,@AMDEP_FALSE@,#,;t t +s,@AMDEPBACKSLASH@,\,;t t +s,@DEPDIR@,.deps,;t t +s,@MAINTAINER_MODE_TRUE@,#,;t t +s,@MAINTAINER_MODE_FALSE@,,;t t +s,@MAINT@,#,;t t +s,@build@,m68k-unknown-amigaos,;t t +s,@build_cpu@,m68k,;t t +s,@build_vendor@,unknown,;t t +s,@build_os@,amigaos,;t t +s,@host@,m68k-unknown-amigaos,;t t +s,@host_cpu@,m68k,;t t +s,@host_vendor@,unknown,;t t +s,@host_os@,amigaos,;t t +s,@CXX@,g++,;t t +s,@CXXFLAGS@,-g -O2,;t t +s,@LDFLAGS@,,;t t +s,@CPPFLAGS@,,;t t +s,@ac_ct_CXX@,g++,;t t +s,@am__include@,include,;t t +s,@am__quote@,,;t t +s,@CXXDEPMODE@,depmode=gcc,;t t +s,@CXXCPP@,g++ -E,;t t +s,@STRIP@,strip,;t t +s,@ac_ct_STRIP@,strip,;t t +s,@JIKESPG@,jikespg,;t t +CEOF + + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` + else + ac_dir_suffix= ac_dots= + fi + + case $srcdir in + .) ac_srcdir=. + if test -z "$ac_dots"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_dots$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_dots$srcdir ;; + esac + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_dots$INSTALL ;; + esac + + if test x"$ac_file" != x-; then + { echo "$as_me:6629: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + configure_input="Generated automatically from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:6647: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:6660: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + sed "/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:6721: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:6732: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:6745: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + + # Handle all the #define templates only if necessary. + if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then + # If there are no defines, we may have an empty if/fi + : + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + fi # egrep + + # Handle all the #undef templates + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated automatically by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if cmp -s $ac_file $tmp/config.h 2>/dev/null; then + { echo "$as_me:6862: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + fi + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi + # Run the commands associated with the file. + case $ac_file in + src/config.h ) # update the timestamp +echo timestamp >"src/stamp-h1" + ;; + esac +done + +# +# CONFIG_COMMANDS section. +# +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + + case $ac_dest in + default-1 ) +test x"$AMDEP_TRUE" != x"" || +for mf in $CONFIG_FILES; do + case "$mf" in + Makefile) dirpart=.;; + */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;; + *) continue;; + esac + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n -e '/^U = / s///p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n -e ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`echo "$file" | sed -e 's|/[^/]*$||'` + $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1 + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + esac +done + +{ (exit 0); exit 0; } diff -u -r -N jikes-1.15.orig/amiga/doc/Makefile jikes-1.15/amiga/doc/Makefile --- jikes-1.15.orig/amiga/doc/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/doc/Makefile Tue Nov 27 20:50:01 2001 @@ -0,0 +1,269 @@ +# Makefile.in generated automatically by automake 1.5 from Makefile.am. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = .. + +prefix = /gg +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include +pkgdatadir = $(datadir)/jikes +pkglibdir = $(libdir)/jikes +pkgincludedir = $(includedir)/jikes +top_builddir = .. + +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_HEADER = $(INSTALL_DATA) +transform = s,x,x, +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = +host_triplet = m68k-unknown-amigaos +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run tar +AWK = gawk +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +JIKESPG = jikespg +MAINT = # +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.15 +am__include = include +am__quote = +install_sh = /Boot/Home/T/jikes-1.15/install-sh + +man_MANS = jikes.1 + +docdir = $(prefix)/doc/${PACKAGE}-${VERSION} + +doc_DATA = \ +license.htm + + +EXTRA_DIST = $(man_MANS) $(doc_DATA) +subdir = doc +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/src/config.h +CONFIG_CLEAN_FILES = +depcomp = +DIST_SOURCES = + +NROFF = nroff +MANS = $(man_MANS) +DATA = $(doc_DATA) + +DIST_COMMON = Makefile.am Makefile.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu --ignore-deps doc/Makefile +Makefile: # $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && \ + CONFIG_HEADERS= CONFIG_LINKS= \ + CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status +uninstall-info-am: + +man1dir = $(mandir)/man1 +install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(man1dir) + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ + done +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(docdir) + @list='$(doc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f $(DESTDIR)$(docdir)/$$f"; \ + rm -f $(DESTDIR)$(docdir)/$$f; \ + done +tags: TAGS +TAGS: + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = .. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + $(mkinstalldirs) "$(distdir)/$$dir"; \ + fi; \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir) \ + || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(MANS) $(DATA) + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(docdir) + +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: install-docDATA install-man + +install-exec-am: + +install-info: install-info-am + +install-man: install-man1 + +installcheck-am: + +maintainer-clean: maintainer-clean-am + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +uninstall-am: uninstall-docDATA uninstall-info-am uninstall-man + +uninstall-man: uninstall-man1 + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am info info-am install \ + install-am install-data install-data-am install-docDATA \ + install-exec install-exec-am install-info install-info-am \ + install-man install-man1 install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + uninstall uninstall-am uninstall-docDATA uninstall-info-am \ + uninstall-man uninstall-man1 + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -u -r -N jikes-1.15.orig/amiga/src/Makefile jikes-1.15/amiga/src/Makefile --- jikes-1.15.orig/amiga/src/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/src/Makefile Wed Nov 28 18:59:56 2001 @@ -0,0 +1,610 @@ +# Makefile.in generated automatically by automake 1.5 from Makefile.am. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = .. + +prefix = /gg +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include +pkgdatadir = $(datadir)/jikes +pkglibdir = $(libdir)/jikes +pkgincludedir = $(includedir)/jikes +top_builddir = .. + +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_HEADER = $(INSTALL_DATA) +transform = s,x,x, +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = +host_triplet = m68k-unknown-amigaos +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.15/missing --run tar +AWK = gawk +CC = gcc +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +JIKESPG = jikespg +MAINT = # +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.15 +am__include = include +am__quote = +install_sh = /Boot/Home/T/jikes-1.15/install-sh + +bin_PROGRAMS = jikes + +jikes_SOURCES = \ +ast.cpp \ +body.cpp \ +bytecode.cpp \ +case.cpp \ +code.cpp \ +control.cpp \ +decl.cpp \ +definite.cpp \ +depend.cpp \ +diagnose.cpp \ +double.cpp \ +dump.cpp \ +error.cpp \ +expr.cpp \ +getclass.cpp \ +incrmnt.cpp \ +init.cpp \ +javaact.cpp \ +jikes.cpp \ +jikesapi.cpp \ +long.cpp \ +lookup.cpp \ +lpginput.cpp \ +modifier.cpp \ +op.cpp \ +option.cpp \ +parser.cpp \ +platform.cpp \ +scanner.cpp \ +segment.cpp \ +set.cpp \ +stream.cpp \ +symbol.cpp \ +system.cpp \ +tab.cpp \ +unparse.cpp \ +unzip.cpp \ +zip.cpp + + +include_HEADERS = \ +jikesapi.h + + +noinst_HEADERS = \ +access.h \ +ast.h \ +bytecode.h \ +case.h \ +class.h \ +code.h \ +control.h \ +depend.h \ +diagnose.h \ +double.h \ +error.h \ +getclass.h \ +javaact.h \ +javadcl.h \ +javadef.h \ +javaprs.h \ +javasym.h \ +jikesapi.h \ +long.h \ +lookup.h \ +lpginput.h \ +op.h \ +option.h \ +parser.h \ +platform.h \ +scanner.h \ +segment.h \ +semantic.h \ +set.h \ +spell.h \ +stream.h \ +symbol.h \ +tab.h \ +table.h \ +tuple.h \ +unzip.h \ +zip.h + + + +# Include the java.g and gencode.java files in the .tar ball +EXTRA_DIST = java.g gencode.java + +# Special rules to remake autogenerated files +#PARSER_FILES = \ +#javaact.cpp \ +#javaact.h \ +#javadcl.h \ +#javadef.h \ +#javaprs.h \ +#javasym.h + + +#BUILT_SOURCES = $(PARSER_FILES) code.cpp code.h + +# FIXME: hardcoded at the moment, makes bootstrap difficult... +#JAVA = java +#JAVAC = jikes +subdir = src +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +bin_PROGRAMS = jikes$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) + +am_jikes_OBJECTS = ast.$(OBJEXT) body.$(OBJEXT) bytecode.$(OBJEXT) \ + case.$(OBJEXT) code.$(OBJEXT) control.$(OBJEXT) decl.$(OBJEXT) \ + definite.$(OBJEXT) depend.$(OBJEXT) diagnose.$(OBJEXT) \ + double.$(OBJEXT) dump.$(OBJEXT) error.$(OBJEXT) expr.$(OBJEXT) \ + getclass.$(OBJEXT) incrmnt.$(OBJEXT) init.$(OBJEXT) \ + javaact.$(OBJEXT) jikes.$(OBJEXT) jikesapi.$(OBJEXT) \ + long.$(OBJEXT) lookup.$(OBJEXT) lpginput.$(OBJEXT) \ + modifier.$(OBJEXT) op.$(OBJEXT) option.$(OBJEXT) \ + parser.$(OBJEXT) platform.$(OBJEXT) scanner.$(OBJEXT) \ + segment.$(OBJEXT) set.$(OBJEXT) stream.$(OBJEXT) \ + symbol.$(OBJEXT) system.$(OBJEXT) tab.$(OBJEXT) \ + unparse.$(OBJEXT) unzip.$(OBJEXT) zip.$(OBJEXT) amiga.$(OBJEXT) +jikes_OBJECTS = $(am_jikes_OBJECTS) +jikes_LDADD = $(LDADD) +jikes_DEPENDENCIES = +jikes_LDFLAGS = + +DEFS = -DHAVE_CONFIG_H -DICU131 \ + -Dstat=mystat -Dfopen=myfopen -Dopendir=myopendir -Dmkdir=mymkdir +DEFAULT_INCLUDES = -I. -I$(srcdir) -I. +CPPFLAGS = +LDFLAGS = -s -m68020-60 -m68881 +# Use GG:lib/libnix/swapstack.o when compiling for a 68000 +# Use GG:lib/libm020/libnix/swapstack.o when compiling for a 68020+ +LIBS = GG:lib/libm020/libnix/swapstack.o -licu-uc -lw -noixemul +depcomp = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CCOMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CXXLD = $(CXX) +CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +CXXFLAGS = -O0 -m68020-60 -m68881 +CFLAGS = -O0 -m68020-60 -m68881 +DIST_SOURCES = $(jikes_SOURCES) +HEADERS = $(include_HEADERS) $(noinst_HEADERS) + +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) ./stamp-h.in \ + Makefile.am Makefile.in config.h.in +SOURCES = $(jikes_SOURCES) + +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .cpp .o .obj +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu --ignore-deps src/Makefile +Makefile: # $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && \ + CONFIG_HEADERS= CONFIG_LINKS= \ + CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status +config.h: stamp-h + @if test ! -f $@; then \ + rm -f stamp-h; \ + $(MAKE) stamp-h; \ + else :; fi +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h stamp-hT + @echo timestamp > stamp-hT 2> /dev/null + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=src/config.h \ + $(SHELL) ./config.status + @mv stamp-hT stamp-h +$(srcdir)/config.h.in: # $(srcdir)/./stamp-h.in + @if test ! -f $@; then \ + rm -f $(srcdir)/./stamp-h.in; \ + $(MAKE) $(srcdir)/./stamp-h.in; \ + else :; fi +$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) + @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT + @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null + cd $(top_srcdir) && $(AUTOHEADER) + @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in + +distclean-hdr: + -rm -f config.h +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ + rm -f $(DESTDIR)$(bindir)/$$f; \ + done + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +jikes$(EXEEXT): $(jikes_OBJECTS) $(jikes_DEPENDENCIES) + @rm -f jikes$(EXEEXT) + $(CXXLINK) $(jikes_LDFLAGS) $(jikes_OBJECTS) $(jikes_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core + +distclean-compile: + -rm -f *.tab.c + +.cpp.o: + $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< +.c.o: + $(CCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< + +.cpp.obj: + $(CXXCOMPILE) -c -o $@ `cygpath -w $<` +uninstall-info-am: +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(includedir) + @list='$(include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ + $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ + rm -f $(DESTDIR)$(includedir)/$$f; \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ + || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) + +GTAGS: + here=`CDPATH=: && cd $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = .. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + $(mkinstalldirs) "$(distdir)/$$dir"; \ + fi; \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir) \ + || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) $(HEADERS) config.h + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) + +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: install-includeHEADERS + +install-exec-am: install-binPROGRAMS + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \ + uninstall-info-am + +.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic distclean distclean-compile distclean-generic \ + distclean-hdr distclean-tags distdir dvi dvi-am info info-am \ + install install-am install-binPROGRAMS install-data \ + install-data-am install-exec install-exec-am \ + install-includeHEADERS install-info install-info-am install-man \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic tags uninstall \ + uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \ + uninstall-info-am + + +#$(PARSER_FILES): java.g $(JIKESPG) +# $(JIKESPG) java.g +# rm -f java.l +#code.cpp code.h: gencode.java +# $(JAVAC) $< +# $(JAVA) gencode + +# end special maintainer mode section + +# This rule will build an efence malloc debugging enabled version of jikes. +# This should be used for testing purposes only! It is really slow! + +efence: + @rm -f jikes$(EXEEXT) + $(CXXLINK) -o jikes$(EXEEXT) $(jikes_OBJECTS) -lstdc++ -lefence + +# The rest of the entries in this file are dependencies +# manually extracted from the .h and .cpp files; I used g++ 2.95.3, +# compiling with -MM, then replacing .o with .$(OBJEXT). +# +# We choose not use the automatic dependency tracking available in +# automake because the depcomp script still has some +# portability problems with non-gcc compilers. If +# dependencies are changed in the source code, these +# deps will need to be manually updated. + +$(jikes_OBJECTS): config.h + +ast.$(OBJEXT): ast.cpp ast.h platform.h tuple.h jikesapi.h stream.h javadef.h \ + javasym.h tab.h lookup.h long.h double.h symbol.h code.h option.h \ + depend.h access.h case.h set.h +body.$(OBJEXT): body.cpp platform.h tuple.h jikesapi.h semantic.h ast.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h symbol.h \ + code.h option.h depend.h access.h case.h set.h diagnose.h parser.h \ + lpginput.h javaprs.h javaact.h error.h control.h +bytecode.$(OBJEXT): bytecode.cpp bytecode.h platform.h tuple.h jikesapi.h \ + ast.h stream.h javadef.h javasym.h tab.h lookup.h long.h double.h \ + symbol.h code.h option.h depend.h access.h case.h set.h class.h \ + semantic.h diagnose.h parser.h lpginput.h javaprs.h javaact.h error.h \ + control.h op.h segment.h table.h +case.$(OBJEXT): case.cpp case.h platform.h tuple.h jikesapi.h +code.$(OBJEXT): code.cpp code.h platform.h tuple.h jikesapi.h +control.$(OBJEXT): control.cpp control.h platform.h tuple.h jikesapi.h \ + option.h code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h depend.h access.h case.h set.h scanner.h parser.h \ + lpginput.h javaprs.h javaact.h semantic.h ast.h diagnose.h error.h \ + bytecode.h class.h op.h segment.h +decl.$(OBJEXT): decl.cpp platform.h tuple.h jikesapi.h semantic.h ast.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h symbol.h \ + code.h option.h depend.h access.h case.h set.h diagnose.h parser.h \ + lpginput.h javaprs.h javaact.h error.h control.h table.h spell.h +definite.$(OBJEXT): definite.cpp platform.h tuple.h jikesapi.h semantic.h \ + ast.h stream.h javadef.h javasym.h tab.h lookup.h long.h double.h \ + symbol.h code.h option.h depend.h access.h case.h set.h diagnose.h \ + parser.h lpginput.h javaprs.h javaact.h error.h control.h +depend.$(OBJEXT): depend.cpp depend.h platform.h tuple.h jikesapi.h control.h \ + option.h code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h access.h case.h set.h ast.h semantic.h diagnose.h \ + parser.h lpginput.h javaprs.h javaact.h error.h +diagnose.$(OBJEXT): diagnose.cpp diagnose.h platform.h tuple.h jikesapi.h \ + parser.h lpginput.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h javaprs.h javaact.h control.h option.h code.h \ + symbol.h depend.h access.h case.h set.h semantic.h ast.h error.h \ + spell.h +double.$(OBJEXT): double.cpp double.h platform.h tuple.h jikesapi.h long.h +dump.$(OBJEXT): dump.cpp platform.h tuple.h jikesapi.h javasym.h control.h \ + option.h code.h symbol.h stream.h javadef.h tab.h lookup.h long.h \ + double.h depend.h access.h case.h set.h +error.$(OBJEXT): error.cpp error.h platform.h tuple.h jikesapi.h stream.h \ + javadef.h javasym.h tab.h lookup.h long.h double.h control.h option.h \ + code.h symbol.h depend.h access.h case.h set.h semantic.h ast.h \ + diagnose.h parser.h lpginput.h javaprs.h javaact.h +expr.$(OBJEXT): expr.cpp platform.h tuple.h jikesapi.h double.h long.h \ + parser.h lpginput.h stream.h javadef.h javasym.h tab.h lookup.h \ + javaprs.h javaact.h semantic.h ast.h symbol.h code.h option.h \ + depend.h access.h case.h set.h diagnose.h error.h control.h table.h \ + spell.h +getclass.$(OBJEXT): getclass.cpp getclass.h platform.h tuple.h jikesapi.h \ + semantic.h ast.h stream.h javadef.h javasym.h tab.h lookup.h long.h \ + double.h symbol.h code.h option.h depend.h access.h case.h set.h \ + diagnose.h parser.h lpginput.h javaprs.h javaact.h error.h control.h \ + zip.h unzip.h +incrmnt.$(OBJEXT): incrmnt.cpp platform.h tuple.h jikesapi.h control.h \ + option.h code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h depend.h access.h case.h set.h scanner.h parser.h \ + lpginput.h javaprs.h javaact.h semantic.h ast.h diagnose.h error.h +init.$(OBJEXT): init.cpp platform.h tuple.h jikesapi.h semantic.h ast.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h symbol.h \ + code.h option.h depend.h access.h case.h set.h diagnose.h parser.h \ + lpginput.h javaprs.h javaact.h error.h control.h +javaact.$(OBJEXT): javaact.cpp platform.h tuple.h jikesapi.h parser.h \ + lpginput.h stream.h javadef.h javasym.h tab.h lookup.h long.h \ + double.h javaprs.h javaact.h ast.h symbol.h code.h option.h depend.h \ + access.h case.h set.h +jikes.$(OBJEXT): jikes.cpp platform.h tuple.h jikesapi.h +jikesapi.$(OBJEXT): jikesapi.cpp platform.h tuple.h jikesapi.h control.h \ + option.h code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h depend.h access.h case.h set.h +long.$(OBJEXT): long.cpp long.h platform.h tuple.h jikesapi.h double.h +lookup.$(OBJEXT): lookup.cpp lookup.h platform.h tuple.h jikesapi.h long.h \ + double.h control.h option.h code.h symbol.h stream.h javadef.h \ + javasym.h tab.h depend.h access.h case.h set.h ast.h +lpginput.$(OBJEXT): lpginput.cpp lpginput.h platform.h tuple.h jikesapi.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h javaprs.h \ + javadcl.h +modifier.$(OBJEXT): modifier.cpp platform.h tuple.h jikesapi.h semantic.h \ + ast.h stream.h javadef.h javasym.h tab.h lookup.h long.h double.h \ + symbol.h code.h option.h depend.h access.h case.h set.h diagnose.h \ + parser.h lpginput.h javaprs.h javaact.h error.h control.h +op.$(OBJEXT): op.cpp op.h platform.h tuple.h jikesapi.h +option.$(OBJEXT): option.cpp option.h platform.h tuple.h jikesapi.h code.h \ + javasym.h error.h stream.h javadef.h tab.h lookup.h long.h double.h \ + case.h +parser.$(OBJEXT): parser.cpp parser.h platform.h tuple.h jikesapi.h \ + lpginput.h stream.h javadef.h javasym.h tab.h lookup.h long.h double.h \ + javaprs.h javaact.h ast.h symbol.h code.h option.h depend.h access.h case.h \ + set.h +platform.$(OBJEXT): platform.cpp platform.h tuple.h jikesapi.h long.h double.h +scanner.$(OBJEXT): scanner.cpp scanner.h platform.h tuple.h jikesapi.h code.h \ + javadef.h javasym.h stream.h tab.h lookup.h long.h double.h control.h \ + option.h symbol.h depend.h access.h case.h set.h error.h +segment.$(OBJEXT): segment.cpp segment.h platform.h tuple.h jikesapi.h +set.$(OBJEXT): set.cpp set.h platform.h tuple.h jikesapi.h symbol.h code.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h option.h \ + depend.h access.h case.h +stream.$(OBJEXT): stream.cpp stream.h platform.h tuple.h jikesapi.h javadef.h \ + javasym.h tab.h lookup.h long.h double.h code.h zip.h unzip.h \ + symbol.h option.h depend.h access.h case.h control.h set.h semantic.h \ + ast.h diagnose.h parser.h lpginput.h javaprs.h javaact.h error.h +symbol.$(OBJEXT): symbol.cpp symbol.h platform.h tuple.h jikesapi.h code.h \ + stream.h javadef.h javasym.h tab.h lookup.h long.h double.h option.h \ + depend.h access.h case.h control.h set.h ast.h semantic.h diagnose.h \ + parser.h lpginput.h javaprs.h javaact.h error.h table.h zip.h unzip.h +system.$(OBJEXT): system.cpp platform.h tuple.h jikesapi.h control.h option.h \ + code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h long.h \ + double.h depend.h access.h case.h set.h semantic.h ast.h diagnose.h \ + parser.h lpginput.h javaprs.h javaact.h error.h zip.h unzip.h +tab.$(OBJEXT): tab.cpp tab.h platform.h tuple.h jikesapi.h +unparse.$(OBJEXT): unparse.cpp ast.h platform.h tuple.h jikesapi.h stream.h \ + javadef.h javasym.h tab.h lookup.h long.h double.h symbol.h code.h \ + option.h depend.h access.h case.h set.h +unzip.$(OBJEXT): unzip.cpp unzip.h platform.h tuple.h jikesapi.h +zip.$(OBJEXT): zip.cpp zip.h platform.h tuple.h jikesapi.h unzip.h control.h \ + option.h code.h symbol.h stream.h javadef.h javasym.h tab.h lookup.h \ + long.h double.h depend.h access.h case.h set.h +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -u -r -N jikes-1.15.orig/amiga/src/config.h jikes-1.15/amiga/src/config.h --- jikes-1.15.orig/amiga/src/config.h Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/src/config.h Wed Nov 28 18:57:41 2001 @@ -0,0 +1,246 @@ +/* src/config.h. Generated automatically by configure. */ +/* src/config.h.in. Generated automatically from configure.in by autoheader. */ + +/* This software is subject to the terms of the IBM Jikes +Compiler License Agreement available at the following URL: +http://ibm.com/developerworks/opensource/jikes. +Copyright (C) 2000, 2001 International Business Machines Corporation +and others. All Rights Reserved. +You must accept the terms of that agreement to use this software. */ + +/* Defined when bit sizes are int = 32, short = 16, char = 8 */ +#define HAVE_32BIT_TYPES + +/* Defined when the compiler supports 64 bit integer math */ +#define HAVE_64BIT_TYPES + +/* Define if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* defined if bool is a built-in C++ type */ +#define HAVE_BOOL + +/* known to be broken on mingwin beta 20 */ +/* #undef HAVE_BROKEN_USHRT_MAX */ + +/* define if the compiler supports const_cast<> */ +#define HAVE_CONST_CAST + +/* Define if you have the header file. */ +#define HAVE_CTYPE_H 1 + +/* Define if you have the `cygwin_win32_to_posix_path_list' function. */ +/* #undef HAVE_CYGWIN_WIN32_TO_POSIX_PATH_LIST */ + +/* Define if you have the header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the header file. */ +#define HAVE_DIRENT_H 1 + +/* define if the compiler supports dynamic_cast<> */ +#define HAVE_DYNAMIC_CAST + +/* Defined when the compiler would generate an error on a call to iconv with a + non const 2nd argument. This is a known problem on IRIX systems, as well as + newer GNU LIBCs. */ +/* #undef HAVE_ERROR_CALL_ICONV_CONST */ + +/* Defined when the compiler would generate an error on a call to wcslen with + a non const argument. This is only known to happen on cygwin and mingwin */ +/* #undef HAVE_ERROR_CALL_WCSLEN_CONST */ + +/* compiler will generate an error when discarding a const qualifier */ +#define HAVE_ERROR_DISCARD_CONST + +/* define if the compiler supports the explicit keyword */ +#define HAVE_EXPLICIT + +/* Define if you have the header file. */ +#define HAVE_FLOAT_H 1 + +/* use unix style mkdir(str, S_IRWXU | S_IRWXG | S_IRWXO) */ +#define HAVE_GLIBC_MKDIR + +/* known to be broken on Win and OS2 when compiled with ICC */ +/* #undef HAVE_ICC_FP_BUGS */ + +/* Define if you have the header file. */ +/* #undef HAVE_ICONV_H */ + +/* Defined when Jikes is built with native floating support */ +/* #undef HAVE_IEEE754 */ + +/* Define if you have the header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define Jikes functions in a namespace */ +/* #undef HAVE_JIKES_NAMESPACE */ + +/* Define if you have the header file. */ +/* #undef HAVE_LANGINFO_H */ + +/* use unix style mkdir(str, S_IRWXU) */ +/* #undef HAVE_LIBC5_MKDIR */ + +/* Define if you have the `iconv' library (-liconv). */ +/* #undef HAVE_LIBICONV */ + +/* Define if you have the `icu-uc' library (-licu-uc). */ +#define HAVE_LIBICU_UC 1 + +/* Define if you have the `m' library (-lm). */ +/* #undef HAVE_LIBM */ + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* use mac style mkdir(str,0) from */ +/* #undef HAVE_MAC_MKDIR */ + +/* Define if you have the header file. */ +#define HAVE_MATH_H 1 + +/* define if the compiler supports member constants */ +#define HAVE_MEMBER_CONSTANTS + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* define if the compiler implements namespaces */ +#define HAVE_NAMESPACES 1 + +/* compiler has ostream << const unsigned char * */ +#define HAVE_OSTREAM_CONST_UNSIGNED_CHAR_PTR + +/* defined if running on a system with dos style paths */ +#define HAVE_PATHNAME_STYLE_DOS 1 + +/* define if the compiler supports reinterpret_cast<> */ +#define HAVE_REINTERPRET_CAST + +/* define if the compiler supports Run-Time Type Identification */ +/* #undef HAVE_RTTI */ + +/* define if the compiler supports static_cast<> */ +#define HAVE_STATIC_CAST + +/* define if the compiler supports ISO C++ standard library */ +#define HAVE_STD + +/* Define if you have the header file. */ +/* #undef HAVE_STDINT_H */ + +/* Define if you have the header file. */ +#define HAVE_STDIO_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_CYGWIN_H */ + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Defined when the compiler supports the unsigned __int64 type */ +/* #undef HAVE_UNSIGNED_INT64 */ + +/* Defined when the compiler supports the unsigned long long type */ +#define HAVE_UNSIGNED_LONG_LONG + +/* Use visual C++ version of set_new_handler */ +/* #undef HAVE_VCPP_SET_NEW_HANDLER */ + +/* Define if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define if you have the `wcscat' function. */ +#define HAVE_WCSCAT 1 + +/* Define if you have the `wcscmp' function. */ +#define HAVE_WCSCMP 1 + +/* Define if you have the `wcscpy' function. */ +#define HAVE_WCSCPY 1 + +/* Define if you have the `wcslen' function. */ +#define HAVE_WCSLEN 1 + +/* Define if you have the `wcsncmp' function. */ +#define HAVE_WCSNCMP 1 + +/* Define if you have the `wcsncpy' function. */ +#define HAVE_WCSNCPY 1 + +/* use win32 style mkdir(str) from */ +/* #undef HAVE_WIN32_MKDIR */ + +/* Define if you have the header file. */ +/* #undef HAVE_WINDOWS_H */ + +/* Defined when the wint_t type is supported */ +/* #undef HAVE_WINT_T */ + +/* Enable internal compiler debugging */ +/* #undef JIKES_DEBUG */ + +/* Define this to the name of the unicode encoding that is the same size as + your wchar_t. See also the following entry for byte swapping. */ +/* #undef JIKES_ICONV_ENCODING */ + +/* Define this if the encoding specified above does not match your platform's + native endianness. */ +/* #undef JIKES_ICONV_NEEDS_BYTE_SWAP */ + +/* Used to test results of stat call to see if it is a directory */ +#define JIKES_STAT_S_IFDIR S_IFDIR + +/* A string to indicate the release of jikes: Version 1.14 - 13 May 2001 */ +#define JIKES_VERSION_STRING "Version 1.15 - 26 Sept 2001" + +/* Name of package */ +#define PACKAGE "jikes" + +/* used to seperate elements on the PATH */ +#define PATH_SEPARATOR ';' + +/* The size of a `wchar_t', as computed by sizeof. */ +/* #undef SIZEOF_WCHAR_T */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* quick hack to use UNIX file system, fixme */ +#define UNIX_FILE_SYSTEM + +/* Version number of package */ +#define VERSION "1.15" + +/* quick hack to use Win32 file system, fixme */ +/* #undef WIN32_FILE_SYSTEM */ + +/* Define if your processor stores words with the most significant byte first + (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ diff -u -r -N jikes-1.15.orig/amiga/src/stamp-h jikes-1.15/amiga/src/stamp-h --- jikes-1.15.orig/amiga/src/stamp-h Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/src/stamp-h Wed Nov 28 18:58:49 2001 @@ -0,0 +1 @@ +timestamp diff -u -r -N jikes-1.15.orig/amiga/src/stamp-h1 jikes-1.15/amiga/src/stamp-h1 --- jikes-1.15.orig/amiga/src/stamp-h1 Thu Jan 1 02:00:00 1970 +++ jikes-1.15/amiga/src/stamp-h1 Wed Nov 28 18:58:59 2001 @@ -0,0 +1 @@ +timestamp diff -u -r -N jikes-1.15.orig/src/amiga.c jikes-1.15/src/amiga.c --- jikes-1.15.orig/src/amiga.c Thu Jan 1 02:00:00 1970 +++ jikes-1.15/src/amiga.c Tue Nov 27 19:25:23 2001 @@ -0,0 +1,132 @@ +#ifdef stat +#undef stat +#endif +#ifdef fopen +#undef fopen +#endif +#ifdef opendir +#undef opendir +#endif +#ifdef mkdir +#undef mkdir +#endif + +#include +#include +#include +#include +#include +#include +#include + +__BEGIN_DECLS +/** + * Provide wrappers for the stat, fopen, and opendir functions that massage + * the file names given to them as arguments so that UNIX "." and ".." + * path names are translated to their AmigaOS equivalents. This is done so + * that no intervention is done in terms of file semantics to the jikes + * source. + */ +static char buf[MAXPATHLEN+1]; +static char cwd[MAXPATHLEN+1]; +static char pathComponent[MAXPATHLEN+1]; + +static void ix_out(char *s) +{ + int ptr; + + if (strcmp(s, ".") == 0) { + if (buf[0] == '\0') { + strcat(buf, cwd); + }else{ + ptr = strlen(buf)-1; + if (buf[ptr] == '/') { + buf[ptr] = '\0'; + } + } + }else{ + if (strcmp(s, "..") == 0) { + strcat(buf, "/"); + }else{ + strcat(buf, s); + } + } +} + +static char * +ix_path(const char *path) +{ + int len; + char sep[2]; + int appendSep, skipNext = 0; + int i, j; + + buf[0] = '\0'; + cwd[0] = '\0'; + pathComponent[0] = '\0'; + sep[1] = '\0'; + getcwd(cwd, sizeof(cwd)); + len = strlen(path); + + for (i=0, j=0; i 0) { + pathComponent[j] = '\0'; + ix_out(pathComponent); + } + return buf; +} + +int +mystat(const char *path, struct stat *sb) +{ + return stat(ix_path(path), sb); +} + +FILE * +myfopen(char *path, char *mode) +{ + return fopen(ix_path(path), mode); +} + +DIR +*myopendir(const char *path) +{ + return opendir(ix_path(path)); +} + +int +mymkdir(const char *path, mode_t mode) +{ + return mkdir(ix_path(path), mode); +} +__END_DECLS diff -u -r -N jikes-1.15.orig/src/control.cpp jikes-1.15/src/control.cpp --- jikes-1.15.orig/src/control.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/control.cpp Tue Nov 27 19:25:24 2001 @@ -608,7 +608,7 @@ // When searching for a directory in the system, if it is not already present in the hierarchy // insert it and attempt to read it from the system... // -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) DirectorySymbol *Control::ProcessSubdirectories(wchar_t *source_name, int source_name_length, bool source_dir) { int name_length = (source_name_length < 0 ? 0 : source_name_length); @@ -922,7 +922,7 @@ // DirectorySymbol *directory_symbol; NameSymbol *file_name_symbol; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int len; for (len = name_length - 1; len >= 0 && name[len] != U_SLASH; len--) ; diff -u -r -N jikes-1.15.orig/src/depend.cpp jikes-1.15/src/depend.cpp --- jikes-1.15.orig/src/depend.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/depend.cpp Tue Nov 27 19:25:25 2001 @@ -321,7 +321,7 @@ buf = new char[length + FileSymbol::class_suffix_length + dir_length + 2]; strcpy(buf, dir_name); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || AMIGAOS_FILE_SYSTEM buf[dir_length] = (char)U_SLASH; #elif defined(WIN32_FILE_SYSTEM) buf[dir_length] = (char)U_BACKSLASH; diff -u -r -N jikes-1.15.orig/src/jikes.cpp jikes-1.15/src/jikes.cpp --- jikes-1.15.orig/src/jikes.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/jikes.cpp Tue Nov 27 19:25:25 2001 @@ -15,6 +15,15 @@ using namespace Jikes; #endif +#ifdef __amigaos__ +// Jikes definitely needs more than the default 4K stack. Without ICU support, +// about 8K seem to be enough. With ICU support stack requirements rise to +// about 26K, so we round this value up to 30K to play it safe. +extern "C" { + unsigned long __stack = 30000; +} +#endif + int main(int argc, char *argv[]) { // Here we are creating instance of default API diff -u -r -N jikes-1.15.orig/src/jikesapi.cpp jikes-1.15/src/jikesapi.cpp --- jikes-1.15.orig/src/jikesapi.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/jikesapi.cpp Tue Nov 27 19:25:26 2001 @@ -71,7 +71,7 @@ // would never include build time files int valid; // FIXME: need to clean this up, why is this not wrapped in a platform.h function? -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) FILE *file; #elif defined(WIN32_FILE_SYSTEM) HANDLE file; @@ -300,7 +300,7 @@ #endif -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) // The following methods define UNIX specific methods for // reading files from the file system. WINDOWS method follow in // the subsequent section. diff -u -r -N jikes-1.15.orig/src/option.cpp jikes-1.15/src/option.cpp --- jikes-1.15.orig/src/option.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/option.cpp Tue Nov 27 19:25:27 2001 @@ -376,7 +376,7 @@ ((i + 1) < arguments.argc)) { ++i; -#if defined(UNIX_FILE_SYSTEM) +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int length = strlen(arguments.argv[i]); directory = new char[length + 1]; strcpy(directory, arguments.argv[i]); diff -u -r -N jikes-1.15.orig/src/option.h jikes-1.15/src/option.h --- jikes-1.15.orig/src/option.h Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/option.h Tue Nov 27 19:29:52 2001 @@ -16,6 +16,11 @@ #include "tuple.h" #include "jikesapi.h" +#ifdef AMIGAOS_FILE_SYSTEM +#include +#include +#endif + #ifdef HAVE_JIKES_NAMESPACE namespace Jikes { // Open namespace Jikes block #endif @@ -100,6 +105,13 @@ char *GetMainCurrentDirectory() { return current_directory[main_disk]; + } +#elif defined(AMIGAOS_FILE_SYSTEM) +public: + char *GetMainCurrentDirectory() + { + static char buf[MAXPATHLEN+1]; + return getcwd(buf, sizeof(buf)); } void SaveCurrentDirectoryOnDisk(char c); diff -u -r -N jikes-1.15.orig/src/platform.h jikes-1.15/src/platform.h --- jikes-1.15.orig/src/platform.h Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/platform.h Wed Nov 28 19:00:49 2001 @@ -81,7 +81,11 @@ #endif #if defined(HAVE_LIBICU_UC) +#ifdef ICU131 +# include +#else # include +#endif #elif defined(HAVE_ICONV_H) # include # include diff -u -r -N jikes-1.15.orig/src/stream.cpp jikes-1.15/src/stream.cpp --- jikes-1.15.orig/src/stream.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/stream.cpp Tue Nov 27 19:25:28 2001 @@ -353,7 +353,11 @@ if (U_FAILURE(err)) { fprintf(stderr,"Conversion error: %s at byte %d\n", +#ifdef ICU131 + _uErrorName[err], +#else u_errorName(err), +#endif int(before - data_buffer) ); error_decode_next_character = true; diff -u -r -N jikes-1.15.orig/src/symbol.cpp jikes-1.15/src/symbol.cpp --- jikes-1.15.orig/src/symbol.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/symbol.cpp Tue Nov 27 19:25:30 2001 @@ -765,7 +765,7 @@ entries = new DirectoryTable(); //FIXME: these need to go into platform.cpp -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) DIR *directory = opendir(this -> DirectoryName()); if (directory) { diff -u -r -N jikes-1.15.orig/src/symbol.h jikes-1.15/src/symbol.h --- jikes-1.15.orig/src/symbol.h Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/symbol.h Wed Nov 28 19:04:47 2001 @@ -2323,6 +2323,19 @@ { return Case::StringSegmentEqual(suffix, java_suffix, java_suffix_length); } +#elif defined(AMIGAOS_FILE_SYSTEM) + // Do not use StringSegmentEqual() as in the WIN32 case, because that + // function may check beyond the end of the string, thus possibly causing + // enforcer hits. + inline bool FileSymbol::IsClassSuffix(char *suffix) + { + return (strncasecmp(suffix, class_suffix, class_suffix_length) == 0); + } + + inline bool FileSymbol::IsJavaSuffix(char *suffix) + { + return (strncasecmp(suffix, java_suffix, java_suffix_length) == 0); + } #endif // WIN32_FILE_SYSTEM #ifdef HAVE_JIKES_NAMESPACE diff -u -r -N jikes-1.15.orig/src/system.cpp jikes-1.15/src/system.cpp --- jikes-1.15.orig/src/system.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/system.cpp Tue Nov 27 19:25:31 2001 @@ -432,7 +432,7 @@ void Control::ProcessPath() { -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) NameSymbol *dot_path_name_symbol = dot_name_symbol; // @@ -531,7 +531,7 @@ path_name[i] = head[i]; path_name[path_name_length] = U_NULL; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) input_name = path_name; @@ -681,7 +681,7 @@ path_name[i] = head[i]; path_name[path_name_length] = U_NULL; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) input_name = path_name; @@ -752,7 +752,7 @@ if (SystemIsDirectory(head)) { //FIXME: should be in platform.cpp?? -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) DIR* extdir = opendir(head); @@ -924,7 +924,7 @@ path_name[i] = head[i]; path_name[path_name_length] = U_NULL; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) input_name = path_name; @@ -1071,7 +1071,7 @@ path_name[i] = head[i]; path_name[path_name_length] = U_NULL; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) input_name = path_name; diff -u -r -N jikes-1.15.orig/src/unzip.cpp jikes-1.15/src/unzip.cpp --- jikes-1.15.orig/src/unzip.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/unzip.cpp Tue Nov 27 19:25:32 2001 @@ -48,7 +48,7 @@ struct huft *Unzip::global_fixed_td; /* inflate static */ int Unzip::global_fixed_bl, Unzip::global_fixed_bd; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) FILE *Unzip::global_file; /* file pointer for zip file */ #elif defined(WIN32_FILE_SYSTEM) char *Unzip::global_file; /* file pointer for zip file */ @@ -753,7 +753,7 @@ return 0; } -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int Unzip::unzip8(FILE * zipfile, char *buffer) #elif defined(WIN32_FILE_SYSTEM) int Unzip::unzip8(char *zipfile, char *buffer) @@ -794,7 +794,7 @@ } -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int Unzip::UncompressFile0(FILE *zipfile, char *buffer, long buffer_length) { SystemFread(buffer, sizeof(char), buffer_length, zipfile); diff -u -r -N jikes-1.15.orig/src/unzip.h jikes-1.15/src/unzip.h --- jikes-1.15.orig/src/unzip.h Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/unzip.h Tue Nov 27 19:25:32 2001 @@ -178,7 +178,7 @@ #ifndef NEXTBYTE /* default is to simply get a byte from stdin */ /* default for define NEXTBYTE is getchar() */ -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) #define NEXTBYTE getc(global_file) #elif defined(WIN32_FILE_SYSTEM) #define NEXTBYTE ((u1) (*global_file++)) @@ -287,7 +287,7 @@ static struct huft *global_fixed_td; /* inflate static */ static int global_fixed_bl, global_fixed_bd; -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) static FILE *global_file; /* file pointer for zip file */ #elif defined(WIN32_FILE_SYSTEM) static char *global_file; @@ -349,7 +349,7 @@ static int inflate_block(int *); static int inflate_free(); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) static int unzip8(FILE * zipfile, char *buffer); static int UncompressFile0(FILE *, char *, long); diff -u -r -N jikes-1.15.orig/src/zip.cpp jikes-1.15/src/zip.cpp --- jikes-1.15.orig/src/zip.cpp Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/zip.cpp Tue Nov 27 19:28:36 2001 @@ -21,7 +21,7 @@ // The ZipFile methods follow // //************************************************************************************************ -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int (*ZipFile::uncompress_file[10]) (FILE *, char *, long) = { UncompressFile0, @@ -101,7 +101,7 @@ assert(zip -> IsValid()); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) zipfile = zip -> zipfile; int rc = fseek(zipfile, file_symbol -> offset, SEEK_SET); @@ -124,7 +124,7 @@ u2 extra_field_length = GetU2(); Skip(filename_length + extra_field_length); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) this -> buffer = new char[file_symbol -> uncompressed_size]; if (! uncompress_file[compression_method < 9 ? compression_method : 9](zipfile, this -> buffer, file_symbol -> uncompressed_size)) { @@ -144,6 +144,7 @@ this -> file_buffer = NULL; } } + #endif return; @@ -320,7 +321,7 @@ magic(0), zipbuffer(NULL) { -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) zipfile = SystemFopen(zipfile_name, "rb"); if (zipfile) { @@ -356,7 +357,7 @@ Zip::~Zip() { -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) delete [] zipbuffer; if (zipfile) fclose(zipfile); @@ -394,7 +395,7 @@ // u2 total_number_of_entries_in_the_ = GetU2(); u4 central_directory_size = GetU4(); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) int rc = fseek(zipfile, -((int) central_directory_size + 22), SEEK_END); assert(rc == 0); diff -u -r -N jikes-1.15.orig/src/zip.h jikes-1.15/src/zip.h --- jikes-1.15.orig/src/zip.h Sat Sep 29 04:12:19 2001 +++ jikes-1.15/src/zip.h Tue Nov 27 19:25:33 2001 @@ -42,7 +42,7 @@ u4 GetU4(); void Skip(u4 length); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) FILE *zipfile; static int (*uncompress_file[10]) (FILE *, char *, long); public: @@ -89,7 +89,7 @@ DirectorySymbol *ProcessSubdirectoryEntries(DirectorySymbol *, char *, int); void ProcessDirectoryEntry(); -#ifdef UNIX_FILE_SYSTEM +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM) FILE *zipfile; #elif defined(WIN32_FILE_SYSTEM) HANDLE zipfile, mapfile;