fix typos in [5839]
[openwrt/svn-archive/archive.git] / lang / jamvm / patches / 100-jamvm-mips.patch
1 diff -ruN jamvm-1.4.4-old/configure jamvm-1.4.4-new/configure
2 --- jamvm-1.4.4-old/configure 2006-12-18 15:31:28.000000000 +0100
3 +++ jamvm-1.4.4-new/configure 2006-12-18 15:31:59.000000000 +0100
4 @@ -2035,6 +2035,7 @@
5 arm*-*-linux*) host_cpu=arm host_os=linux ;;
6 arm*-*-openbsd*) host_cpu=arm host_os=bsd libdl_needed=no ;;
7 arm*-*-freebsd*) host_cpu=arm host_os=bsd libdl_needed=no ;;
8 +mips*-linux*) host_cpu=mips host_os=linux ;;
9 powerpc*-*-linux*) host_cpu=powerpc host_os=linux ;;
10 powerpc*-*-openbsd*) host_cpu=powerpc host_os=bsd libdl_needed=no ;;
11 powerpc*-*-freebsd*) host_cpu=powerpc host_os=bsd libdl_needed=no ;;
12 @@ -22949,7 +22950,7 @@
13 ac_config_links="$ac_config_links src/arch.h:src/arch/$arch.h"
14
15
16 - ac_config_files="$ac_config_files Makefile src/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/parisc/Makefile src/os/darwin/i386/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/gnu/classpath/Makefile"
17 + ac_config_files="$ac_config_files Makefile src/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/mips/Makefile src/os/linux/parisc/Makefile src/os/darwin/i386/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/gnu/classpath/Makefile"
18
19
20 cat >confcache <<\_ACEOF
21 @@ -23537,6 +23538,7 @@
22 "src/os/linux/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/i386/Makefile" ;;
23 "src/os/linux/x86_64/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/x86_64/Makefile" ;;
24 "src/os/linux/parisc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/parisc/Makefile" ;;
25 + "src/os/linux/mips/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/mips/Makefile" ;;
26 "src/os/darwin/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/darwin/i386/Makefile" ;;
27 "src/os/darwin/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/darwin/powerpc/Makefile" ;;
28 "src/os/bsd/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/bsd/powerpc/Makefile" ;;
29 diff -ruN jamvm-1.4.4-old/configure.ac jamvm-1.4.4-new/configure.ac
30 --- jamvm-1.4.4-old/configure.ac 2006-12-18 15:31:28.000000000 +0100
31 +++ jamvm-1.4.4-new/configure.ac 2006-12-18 15:31:59.000000000 +0100
32 @@ -15,6 +15,7 @@
33 hppa*-*-linux*) host_cpu=parisc host_os=linux ;;
34 amd64-*-openbsd*) host_os=bsd libdl_needed=no ;;
35 amd64-*-freebsd*) host_os=bsd libdl_needed=no ;;
36 +mips*-linux*) host_cpu=mips host_os=linux ;;
37 arm*-*-linux*) host_cpu=arm host_os=linux ;;
38 arm*-*-openbsd*) host_cpu=arm host_os=bsd libdl_needed=no ;;
39 arm*-*-freebsd*) host_cpu=arm host_os=bsd libdl_needed=no ;;
40 @@ -229,6 +230,7 @@
41 src/os/linux/i386/Makefile \
42 src/os/linux/x86_64/Makefile \
43 src/os/linux/parisc/Makefile \
44 + src/os/linux/mips/Makefile \
45 src/os/darwin/i386/Makefile \
46 src/os/darwin/powerpc/Makefile \
47 src/os/bsd/powerpc/Makefile \
48 diff -ruN jamvm-1.4.4-old/src/arch/Makefile.am jamvm-1.4.4-new/src/arch/Makefile.am
49 --- jamvm-1.4.4-old/src/arch/Makefile.am 2006-12-18 15:31:28.000000000 +0100
50 +++ jamvm-1.4.4-new/src/arch/Makefile.am 2006-12-18 15:31:59.000000000 +0100
51 @@ -1,3 +1,3 @@
52 # used by automake to generate Makefile.in
53
54 -EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h
55 +EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h
56 diff -ruN jamvm-1.4.4-old/src/arch/Makefile.in jamvm-1.4.4-new/src/arch/Makefile.in
57 --- jamvm-1.4.4-old/src/arch/Makefile.in 2006-12-18 15:31:28.000000000 +0100
58 +++ jamvm-1.4.4-new/src/arch/Makefile.in 2006-12-18 15:31:59.000000000 +0100
59 @@ -158,7 +158,7 @@
60 use_zip_no = @use_zip_no@
61 use_zip_yes = @use_zip_yes@
62 with_classpath_install_dir = @with_classpath_install_dir@
63 -EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h
64 +EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h
65 all: all-am
66
67 .SUFFIXES:
68 diff -ruN jamvm-1.4.4-old/src/arch/mips.h jamvm-1.4.4-new/src/arch/mips.h
69 --- jamvm-1.4.4-old/src/arch/mips.h 1970-01-01 01:00:00.000000000 +0100
70 +++ jamvm-1.4.4-new/src/arch/mips.h 2006-12-18 15:31:59.000000000 +0100
71 @@ -0,0 +1,69 @@
72 +/*
73 + * Copyright (C) 2003, 2004, 2005 Robert Lougher <rob@lougher.demon.co.uk>.
74 + *
75 + * This file is part of JamVM.
76 + *
77 + * This program is free software; you can redistribute it and/or
78 + * modify it under the terms of the GNU General Public License
79 + * as published by the Free Software Foundation; either version 2,
80 + * or (at your option) any later version.
81 + *
82 + * This program is distributed in the hope that it will be useful,
83 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
84 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85 + * GNU General Public License for more details.
86 + *
87 + * You should have received a copy of the GNU General Public License
88 + * along with this program; if not, write to the Free Software
89 + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
90 + */
91 +
92 +#define OS_ARCH "mips"
93 +
94 +#include <bits/atomicity.h>
95 +
96 +/* Override default min and max heap sizes. mips machines are
97 + usually embedded, and the standard defaults are too large. */
98 +#define DEFAULT_MAX_HEAP 16*MB
99 +#define DEFAULT_MIN_HEAP 1*MB
100 +
101 +#ifdef DIRECT
102 +#define HANDLER_TABLE_T static const void
103 +#else
104 +#define HANDLER_TABLE_T void
105 +#endif
106 +
107 +#if defined(__MIPSEL__)
108 +#define DOUBLE_1_BITS 0x3ff0000000000000LL
109 +#else
110 +#error DOUBLE_1_BITS was not tested on a big endian mips!
111 +#define DOUBLE_1_BITS 0x000000003ff00000LL
112 +#endif
113 +
114 +#if defined(__MIPSEL__)
115 +#define READ_DBL(v,p,l) v = ((u8)p[0]<<56)|((u8)p[1]<<48)|((u8)p[2]<<40) \
116 + |((u8)p[3]<<32)|((u8)p[4]<<24)|((u8)p[5]<<16) \
117 + |((u8)p[6]<<8)|(u8)p[7]; p+=8
118 +#else
119 +#error READ_DBL was not tested on a big endian mips!
120 +#define READ_DBL(v,p,l) v = ((u8)p[4]<<56)|((u8)p[5]<<48)|((u8)p[6]<<40) \
121 + |((u8)p[7]<<32)|((u8)p[0]<<24)|((u8)p[1]<<16) \
122 + |((u8)p[2]<<8)|(u8)p[3]; p+=8
123 +#endif
124 +
125 +/* Needed for i386 -- empty here */
126 +#define FPU_HACK
127 +
128 +#define COMPARE_AND_SWAP(addr, old_val, new_val) compare_and_swap(addr,old_val,new_val)
129 +
130 +
131 +#define ATOMIC_READ(addr) *addr
132 +#define ATOMIC_WRITE(addr, new_val) *addr = new_val
133 +
134 +
135 +
136 +#define MBARRIER() __asm__ __volatile__ ("" ::: "memory")
137 +#define UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
138 +#define JMM_LOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
139 +#define JMM_UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
140 +
141 diff -ruN jamvm-1.4.4-old/src/os/linux/Makefile.am jamvm-1.4.4-new/src/os/linux/Makefile.am
142 --- jamvm-1.4.4-old/src/os/linux/Makefile.am 2006-12-18 15:31:28.000000000 +0100
143 +++ jamvm-1.4.4-new/src/os/linux/Makefile.am 2006-12-18 15:31:59.000000000 +0100
144 @@ -1,5 +1,5 @@
145 SUBDIRS = @arch@
146 -DIST_SUBDIRS = powerpc arm i386 x86_64 parisc
147 +DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips
148
149 noinst_LTLIBRARIES = libos.la
150 libos_la_SOURCES = os.c
151 diff -ruN jamvm-1.4.4-old/src/os/linux/Makefile.in jamvm-1.4.4-new/src/os/linux/Makefile.in
152 --- jamvm-1.4.4-old/src/os/linux/Makefile.in 2006-12-18 15:31:28.000000000 +0100
153 +++ jamvm-1.4.4-new/src/os/linux/Makefile.in 2006-12-18 15:31:59.000000000 +0100
154 @@ -181,7 +181,7 @@
155 use_zip_yes = @use_zip_yes@
156 with_classpath_install_dir = @with_classpath_install_dir@
157 SUBDIRS = @arch@
158 -DIST_SUBDIRS = powerpc arm i386 x86_64 parisc
159 +DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips
160 noinst_LTLIBRARIES = libos.la
161 libos_la_SOURCES = os.c
162 AM_CPPFLAGS = -I$(top_builddir)/src
163 diff -ruN jamvm-1.4.4-old/src/os/linux/mips/Makefile.am jamvm-1.4.4-new/src/os/linux/mips/Makefile.am
164 --- jamvm-1.4.4-old/src/os/linux/mips/Makefile.am 1970-01-01 01:00:00.000000000 +0100
165 +++ jamvm-1.4.4-new/src/os/linux/mips/Makefile.am 2006-12-18 15:36:03.000000000 +0100
166 @@ -0,0 +1,4 @@
167 +noinst_LTLIBRARIES = libnative.la
168 +libnative_la_SOURCES = init.c
169 +
170 +AM_CPPFLAGS = -I$(top_builddir)/src
171 diff -ruN jamvm-1.4.4-old/src/os/linux/mips/Makefile.in jamvm-1.4.4-new/src/os/linux/mips/Makefile.in
172 --- jamvm-1.4.4-old/src/os/linux/mips/Makefile.in 1970-01-01 01:00:00.000000000 +0100
173 +++ jamvm-1.4.4-new/src/os/linux/mips/Makefile.in 2006-12-18 15:49:53.000000000 +0100
174 @@ -0,0 +1,432 @@
175 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
176 +# @configure_input@
177 +
178 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
179 +# 2003, 2004, 2005 Free Software Foundation, Inc.
180 +# This Makefile.in is free software; the Free Software Foundation
181 +# gives unlimited permission to copy and/or distribute it,
182 +# with or without modifications, as long as this notice is preserved.
183 +
184 +# This program is distributed in the hope that it will be useful,
185 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
186 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
187 +# PARTICULAR PURPOSE.
188 +
189 +@SET_MAKE@
190 +
191 +srcdir = @srcdir@
192 +top_srcdir = @top_srcdir@
193 +VPATH = @srcdir@
194 +pkgdatadir = $(datadir)/@PACKAGE@
195 +pkglibdir = $(libdir)/@PACKAGE@
196 +pkgincludedir = $(includedir)/@PACKAGE@
197 +top_builddir = ../../../..
198 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
199 +INSTALL = @INSTALL@
200 +install_sh_DATA = $(install_sh) -c -m 644
201 +install_sh_PROGRAM = $(install_sh) -c
202 +install_sh_SCRIPT = $(install_sh) -c
203 +INSTALL_HEADER = $(INSTALL_DATA)
204 +transform = $(program_transform_name)
205 +NORMAL_INSTALL = :
206 +PRE_INSTALL = :
207 +POST_INSTALL = :
208 +NORMAL_UNINSTALL = :
209 +PRE_UNINSTALL = :
210 +POST_UNINSTALL = :
211 +build_triplet = @build@
212 +host_triplet = @host@
213 +subdir = src/os/linux/mips
214 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
215 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
216 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
217 + $(top_srcdir)/configure.ac
218 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
219 + $(ACLOCAL_M4)
220 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
221 +CONFIG_HEADER = $(top_builddir)/src/config.h
222 +CONFIG_CLEAN_FILES =
223 +LTLIBRARIES = $(noinst_LTLIBRARIES)
224 +libnative_la_LIBADD =
225 +am_libnative_la_OBJECTS = init.lo
226 +libnative_la_OBJECTS = $(am_libnative_la_OBJECTS)
227 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
228 +depcomp = $(SHELL) $(top_srcdir)/depcomp
229 +am__depfiles_maybe = depfiles
230 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
231 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
232 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
233 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
234 + $(AM_CFLAGS) $(CFLAGS)
235 +CCLD = $(CC)
236 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
237 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
238 +SOURCES = $(libnative_la_SOURCES)
239 +DIST_SOURCES = $(libnative_la_SOURCES)
240 +ETAGS = etags
241 +CTAGS = ctags
242 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
243 +ACLOCAL = @ACLOCAL@
244 +ALLOCA = @ALLOCA@
245 +AMDEP_FALSE = @AMDEP_FALSE@
246 +AMDEP_TRUE = @AMDEP_TRUE@
247 +AMTAR = @AMTAR@
248 +AR = @AR@
249 +AUTOCONF = @AUTOCONF@
250 +AUTOHEADER = @AUTOHEADER@
251 +AUTOMAKE = @AUTOMAKE@
252 +AWK = @AWK@
253 +CC = @CC@
254 +CCAS = @CCAS@
255 +CCASFLAGS = @CCASFLAGS@
256 +CCDEPMODE = @CCDEPMODE@
257 +CFLAGS = @CFLAGS@
258 +CPP = @CPP@
259 +CPPFLAGS = @CPPFLAGS@
260 +CXX = @CXX@
261 +CXXCPP = @CXXCPP@
262 +CXXDEPMODE = @CXXDEPMODE@
263 +CXXFLAGS = @CXXFLAGS@
264 +CYGPATH_W = @CYGPATH_W@
265 +DEFS = @DEFS@
266 +DEPDIR = @DEPDIR@
267 +ECHO = @ECHO@
268 +ECHO_C = @ECHO_C@
269 +ECHO_N = @ECHO_N@
270 +ECHO_T = @ECHO_T@
271 +EGREP = @EGREP@
272 +EXEEXT = @EXEEXT@
273 +F77 = @F77@
274 +FFLAGS = @FFLAGS@
275 +INSTALL_DATA = @INSTALL_DATA@
276 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
277 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
278 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
279 +JAVAC = @JAVAC@
280 +LDFLAGS = @LDFLAGS@
281 +LIBOBJS = @LIBOBJS@
282 +LIBS = @LIBS@
283 +LIBTOOL = @LIBTOOL@
284 +LN_S = @LN_S@
285 +LTLIBOBJS = @LTLIBOBJS@
286 +MAINT = @MAINT@
287 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
288 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
289 +MAKEINFO = @MAKEINFO@
290 +OBJEXT = @OBJEXT@
291 +PACKAGE = @PACKAGE@
292 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
293 +PACKAGE_NAME = @PACKAGE_NAME@
294 +PACKAGE_STRING = @PACKAGE_STRING@
295 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
296 +PACKAGE_VERSION = @PACKAGE_VERSION@
297 +PATH_SEPARATOR = @PATH_SEPARATOR@
298 +RANLIB = @RANLIB@
299 +SET_MAKE = @SET_MAKE@
300 +SHELL = @SHELL@
301 +STRIP = @STRIP@
302 +VERSION = @VERSION@
303 +ac_ct_AR = @ac_ct_AR@
304 +ac_ct_CC = @ac_ct_CC@
305 +ac_ct_CXX = @ac_ct_CXX@
306 +ac_ct_F77 = @ac_ct_F77@
307 +ac_ct_RANLIB = @ac_ct_RANLIB@
308 +ac_ct_STRIP = @ac_ct_STRIP@
309 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
310 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
311 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
312 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
313 +am__include = @am__include@
314 +am__leading_dot = @am__leading_dot@
315 +am__quote = @am__quote@
316 +am__tar = @am__tar@
317 +am__untar = @am__untar@
318 +arch = @arch@
319 +bindir = @bindir@
320 +build = @build@
321 +build_alias = @build_alias@
322 +build_cpu = @build_cpu@
323 +build_os = @build_os@
324 +build_vendor = @build_vendor@
325 +datadir = @datadir@
326 +exec_prefix = @exec_prefix@
327 +host = @host@
328 +host_alias = @host_alias@
329 +host_cpu = @host_cpu@
330 +host_os = @host_os@
331 +host_vendor = @host_vendor@
332 +includedir = @includedir@
333 +infodir = @infodir@
334 +install_sh = @install_sh@
335 +libdir = @libdir@
336 +libexecdir = @libexecdir@
337 +localstatedir = @localstatedir@
338 +mandir = @mandir@
339 +mkdir_p = @mkdir_p@
340 +oldincludedir = @oldincludedir@
341 +os = @os@
342 +prefix = @prefix@
343 +program_transform_name = @program_transform_name@
344 +sbindir = @sbindir@
345 +sharedstatedir = @sharedstatedir@
346 +sysconfdir = @sysconfdir@
347 +target_alias = @target_alias@
348 +use_zip_no = @use_zip_no@
349 +use_zip_yes = @use_zip_yes@
350 +with_classpath_install_dir = @with_classpath_install_dir@
351 +noinst_LTLIBRARIES = libnative.la
352 +libnative_la_SOURCES = init.c
353 +AM_CPPFLAGS = -I$(top_builddir)/src
354 +all: all-am
355 +
356 +.SUFFIXES:
357 +.SUFFIXES: .c .lo .o .obj
358 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
359 + @for dep in $?; do \
360 + case '$(am__configure_deps)' in \
361 + *$$dep*) \
362 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
363 + && exit 0; \
364 + exit 1;; \
365 + esac; \
366 + done; \
367 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/os/linux/mips/Makefile'; \
368 + cd $(top_srcdir) && \
369 + $(AUTOMAKE) --gnu src/os/linux/mips/Makefile
370 +.PRECIOUS: Makefile
371 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
372 + @case '$?' in \
373 + *config.status*) \
374 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
375 + *) \
376 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
377 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
378 + esac;
379 +
380 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
381 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382 +
383 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
384 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
385 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
386 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
387 +
388 +clean-noinstLTLIBRARIES:
389 + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
390 + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
391 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
392 + test "$$dir" != "$$p" || dir=.; \
393 + echo "rm -f \"$${dir}/so_locations\""; \
394 + rm -f "$${dir}/so_locations"; \
395 + done
396 +libnative.la: $(libnative_la_OBJECTS) $(libnative_la_DEPENDENCIES)
397 + $(LINK) $(libnative_la_LDFLAGS) $(libnative_la_OBJECTS) $(libnative_la_LIBADD) $(LIBS)
398 +
399 +mostlyclean-compile:
400 + -rm -f *.$(OBJEXT)
401 +
402 +distclean-compile:
403 + -rm -f *.tab.c
404 +
405 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@
406 +
407 +.c.o:
408 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
409 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
410 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
411 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
412 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
413 +
414 +.c.obj:
415 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
416 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
417 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
418 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
419 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
420 +
421 +.c.lo:
422 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
423 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
424 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
425 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
426 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
427 +
428 +mostlyclean-libtool:
429 + -rm -f *.lo
430 +
431 +clean-libtool:
432 + -rm -rf .libs _libs
433 +
434 +distclean-libtool:
435 + -rm -f libtool
436 +uninstall-info-am:
437 +
438 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
439 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
440 + unique=`for i in $$list; do \
441 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
442 + done | \
443 + $(AWK) ' { files[$$0] = 1; } \
444 + END { for (i in files) print i; }'`; \
445 + mkid -fID $$unique
446 +tags: TAGS
447 +
448 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
449 + $(TAGS_FILES) $(LISP)
450 + tags=; \
451 + here=`pwd`; \
452 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
453 + unique=`for i in $$list; do \
454 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
455 + done | \
456 + $(AWK) ' { files[$$0] = 1; } \
457 + END { for (i in files) print i; }'`; \
458 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
459 + test -n "$$unique" || unique=$$empty_fix; \
460 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
461 + $$tags $$unique; \
462 + fi
463 +ctags: CTAGS
464 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
465 + $(TAGS_FILES) $(LISP)
466 + tags=; \
467 + here=`pwd`; \
468 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
469 + unique=`for i in $$list; do \
470 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
471 + done | \
472 + $(AWK) ' { files[$$0] = 1; } \
473 + END { for (i in files) print i; }'`; \
474 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
475 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
476 + $$tags $$unique
477 +
478 +GTAGS:
479 + here=`$(am__cd) $(top_builddir) && pwd` \
480 + && cd $(top_srcdir) \
481 + && gtags -i $(GTAGS_ARGS) $$here
482 +
483 +distclean-tags:
484 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
485 +
486 +distdir: $(DISTFILES)
487 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
488 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
489 + list='$(DISTFILES)'; for file in $$list; do \
490 + case $$file in \
491 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
492 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
493 + esac; \
494 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
495 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
496 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
497 + dir="/$$dir"; \
498 + $(mkdir_p) "$(distdir)$$dir"; \
499 + else \
500 + dir=''; \
501 + fi; \
502 + if test -d $$d/$$file; then \
503 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
504 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
505 + fi; \
506 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
507 + else \
508 + test -f $(distdir)/$$file \
509 + || cp -p $$d/$$file $(distdir)/$$file \
510 + || exit 1; \
511 + fi; \
512 + done
513 +check-am: all-am
514 +check: check-am
515 +all-am: Makefile $(LTLIBRARIES)
516 +installdirs:
517 +install: install-am
518 +install-exec: install-exec-am
519 +install-data: install-data-am
520 +uninstall: uninstall-am
521 +
522 +install-am: all-am
523 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
524 +
525 +installcheck: installcheck-am
526 +install-strip:
527 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
528 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
529 + `test -z '$(STRIP)' || \
530 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
531 +mostlyclean-generic:
532 +
533 +clean-generic:
534 +
535 +distclean-generic:
536 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
537 +
538 +maintainer-clean-generic:
539 + @echo "This command is intended for maintainers to use"
540 + @echo "it deletes files that may require special tools to rebuild."
541 +clean: clean-am
542 +
543 +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
544 + mostlyclean-am
545 +
546 +distclean: distclean-am
547 + -rm -rf ./$(DEPDIR)
548 + -rm -f Makefile
549 +distclean-am: clean-am distclean-compile distclean-generic \
550 + distclean-libtool distclean-tags
551 +
552 +dvi: dvi-am
553 +
554 +dvi-am:
555 +
556 +html: html-am
557 +
558 +info: info-am
559 +
560 +info-am:
561 +
562 +install-data-am:
563 +
564 +install-exec-am:
565 +
566 +install-info: install-info-am
567 +
568 +install-man:
569 +
570 +installcheck-am:
571 +
572 +maintainer-clean: maintainer-clean-am
573 + -rm -rf ./$(DEPDIR)
574 + -rm -f Makefile
575 +maintainer-clean-am: distclean-am maintainer-clean-generic
576 +
577 +mostlyclean: mostlyclean-am
578 +
579 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
580 + mostlyclean-libtool
581 +
582 +pdf: pdf-am
583 +
584 +pdf-am:
585 +
586 +ps: ps-am
587 +
588 +ps-am:
589 +
590 +uninstall-am: uninstall-info-am
591 +
592 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
593 + clean-libtool clean-noinstLTLIBRARIES ctags distclean \
594 + distclean-compile distclean-generic distclean-libtool \
595 + distclean-tags distdir dvi dvi-am html html-am info info-am \
596 + install install-am install-data install-data-am install-exec \
597 + install-exec-am install-info install-info-am install-man \
598 + install-strip installcheck installcheck-am installdirs \
599 + maintainer-clean maintainer-clean-generic mostlyclean \
600 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
601 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
602 + uninstall-info-am
603 +
604 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
605 +# Otherwise a system limit (for SysV at least) may be exceeded.
606 +.NOEXPORT:
607 diff -ruN jamvm-1.4.4-old/src/os/linux/mips/init.c jamvm-1.4.4-new/src/os/linux/mips/init.c
608 --- jamvm-1.4.4-old/src/os/linux/mips/init.c 1970-01-01 01:00:00.000000000 +0100
609 +++ jamvm-1.4.4-new/src/os/linux/mips/init.c 2006-12-18 15:31:59.000000000 +0100
610 @@ -0,0 +1,23 @@
611 +/*
612 + * Copyright (C) 2003, 2004 Robert Lougher <rob@lougher.demon.co.uk>.
613 + *
614 + * This file is part of JamVM.
615 + *
616 + * This program is free software; you can redistribute it and/or
617 + * modify it under the terms of the GNU General Public License
618 + * as published by the Free Software Foundation; either version 2,
619 + * or (at your option) any later version.
620 + *
621 + * This program is distributed in the hope that it will be useful,
622 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
623 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
624 + * GNU General Public License for more details.
625 + *
626 + * You should have received a copy of the GNU General Public License
627 + * along with this program; if not, write to the Free Software
628 + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
629 + */
630 +
631 +void initialisePlatform() {
632 + /* Nothing to do for mips */
633 +}