diff -u -r -N jikes-1.14.orig/README.AMIGA jikes-1.14/README.AMIGA --- jikes-1.14.orig/README.AMIGA Thu Jan 1 02:00:00 1970 +++ jikes-1.14/README.AMIGA Fri May 18 21:34:33 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.14.orig/amiga/Makefile jikes-1.14/amiga/Makefile --- jikes-1.14.orig/amiga/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/Makefile Fri May 18 19:19:28 2001 @@ -0,0 +1,374 @@ +# Makefile.in generated automatically by automake 1.4e 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.14/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.14/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_alias@ +host_triplet = m68k-unknown-amigaos + + +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run tar +AWK = gawk +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = $${INSTALL} -s +INSTALL_STRIP_PROGRAM_ENV = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.14 +_am_include = include +install_sh = ./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 = +DIST_SOURCES = +depcomp = +DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ +Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess config.sub \ +configure configure.in 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 +$(ACLOCAL_M4): # configure.in acinclude.m4 + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: # $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# 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. +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +install-info-recursive uninstall-info-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @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 $$here + +distclean-tags: + -rm -f TAGS ID + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = . +distdir = $(top_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 \ + d=$(srcdir); \ + 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 \ + && $(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)" \ + INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log 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." + -rm -f Makefile.in +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +dist-all: dist + +distclean: distclean-recursive + -rm -f config.status + +distclean-am: clean-am distclean-generic distclean-tags + +dvi: + +dvi-am: + +info: + +info-am: + +install-data-am: + +install-exec-am: + +install-info: + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +.PHONY: all all-am all-recursive check check-am check-recursive 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-recursive install-man \ + install-recursive install-strip installcheck installcheck-am \ + installcheck-recursive 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-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.14.orig/amiga/config.status jikes-1.14/amiga/config.status --- jikes-1.14.orig/amiga/config.status Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/config.status Fri May 18 19:19:18 2001 @@ -0,0 +1,762 @@ +#! /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 +as_me=`echo "$0" | sed 's,.*/,,'` +SHELL=${CONFIG_SHELL-/bin/sh} + +# 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 + +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; } + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 5 compiler messages saved in config.log +# 6 checking for... messages and results +exec 5>>config.log +exec 6>&1 + +cat >&5 << EOF + +## ----------------------- ## +## Running config.status. ## +## ----------------------- ## + +This file was extended by $as_me 2.49e, executed with + > $0 $@ +on `(hostname || uname -n) 2>/dev/null | sed 1q` + +EOF + +config_files=" Makefile doc/Makefile src/Makefile" +config_headers=" src/config.h" +config_commands=" default-1 default-2" + +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 generated by configure (Autoconf 2.49e). +Configured on host kriton.cti.gr by + ./configure --host=m68k-unknown-amigaos --prefix=/gg" +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 " --host=m68k-unknown-amigaos --prefix=/gg " --no-create --no-recursion" + exec /bin/sh ./configure --host=m68k-unknown-amigaos --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:6204: 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;; + + # 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" ;; + 'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; + 'src/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; + + # This is an error. + -*) { { echo "$as_me:6231: 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; }; } ;; + *) { { echo "$as_me:6236: error: invalid argument: $1" >&5 +echo "$as_me: error: invalid argument: $1" >&2;} + { (exit 1); exit 1; }; };; + esac + shift +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 $?); exit $?; }' 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; } +} + +# +# INIT-COMMANDS section. +# + +am_indx=1 + for am_file in src/config.h; do + case " " in + *" "*) + echo timestamp > stamp-h + ;; + esac + am_indx=`expr $am_indx + 1` + done +AMDEP="#" +ac_aux_dir="." + + +# +# 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,@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.14,;t t +s,@ACLOCAL@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run aclocal,;t t +s,@AUTOCONF@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run autoconf,;t t +s,@AUTOMAKE@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run automake,;t t +s,@AUTOHEADER@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run autoheader,;t t +s,@MAKEINFO@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run makeinfo,;t t +s,@AMTAR@,${SHELL} /Boot/Home/T/jikes-1.14/missing --run tar,;t t +s,@install_sh@,./install-sh,;t t +s,@STRIP@,strip,;t t +s,@INSTALL_STRIP_PROGRAM@,$${INSTALL} -s,;t t +s,@INSTALL_STRIP_PROGRAM_ENV@,,;t t +s,@AWK@,gawk,;t t +s,@SET_MAKE@,,;t t +s,@AMDEP@,#,;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,@ac_ct_CXX@,g++,;t t +s,@EXEEXT@,,;t t +s,@OBJEXT@,o,;t t +s,@CXXCPP@,g++ -E,;t t +s,@CPPFLAGS@,,;t t +s,@_am_include@,include,;t t +s,@CXXDEPMODE@,depmode=none,;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:6495: 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 + test -f "$f" || { { echo "$as_me:6513: 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:6526: 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:6587: 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 + test -f "$f" || { { echo "$as_me:6598: 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:6611: 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 + + fi # egrep + + # Handle all the #undef templates + 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:6728: $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 +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 -z "$CONFIG_HEADERS" || echo timestamp > src/stamp-h ;; + default-2 ) +test x"$AMDEP" != 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.14.orig/amiga/doc/Makefile jikes-1.14/amiga/doc/Makefile --- jikes-1.14.orig/amiga/doc/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/doc/Makefile Fri May 18 19:19:32 2001 @@ -0,0 +1,275 @@ +# Makefile.in generated automatically by automake 1.4e 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.14/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.14/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_alias@ +host_triplet = m68k-unknown-amigaos + + +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run tar +AWK = gawk +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = $${INSTALL} -s +INSTALL_STRIP_PROGRAM_ENV = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.14 +_am_include = include +install_sh = ./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 = +DIST_SOURCES = +man1dir = $(mandir)/man1 +MANS = $(man_MANS) + +NROFF = nroff +DATA = $(doc_DATA) + +depcomp = +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 +install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(man1dir) + @list='$(man1_MANS)'; \ + l2='$(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)'; \ + l2='$(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 \ + d=$(srcdir); \ + 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)" \ + INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log 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." + -rm -f Makefile.in +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-generic + +dvi: + +dvi-am: + +info: + +info-am: + +install-data-am: install-docDATA install-man + +install-exec-am: + +install-info: + +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-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-man \ + install-man1 install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic uninstall uninstall-am \ + uninstall-docDATA 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.14.orig/amiga/src/Makefile jikes-1.14/amiga/src/Makefile --- jikes-1.14.orig/amiga/src/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/src/Makefile Fri May 18 19:47:52 2001 @@ -0,0 +1,624 @@ +# Makefile.in generated automatically by automake 1.4e 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.14/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.14/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_alias@ +host_triplet = m68k-unknown-amigaos + + +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run tar +AWK = gawk +CC = gcc +CXX = g++ +DEPDIR = .deps +EXEEXT = +INSTALL_STRIP_PROGRAM = $${INSTALL} -s +INSTALL_STRIP_PROGRAM_ENV = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.14/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.14 +_am_include = include +install_sh = ./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 \ +scanner.cpp \ +segment.cpp \ +set.cpp \ +stream.cpp \ +symbol.cpp \ +system.cpp \ +tab.cpp \ +unparse.cpp \ +unzip.cpp \ +zip.cpp \ +platform.cpp \ +amiga.c \ +jikesapi.h + + +# FIXME : jikesapi.h does not get installed right now. + +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 file in the .tar ball + +EXTRA_DIST = java.g + +# The rest of the entries in this file are dependencies +# manually extracted from the .h and .cpp files. We +# can not use the automatic dependency tracking in +# automake because it has some serious portability +# problems with non-gcc compilers. If dependencies +# are changed in the source code, these deps will +# need to be manually updated. + +access_h = access.h platform.h + +ast_h = ast.h platform.h stream.h symbol.h set.h + +bytecode_h = bytecode.h platform.h tuple.h ast.h class.h \ +option.h long.h op.h segment.h + + +case_h = case.h platform.h + +class_h = class.h platform.h semantic.h access.h tuple.h op.h + +code_h = code.h platform.h + +control_h = control.h platform.h option.h symbol.h tuple.h set.h + +depend_h = depend.h platform.h + +diagnose_h = diagnose.h platform.h parser.h jikesapi.h + +double_h = double.h platform.h long.h + +error_h = error.h platform.h stream.h tuple.h jikesapi.h + +getclass_h = getclass.h platform.h semantic.h long.h double.h + +javaact_h = javaact.h + +javadcl_h = javadcl.h + +javadef_h = javadef.h + +javaprs_h = javaprs.h + +javasym_h = javasym.h + +jikesapi_h = jikesapi.h + +long_h = long.h platform.h + +lookup_h = lookup.h platform.h tuple.h long.h double.h + +lpginput_h = lpginput.h platform.h stream.h + +op_h = op.h platform.h tuple.h + +option_h = option.h platform.h code.h tuple.h jikesapi.h + +parser_h = parser.h platform.h lpginput.h + +platform_h = platform.h config.h tuple.h + +scanner_h = scanner.h platform.h code.h javadef.h javasym.h stream.h + +segment_h = segment.h platform.h tuple.h + +semantic_h = semantic.h platform.h ast.h diagnose.h error.h \ +symbol.h control.h tuple.h set.h + + +set_h = set.h platform.h symbol.h + +spell_h = spell.h platform.h case.h + +stream_h = stream.h platform.h javadef.h javasym.h tuple.h \ +tab.h lookup.h jikesapi.h + + +symbol_h = symbol.h platform.h code.h stream.h option.h lookup.h \ +depend.h access.h tuple.h case.h + + +tab_h = tab.h platform.h + +table_h = table.h platform.h symbol.h + +tuple_h = tuple.h jikesapi.h + +unzip_h = unzip.h platform.h + +zip_h = zip.h platform.h tuple.h unzip.h +subdir = src +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +bin_PROGRAMS = jikes$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = -DHAVE_CONFIG_H -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 +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) \ +scanner.$(OBJEXT) segment.$(OBJEXT) set.$(OBJEXT) stream.$(OBJEXT) \ +symbol.$(OBJEXT) system.$(OBJEXT) tab.$(OBJEXT) unparse.$(OBJEXT) \ +unzip.$(OBJEXT) zip.$(OBJEXT) platform.$(OBJEXT) amiga.$(OBJEXT) +jikes_OBJECTS = $(am_jikes_OBJECTS) +jikes_LDADD = $(LDADD) +jikes_DEPENDENCIES = +jikes_LDFLAGS = +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXFLAGS = -O0 -m68020-60 -m68881 -DICU131 -Dstat=mystat -Dfopen=myfopen -Dopendir=myopendir -Dmkdir=mymkdir +CXXLD = $(CXX) +CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CFLAGS = -O0 -m68020-60 -m68881 -DICU131 -Dstat=mystat -Dfopen=myfopen -Dopendir=myopendir -Dmkdir=mymkdir +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = $(jikes_SOURCES) +HEADERS = $(noinst_HEADERS) + +depcomp = +DIST_COMMON = $(noinst_HEADERS) ./stamp-h.in Makefile.am Makefile.in \ +config.h.in + +SOURCES = $(jikes_SOURCES) +OBJECTS = $(am_jikes_OBJECTS) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .cpp .h .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 \ + if test -f $$p; then \ + f=`echo $$p|sed 's/$(EXEEXT)$$//;$(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) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core + +distclean-compile: + -rm -f *.tab.c + +jikes$(EXEEXT): $(jikes_OBJECTS) $(jikes_DEPENDENCIES) + @rm -f jikes$(EXEEXT) + $(CXXLINK) $(jikes_LDFLAGS) $(jikes_OBJECTS) $(jikes_LDADD) $(LIBS) +.cpp.o: + $(CXXCOMPILE) -c -o $@ $< +.cpp.obj: + $(CXXCOMPILE) -c -o $@ `cygpath -w $<` + +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 $$here + +distclean-tags: + -rm -f TAGS ID + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = .. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + 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) + +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)" \ + INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log 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." + -rm -f Makefile.in +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: + +info: + +info-am: + +install-data-am: + +install-exec-am: install-binPROGRAMS + +install-info: + +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 + +.PHONY: 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-info install-man \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic tags uninstall \ + uninstall-am uninstall-binPROGRAMS + + +# Special rule to remake autogenerated Java files + +jikespg: + cd $(srcdir) + $(JIKESPG) java.g + rm -f java.l + +# 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 + +ast.$(OBJEXT) : ast.cpp $(ast_h) + +body.$(OBJEXT) : body.cpp $(platform_h) $(semantic_h) $(control_h) + +bytecode.$(OBJEXT) : bytecode.cpp $(bytecode_h) $(ast_h) $(class_h) \ +$(control_h) $(semantic_h) $(stream_h) $(symbol_h) $(table_h) + +case.$(OBJEXT) : case.cpp $(case_h) + +code.$(OBJEXT) : code.cpp $(code_h) + +control.$(OBJEXT) : control.cpp $(control_h) $(scanner_h) $(parser_h) \ +$(semantic_h) $(error_h) $(bytecode_h) $(case_h) + +decl.$(OBJEXT) : decl.cpp $(platform_h) $(semantic_h) $(control_h) \ +$(depend_h) $(table_h) $(tuple_h) + +definite.$(OBJEXT) : definite.cpp $(platform_h) $(semantic_h) + +depend.$(OBJEXT) : depend.cpp $(depend_h) $(control_h) $(ast_h) \ +$(semantic_h) + +diagnose.$(OBJEXT) : diagnose.cpp $(diagnose_h) $(control_h) \ +$(semantic_h) $(case_h) $(spell_h) + +double.$(OBJEXT) : double.cpp $(double_h) $(long_h) + +dump.$(OBJEXT) : dump.cpp $(platform_h) $(javasym_h) $(control_h) \ +$(stream_h) + +error.$(OBJEXT) : error.cpp $(error_h) $(control_h) $(semantic_h) \ +$(ast_h) + +expr.$(OBJEXT) : expr.cpp $(platform_h) $(double_h) $(parser_h) \ +$(semantic_h) $(control_h) $(table_h) $(tuple_h) $(spell_h) + +getclass.$(OBJEXT) : getclass.cpp $(getclass_h) $(control_h) \ +$(semantic_h) $(access_h) $(zip_h) $(jikesapi_h) + +incrmnt.$(OBJEXT) : incrmnt.cpp $(platform_h) $(control_h) \ +$(scanner_h) $(parser_h) $(semantic_h) $(case_h) $(set_h) + +init.$(OBJEXT) : init.cpp $(platform_h) $(semantic_h) $(control_h) + +javaact.$(OBJEXT) : javaact.cpp $(platform_h) $(parser_h) $(ast_h) $(javaact_h) + +jikes.$(OBJEXT) : jikes.cpp $(platform_h) $(jikesapi_h) + +jikesapi.$(OBJEXT) : jikesapi.cpp $(platform_h) $(control_h) $(jikesapi_h) + +long.$(OBJEXT) : long.cpp $(long_h) $(double_h) + +lookup.$(OBJEXT) : $(lookup_cpp) $(lookup_h) $(control_h) \ +$(symbol_h) $(code_h) $(ast_h) $(case_h) + +lpginput.$(OBJEXT) : lpginput.cpp $(lpginput_h) $(javadcl_h) + +modifier.$(OBJEXT) : modifier.cpp $(platform_h) $(semantic_h) + +op.$(OBJEXT) : op.cpp $(op_h) + +option.$(OBJEXT) : option.cpp $(option_h) $(javasym_h) \ +$(error_h) $(case_h) + +parser.$(OBJEXT) : parser.cpp $(parser_h) $(ast_h) + +platform.$(OBJEXT) : platform.cpp $(platform_h) $(long_h) $(double_h) + +scanner.$(OBJEXT) : scanner.cpp $(scanner_h) $(control_h) $(error_h) + +segment.$(OBJEXT) : segment.cpp $(segment_h) + +set.$(OBJEXT) : set.cpp $(set_h) + +stream.$(OBJEXT) : stream.cpp $(stream_h) $(code_h) $(zip_h) \ +$(symbol_h) $(control_h) $(semantic_h) + +system.$(OBJEXT) : system.cpp $(platform_h) $(control_h) \ +$(semantic_h) $(zip_h) + +symbol.$(OBJEXT) : symbol.cpp $(symbol_h) $(stream_h) \ +$(control_h) $(ast_h) $(semantic_h) $(table_h) $(zip_h) \ +$(set_h) $(case_h) + +tab.$(OBJEXT) : tab.cpp $(tab_h) + +unparse.$(OBJEXT) : unparse.cpp $(ast_h) + +unzip.$(OBJEXT) : unzip.cpp $(unzip_h) + +zip.$(OBJEXT) : zip.cpp $(zip_h) $(control_h) $(symbol_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.14.orig/amiga/src/config.h jikes-1.14/amiga/src/config.h --- jikes-1.14.orig/amiga/src/config.h Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/src/config.h Fri May 18 23:47:37 2001 @@ -0,0 +1,215 @@ +/* src/config.h. Generated automatically by configure. */ +/* src/config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Defined when bit sizes are int = 32, short = 16, char = 8 */ +#define HAVE_32BIT_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<> */ +/* #undef 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. */ +/* #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 */ + +/* 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. + This define needs to include wrappering double quotes. */ +/* #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 */ + +/* 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 */ + +/* 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 + +/* 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<> */ +/* #undef HAVE_REINTERPRET_CAST */ + +/* define if the compiler supports Run-Time Type Identification */ +/* #undef HAVE_RTTI */ + +/* define if the compiler supports static_cast<> */ +/* #undef HAVE_STATIC_CAST */ + +/* define if the compiler supports ISO C++ standard library */ +#define HAVE_STD + +/* 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_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* 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 */ + +/* 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.11 1/10/2000 */ +#define JIKES_VERSION_STRING "Version 1.14 - 13 May 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.14" + +/* 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.14.orig/amiga/src/stamp-h jikes-1.14/amiga/src/stamp-h --- jikes-1.14.orig/amiga/src/stamp-h Thu Jan 1 02:00:00 1970 +++ jikes-1.14/amiga/src/stamp-h Fri May 18 19:19:43 2001 @@ -0,0 +1 @@ +timestamp diff -u -r -N jikes-1.14.orig/configure jikes-1.14/configure --- jikes-1.14.orig/configure Fri May 11 09:28:30 2001 +++ jikes-1.14/configure Fri May 18 18:23:42 2001 @@ -4263,7 +4263,7 @@ echo "${ECHO_T}$ac_cv_lib_icu_uc_u_getVersion" >&6 if test $ac_cv_lib_icu_uc_u_getVersion = yes; then cat >>confdefs.h < +#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.14.orig/src/control.cpp jikes-1.14/src/control.cpp --- jikes-1.14.orig/src/control.cpp Sun May 6 11:03:39 2001 +++ jikes-1.14/src/control.cpp Fri May 18 18:26:26 2001 @@ -639,7 +639,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); @@ -953,7 +953,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.14.orig/src/depend.cpp jikes-1.14/src/depend.cpp --- jikes-1.14.orig/src/depend.cpp Wed Jan 10 18:49:44 2001 +++ jikes-1.14/src/depend.cpp Fri May 18 18:23:43 2001 @@ -324,7 +324,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.14.orig/src/jikes.cpp jikes-1.14/src/jikes.cpp --- jikes-1.14.orig/src/jikes.cpp Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/jikes.cpp Fri May 18 18:23:43 2001 @@ -21,6 +21,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.14.orig/src/jikesapi.cpp jikes-1.14/src/jikesapi.cpp --- jikes-1.14.orig/src/jikesapi.cpp Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/jikesapi.cpp Fri May 18 18:23:44 2001 @@ -81,7 +81,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; @@ -308,7 +308,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.14.orig/src/option.cpp jikes-1.14/src/option.cpp --- jikes-1.14.orig/src/option.cpp Fri May 11 09:28:30 2001 +++ jikes-1.14/src/option.cpp Fri May 18 18:23:44 2001 @@ -323,7 +323,7 @@ else if (strcmp(arguments.argv[i], "-d") == 0 && ((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.14.orig/src/option.h jikes-1.14/src/option.h --- jikes-1.14.orig/src/option.h Sun Feb 25 00:19:24 2001 +++ jikes-1.14/src/option.h Fri May 18 18:23:44 2001 @@ -19,6 +19,11 @@ //FIXME: include stuff //#include +#ifdef AMIGAOS_FILE_SYSTEM +#include +#include +#endif + #ifdef HAVE_JIKES_NAMESPACE namespace Jikes { // Open namespace Jikes block #endif @@ -103,6 +108,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.14.orig/src/stream.cpp jikes-1.14/src/stream.cpp --- jikes-1.14.orig/src/stream.cpp Fri May 11 10:28:44 2001 +++ jikes-1.14/src/stream.cpp Sat May 19 15:35:01 2001 @@ -20,7 +20,11 @@ #endif #if defined(HAVE_LIBICU_UC) +#ifdef ICU131 +# include +#else # include +#endif #elif defined(HAVE_ICONV_H) # include # include @@ -364,7 +368,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.14.orig/src/stream.h jikes-1.14/src/stream.h --- jikes-1.14.orig/src/stream.h Sat Mar 31 08:02:39 2001 +++ jikes-1.14/src/stream.h Fri May 18 18:25:20 2001 @@ -27,7 +27,11 @@ */ #if defined(HAVE_LIBICU_UC) +#ifdef ICU131 +# include +#else # include +#endif #elif defined(HAVE_ICONV_H) # include #endif diff -u -r -N jikes-1.14.orig/src/symbol.cpp jikes-1.14/src/symbol.cpp --- jikes-1.14.orig/src/symbol.cpp Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/symbol.cpp Fri May 18 18:23:46 2001 @@ -764,7 +764,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.14.orig/src/symbol.h jikes-1.14/src/symbol.h --- jikes-1.14.orig/src/symbol.h Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/symbol.h Fri May 18 18:23:46 2001 @@ -2311,6 +2311,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 #ifdef HAVE_JIKES_NAMESPACE diff -u -r -N jikes-1.14.orig/src/system.cpp jikes-1.14/src/system.cpp --- jikes-1.14.orig/src/system.cpp Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/system.cpp Fri May 18 21:21:51 2001 @@ -431,7 +431,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; // @@ -530,7 +530,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; @@ -680,7 +680,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; @@ -751,7 +751,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); @@ -923,7 +923,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; @@ -1070,7 +1070,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.14.orig/src/unzip.cpp jikes-1.14/src/unzip.cpp --- jikes-1.14.orig/src/unzip.cpp Wed Jan 10 18:49:45 2001 +++ jikes-1.14/src/unzip.cpp Fri May 18 18:23:47 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) { fread(buffer, sizeof(char), buffer_length, zipfile); diff -u -r -N jikes-1.14.orig/src/unzip.h jikes-1.14/src/unzip.h --- jikes-1.14.orig/src/unzip.h Fri Jan 5 11:13:21 2001 +++ jikes-1.14/src/unzip.h Fri May 18 18:23:47 2001 @@ -181,7 +181,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++)) @@ -284,7 +284,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; @@ -346,7 +346,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.14.orig/src/zip.cpp jikes-1.14/src/zip.cpp --- jikes-1.14.orig/src/zip.cpp Sat Apr 28 22:34:37 2001 +++ jikes-1.14/src/zip.cpp Fri May 18 18:23:48 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, @@ -72,6 +72,7 @@ { file_buffer += length; } + #endif @@ -101,7 +102,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 +125,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)) { @@ -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.14.orig/src/zip.h jikes-1.14/src/zip.h --- jikes-1.14.orig/src/zip.h Fri Jan 5 11:13:21 2001 +++ jikes-1.14/src/zip.h Fri May 18 18:23:48 2001 @@ -49,7 +49,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: @@ -96,7 +96,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;