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