diff -u -r -N jikes-1.12.orig/README.AMIGA jikes-1.12/README.AMIGA --- jikes-1.12.orig/README.AMIGA Thu Jan 1 02:00:00 1970 +++ jikes-1.12/README.AMIGA Tue Sep 5 19:56:04 2000 @@ -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 (C) 1996, 2000 International Business Machines Corporation +and others. All Rights Reserved. +****************************************************************************** diff -u -r -N jikes-1.12.orig/amiga/Makefile jikes-1.12/amiga/Makefile --- jikes-1.12.orig/amiga/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.12/amiga/Makefile Sun Sep 3 20:33:50 2000 @@ -0,0 +1,351 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-9, 2000 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.12/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_FLAG = +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : + + +host_alias = @host_alias@ +host_triplet = m68k-cbm-amigaos +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar +AWK = gawk +CC = cc +CPP = @CPP@ +CXX = g++ +CXXCPP = g++ -E +DEPDIR = .deps +EXEEXT = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.12 +install_sh = ./install-sh + + +SUBDIRS = doc src +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ./src/config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = +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 + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(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 \ +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; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \ + done; \ + test "$$dot_seen" = "no" && 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) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(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 + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -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) + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) +dist-all: distdir + -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) + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) +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=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: installdirs-recursive +installdirs-am: + + +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: + -rm -f Makefile.in +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-recursive uninstall-recursive install-data-recursive \ +uninstall-data-recursive install-exec-recursive \ +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ +all-recursive check-recursive installcheck-recursive info-recursive \ +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all install-strip \ +installdirs-am installdirs mostlyclean-generic distclean-generic \ +clean-generic maintainer-clean-generic clean mostlyclean distclean \ +maintainer-clean + + +# 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.12.orig/amiga/doc/Makefile jikes-1.12/amiga/doc/Makefile --- jikes-1.12.orig/amiga/doc/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.12/amiga/doc/Makefile Sun Sep 3 15:34:57 2000 @@ -0,0 +1,262 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-9, 2000 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.12/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_FLAG = +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : + + +host_alias = @host_alias@ +host_triplet = m68k-cbm-amigaos +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar +AWK = gawk +CC = @CC@ +CPP = @CPP@ +CXX = g++ +CXXCPP = g++ -E +DEPDIR = .deps +EXEEXT = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.12 +install_sh = ./install-sh + + +man_MANS = jikes.1 + +docdir = $(prefix)/doc/${PACKAGE}-${VERSION} + +doc_DATA = \ +contrib.html \ +jikes.gif \ +jikes.html \ +license.htm \ +news.html + + +EXTRA_DIST = $(man_MANS) $(doc_DATA) +subdir = doc +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../src/config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = +man1dir = $(mandir)/man1 +MANS = $(man_MANS) + +NROFF = nroff +DATA = $(doc_DATA) + +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +install-man1: + $(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: + @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-man: $(MANS) + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-man1 +uninstall-man: + @$(NORMAL_UNINSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 + +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: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +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 +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: install-man install-docDATA +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-man uninstall-docDATA +uninstall: uninstall-am +all-am: Makefile $(MANS) $(DATA) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(docdir) + + +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: + -rm -f Makefile.in +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: install-man1 uninstall-man1 install-man uninstall-man \ +uninstall-docDATA install-docDATA tags distdir info-am info dvi-am dvi \ +check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all install-strip \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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.12.orig/amiga/src/Makefile jikes-1.12/amiga/src/Makefile --- jikes-1.12.orig/amiga/src/Makefile Thu Jan 1 02:00:00 1970 +++ jikes-1.12/amiga/src/Makefile Mon Sep 4 19:35:48 2000 @@ -0,0 +1,517 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-9, 2000 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.12/missing --run aclocal +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_FLAG = +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : + + +host_alias = @host_alias@ +host_triplet = m68k-cbm-amigaos +AMDEP = # +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar +AWK = gawk +CC = gcc +CPP = @CPP@ +CXX = g++ +CXXCPP = g++ -E +DEPDIR = .deps +EXEEXT = +JIKESPG = jikespg +MAINT = # +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo +OBJEXT = o +PACKAGE = jikes +STRIP = strip +VERSION = 1.12 +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 + +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 = $(SHELL) $(top_srcdir)/depcomp +DEP_FILES = # $(DEPDIR)/ast.Po $(DEPDIR)/body.Po \ +$(DEPDIR)/bytecode.Po $(DEPDIR)/case.Po $(DEPDIR)/code.Po \ +$(DEPDIR)/control.Po $(DEPDIR)/decl.Po $(DEPDIR)/definite.Po \ +$(DEPDIR)/depend.Po $(DEPDIR)/diagnose.Po $(DEPDIR)/double.Po \ +$(DEPDIR)/dump.Po $(DEPDIR)/error.Po $(DEPDIR)/expr.Po \ +$(DEPDIR)/getclass.Po $(DEPDIR)/incrmnt.Po $(DEPDIR)/init.Po \ +$(DEPDIR)/javaact.Po $(DEPDIR)/jikes.Po $(DEPDIR)/jikesapi.Po \ +$(DEPDIR)/long.Po $(DEPDIR)/lookup.Po $(DEPDIR)/lpginput.Po \ +$(DEPDIR)/modifier.Po $(DEPDIR)/op.Po $(DEPDIR)/option.Po \ +$(DEPDIR)/parser.Po $(DEPDIR)/platform.Po $(DEPDIR)/scanner.Po \ +$(DEPDIR)/segment.Po $(DEPDIR)/set.Po $(DEPDIR)/stream.Po \ +$(DEPDIR)/symbol.Po $(DEPDIR)/system.Po $(DEPDIR)/tab.Po \ +$(DEPDIR)/unparse.Po $(DEPDIR)/unzip.Po $(DEPDIR)/zip.Po +DIST_COMMON = $(noinst_HEADERS) ./stamp-h.in Makefile.am Makefile.in \ +config.h.in depcomp + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +SOURCES = $(jikes_SOURCES) +OBJECTS = $(am_jikes_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .c .cpp .h .o .obj +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(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 + +mostlyclean-hdr: + +clean-hdr: + +distclean-hdr: + -rm -f config.h + +maintainer-clean-hdr: + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +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 -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \ + echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \ + $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \ + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ + rm -f $(DESTDIR)$(bindir)/$$f; \ + done + +mostlyclean-compile: + -rm -f *.o core *.core + -rm -f *.$(OBJEXT) + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +jikes$(EXEEXT): $(jikes_OBJECTS) $(jikes_DEPENDENCIES) + @rm -f jikes$(EXEEXT) + $(CXXLINK) $(jikes_LDFLAGS) $(jikes_OBJECTS) $(jikes_LDADD) $(LIBS) + +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) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +#include $(DEPDIR)/ast.Po +#include $(DEPDIR)/body.Po +#include $(DEPDIR)/bytecode.Po +#include $(DEPDIR)/case.Po +#include $(DEPDIR)/code.Po +#include $(DEPDIR)/control.Po +#include $(DEPDIR)/decl.Po +#include $(DEPDIR)/definite.Po +#include $(DEPDIR)/depend.Po +#include $(DEPDIR)/diagnose.Po +#include $(DEPDIR)/double.Po +#include $(DEPDIR)/dump.Po +#include $(DEPDIR)/error.Po +#include $(DEPDIR)/expr.Po +#include $(DEPDIR)/getclass.Po +#include $(DEPDIR)/incrmnt.Po +#include $(DEPDIR)/init.Po +#include $(DEPDIR)/javaact.Po +#include $(DEPDIR)/jikes.Po +#include $(DEPDIR)/jikesapi.Po +#include $(DEPDIR)/long.Po +#include $(DEPDIR)/lookup.Po +#include $(DEPDIR)/lpginput.Po +#include $(DEPDIR)/modifier.Po +#include $(DEPDIR)/op.Po +#include $(DEPDIR)/option.Po +#include $(DEPDIR)/parser.Po +#include $(DEPDIR)/platform.Po +#include $(DEPDIR)/scanner.Po +#include $(DEPDIR)/segment.Po +#include $(DEPDIR)/set.Po +#include $(DEPDIR)/stream.Po +#include $(DEPDIR)/symbol.Po +#include $(DEPDIR)/system.Po +#include $(DEPDIR)/tab.Po +#include $(DEPDIR)/unparse.Po +#include $(DEPDIR)/unzip.Po +#include $(DEPDIR)/zip.Po + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf $(DEPDIR) + +maintainer-clean-depend: + +#CXXDEPMODE = depmode=none + +.cpp.o: +# source='$<' object='$@' libtool=no +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' +# $(CXXDEPMODE) $(depcomp) + $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< + +.cpp.obj: +# source='$<' object='$@' libtool=no +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' +# $(CXXDEPMODE) $(depcomp) + $(CXXCOMPILE) -c -o $@ `cygpath -w $<` + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +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 +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +all-recursive-am: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) $(HEADERS) config.h +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +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: + -rm -f Makefile.in +mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ + mostlyclean-compile mostlyclean-tags mostlyclean-depend \ + mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ + clean-depend clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ + distclean-tags distclean-depend distclean-generic \ + clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ +mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags mostlyclean-depend distclean-depend \ +clean-depend maintainer-clean-depend distdir info-am info dvi-am dvi \ +check check-am installcheck-am installcheck all-recursive-am \ +install-exec-am install-exec install-data-am install-data install-am \ +install uninstall-am uninstall all-redirect all-am all install-strip \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# FIXME : This is currently broken, need to ask Tom why is does not work. +#INCLUDES = -I$(srcdir) -I. + +# Special rule to remake autogenerated Java files + +jikespg: + cd $(srcdir) + jikespg java.g + rm -f java.l + +# 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.12.orig/amiga/src/config.h jikes-1.12/amiga/src/config.h --- jikes-1.12.orig/amiga/src/config.h Thu Jan 1 02:00:00 1970 +++ jikes-1.12/amiga/src/config.h Mon Sep 4 19:19:21 2000 @@ -0,0 +1,169 @@ +/* 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 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 + +/* 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 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 if you have the header file. */ +#define HAVE_IOSTREAM_H 1 + +/* 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_LIB_ICU_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 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 */ +/* #undef HAVE_NAMESPACES */ + +/* Define if you have the header file. */ +#define HAVE_NEW 1 + +/* Define if you have the header file. */ +#define HAVE_NEW_H 1 + +/* defined if running on a system with dos style paths */ +#define HAVE_PATHNAME_STYLE_DOS 1 + +/* 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_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 + +/* 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.12 8/1/2000" + +/* Name of package */ +#define PACKAGE "jikes" + +/* used to seperate elements on the PATH */ +#define PATH_SEPARATOR ';' + +/* 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.12" + +/* 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.12.orig/amiga/src/stamp-h jikes-1.12/amiga/src/stamp-h --- jikes-1.12.orig/amiga/src/stamp-h Thu Jan 1 02:00:00 1970 +++ jikes-1.12/amiga/src/stamp-h Sun Sep 3 15:35:07 2000 @@ -0,0 +1 @@ +timestamp diff -u -r -N jikes-1.12.orig/configure jikes-1.12/configure --- jikes-1.12.orig/configure Mon Jul 31 10:56:11 2000 +++ jikes-1.12/configure Sun Sep 3 15:07:10 2000 @@ -2765,7 +2765,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.12.orig/src/config.h.in jikes-1.12/src/config.h.in --- jikes-1.12.orig/src/config.h.in Sun Jul 23 00:05:45 2000 +++ jikes-1.12/src/config.h.in Sun Sep 3 15:07:41 2000 @@ -53,7 +53,7 @@ #undef HAVE_LIBICONV /* Define if you have the `icu-uc' library (-licu-uc). */ -#undef HAVE_LIBICU_UC +#undef HAVE_LIB_ICU_UC /* Define if you have the `m' library (-lm). */ #undef HAVE_LIBM diff -u -r -N jikes-1.12.orig/src/control.cpp jikes-1.12/src/control.cpp --- jikes-1.12.orig/src/control.cpp Tue Jul 25 14:32:32 2000 +++ jikes-1.12/src/control.cpp Sun Sep 3 14:57:44 2000 @@ -640,7 +640,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) { int name_length = (source_name_length < 0 ? 0 : source_name_length); @@ -954,7 +954,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.12.orig/src/depend.cpp jikes-1.12/src/depend.cpp --- jikes-1.12.orig/src/depend.cpp Wed Jul 26 10:48:59 2000 +++ jikes-1.12/src/depend.cpp Sun Sep 3 15:41:55 2000 @@ -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.12.orig/src/jikes.cpp jikes-1.12/src/jikes.cpp --- jikes-1.12.orig/src/jikes.cpp Sun Jul 30 01:07:55 2000 +++ jikes-1.12/src/jikes.cpp Sun Sep 3 14:57:44 2000 @@ -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.12.orig/src/jikesapi.cpp jikes-1.12/src/jikesapi.cpp --- jikes-1.12.orig/src/jikesapi.cpp Sun Jul 30 01:07:55 2000 +++ jikes-1.12/src/jikesapi.cpp Sun Sep 3 15:05:46 2000 @@ -64,7 +64,7 @@ bool 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; @@ -258,7 +258,7 @@ } -#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.12.orig/src/option.cpp jikes-1.12/src/option.cpp --- jikes-1.12.orig/src/option.cpp Mon Jul 31 01:56:31 2000 +++ jikes-1.12/src/option.cpp Sun Sep 3 15:43:28 2000 @@ -280,7 +280,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.12.orig/src/option.h jikes-1.12/src/option.h --- jikes-1.12.orig/src/option.h Tue Jul 25 14:32:33 2000 +++ jikes-1.12/src/option.h Sun Sep 3 15:18:48 2000 @@ -19,8 +19,17 @@ //FIXME: include stuff //#include +#ifdef AMIGAOS_FILE_SYSTEM +#include +#include +#endif + #if defined(HAVE_LIB_ICU_UC) +#ifdef ICU131 +# include +#else # include +#endif #elif defined(HAVE_ICONV_H) # include #endif @@ -109,6 +118,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.12.orig/src/stream.cpp jikes-1.12/src/stream.cpp --- jikes-1.12.orig/src/stream.cpp Tue Jul 25 14:32:33 2000 +++ jikes-1.12/src/stream.cpp Sun Sep 3 19:36:42 2000 @@ -20,7 +20,11 @@ #endif #if defined(HAVE_LIB_ICU_UC) +#ifdef ICU131 +# include +#else # include +#endif #elif defined(HAVE_ICONV_H) # include # include @@ -876,7 +880,11 @@ if(U_FAILURE(err)) { fprintf(stderr,"Conversion error: %s at byte %d\n", +#ifdef ICU131 + errorName(err), +#else u_errorName(err), +#endif int(before-buffer) ); break; diff -u -r -N jikes-1.12.orig/src/symbol.cpp jikes-1.12/src/symbol.cpp --- jikes-1.12.orig/src/symbol.cpp Tue Jul 25 14:32:33 2000 +++ jikes-1.12/src/symbol.cpp Sun Sep 3 15:03:30 2000 @@ -762,7 +762,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.12.orig/src/symbol.h jikes-1.12/src/symbol.h --- jikes-1.12.orig/src/symbol.h Sun Jul 30 01:07:56 2000 +++ jikes-1.12/src/symbol.h Sun Sep 3 14:57:47 2000 @@ -2305,6 +2305,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_NAMESPACES diff -u -r -N jikes-1.12.orig/src/system.cpp jikes-1.12/src/system.cpp --- jikes-1.12.orig/src/system.cpp Thu Jul 27 23:27:07 2000 +++ jikes-1.12/src/system.cpp Sun Sep 3 14:57:47 2000 @@ -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; // @@ -502,7 +502,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.12.orig/src/unzip.cpp jikes-1.12/src/unzip.cpp --- jikes-1.12.orig/src/unzip.cpp Tue Jul 25 14:32:34 2000 +++ jikes-1.12/src/unzip.cpp Sun Sep 3 14:57:48 2000 @@ -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.12.orig/src/unzip.h jikes-1.12/src/unzip.h --- jikes-1.12.orig/src/unzip.h Tue Jul 25 14:32:34 2000 +++ jikes-1.12/src/unzip.h Sun Sep 3 14:57:48 2000 @@ -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.12.orig/src/zip.cpp jikes-1.12/src/zip.cpp --- jikes-1.12.orig/src/zip.cpp Tue Jul 25 14:32:34 2000 +++ jikes-1.12/src/zip.cpp Sun Sep 3 14:57:48 2000 @@ -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); @@ -393,7 +394,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.12.orig/src/zip.h jikes-1.12/src/zip.h --- jikes-1.12.orig/src/zip.h Tue Jul 25 14:32:34 2000 +++ jikes-1.12/src/zip.h Sun Sep 3 14:57:48 2000 @@ -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;