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