source:
freewrt/package/jamvm/patches/100-jamvm-mips.patch@
d419478
| Last change on this file since d419478 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 21.8 KB | |
-
configure
diff -urN jamvm-1.4.0-orig/configure jamvm-1.4.0/configure
old new 1934 1934 i[456]86-*-openbsd*) host_cpu=i386 host_os=linux libdl_needed=no ;; 1935 1935 x86_64-*-linux*) host_os=linux ;; 1936 1936 arm*-*-linux*) host_cpu=arm host_os=linux ;; 1937 mips*-linux*) host_cpu=mips host_os=linux ;; 1937 1938 powerpc*-*-linux*) host_cpu=powerpc host_os=linux ;; 1938 1939 powerpc-*-darwin*) host_os=darwin ;; 1939 1940 *) { { echo "$as_me:$LINENO: error: $host not supported" >&5 … … 5742 5743 ac_config_links="$ac_config_links src/arch.h:src/arch/$arch.h" 5743 5744 5744 5745 5745 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"5746 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" 5746 5747 5747 5748 5748 5749 cat >confcache <<\_ACEOF … … 6340 6341 "src/os/linux/arm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/arm/Makefile" ;; 6341 6342 "src/os/linux/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/i386/Makefile" ;; 6342 6343 "src/os/linux/x86_64/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/x86_64/Makefile" ;; 6344 "src/os/linux/mips/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/linux/mips/Makefile" ;; 6343 6345 "src/os/darwin/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/darwin/powerpc/Makefile" ;; 6344 6346 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 6345 6347 "lib/java/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/java/Makefile" ;; -
configure.ac
diff -urN jamvm-1.4.0-orig/configure.ac jamvm-1.4.0/configure.ac
old new 60 60 i[[456]]86-*-openbsd*) host_cpu=i386 host_os=linux libdl_needed=no ;; 61 61 x86_64-*-linux*) host_os=linux ;; 62 62 arm*-*-linux*) host_cpu=arm host_os=linux ;; 63 mips*-linux*) host_cpu=mips host_os=linux ;; 63 64 powerpc*-*-linux*) host_cpu=powerpc host_os=linux ;; 64 65 powerpc-*-darwin*) host_os=darwin ;; 65 66 *) AC_MSG_ERROR($host not supported) ;; … … 202 203 src/os/linux/arm/Makefile \ 203 204 src/os/linux/i386/Makefile \ 204 205 src/os/linux/x86_64/Makefile \ 206 src/os/linux/mips/Makefile \ 205 207 src/os/darwin/powerpc/Makefile \ 206 208 lib/Makefile \ 207 209 lib/java/Makefile \ -
src/arch/Makefile.am
diff -urN jamvm-1.4.0-orig/src/arch/Makefile.am jamvm-1.4.0/src/arch/Makefile.am
old new 1 1 # used by automake to generate Makefile.in 2 2 3 EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h 3 EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h mips.h -
src/arch/Makefile.in
diff -urN jamvm-1.4.0-orig/src/arch/Makefile.in jamvm-1.4.0/src/arch/Makefile.in
old new 141 141 use_zip_no = @use_zip_no@ 142 142 use_zip_yes = @use_zip_yes@ 143 143 with_classpath_install_dir = @with_classpath_install_dir@ 144 EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h 144 EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h mips.h 145 145 all: all-am 146 146 147 147 .SUFFIXES: -
src/arch/mips.h
diff -urN jamvm-1.4.0-orig/src/arch/mips.h jamvm-1.4.0/src/arch/mips.h
old new 1 /* 2 * Copyright (C) 2003, 2004, 2005 Robert Lougher <rob@lougher.demon.co.uk>. 3 * 4 * This file is part of JamVM. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2, 9 * or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 */ 20 21 #define OS_ARCH "mips" 22 23 #include <bits/atomicity.h> 24 #include <asm/atomic.h> 25 26 /* Override default min and max heap sizes. mips machines are 27 usually embedded, and the standard defaults are too large. */ 28 #define DEFAULT_MAX_HEAP 16*MB 29 #define DEFAULT_MIN_HEAP 1*MB 30 31 #ifdef DIRECT 32 #define HANDLER_TABLE_T static const void 33 #else 34 #define HANDLER_TABLE_T void 35 #endif 36 37 #if defined(__MIPSEL__) 38 #define DOUBLE_1_BITS 0x3ff0000000000000LL 39 #else 40 #error DOUBLE_1_BITS was not tested on a big endian mips! 41 #define DOUBLE_1_BITS 0x000000003ff00000LL 42 #endif 43 44 #if defined(__MIPSEL__) 45 #define READ_DBL(v,p,l) v = ((u8)p[0]<<56)|((u8)p[1]<<48)|((u8)p[2]<<40) \ 46 |((u8)p[3]<<32)|((u8)p[4]<<24)|((u8)p[5]<<16) \ 47 |((u8)p[6]<<8)|(u8)p[7]; p+=8 48 #else 49 #error READ_DBL was not tested on a big endian mips! 50 #define READ_DBL(v,p,l) v = ((u8)p[4]<<56)|((u8)p[5]<<48)|((u8)p[6]<<40) \ 51 |((u8)p[7]<<32)|((u8)p[0]<<24)|((u8)p[1]<<16) \ 52 |((u8)p[2]<<8)|(u8)p[3]; p+=8 53 #endif 54 55 /* Needed for i386 -- empty here */ 56 #define FPU_HACK 57 58 #define COMPARE_AND_SWAP(addr, old_val, new_val) compare_and_swap(addr,old_val,new_val) 59 60 61 #define ATOMIC_READ(addr) *addr 62 #define ATOMIC_WRITE(addr, new_val) *addr = new_val 63 64 65 66 #define MBARRIER() __asm__ __volatile__ ("" ::: "memory") 67 #define UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory") 68 #define JMM_LOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory") 69 #define JMM_UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory") 70 -
src/os/linux/Makefile.am
diff -urN jamvm-1.4.0-orig/src/os/linux/Makefile.am jamvm-1.4.0/src/os/linux/Makefile.am
old new 1 1 SUBDIRS = @arch@ 2 DIST_SUBDIRS = powerpc arm i386 x86_64 2 DIST_SUBDIRS = powerpc arm i386 x86_64 mips 3 3 4 4 noinst_LIBRARIES = libos.a 5 5 libos_a_SOURCES = dll_os.c -
src/os/linux/Makefile.in
diff -urN jamvm-1.4.0-orig/src/os/linux/Makefile.in jamvm-1.4.0/src/os/linux/Makefile.in
old new 163 163 use_zip_yes = @use_zip_yes@ 164 164 with_classpath_install_dir = @with_classpath_install_dir@ 165 165 SUBDIRS = @arch@ 166 DIST_SUBDIRS = powerpc arm i386 x86_64 166 DIST_SUBDIRS = powerpc arm i386 x86_64 mips 167 167 noinst_LIBRARIES = libos.a 168 168 libos_a_SOURCES = dll_os.c 169 169 EXTRA_DIST = dll_os.c -
src/os/linux/mips/init.c
diff -urN jamvm-1.4.0-orig/src/os/linux/mips/init.c jamvm-1.4.0/src/os/linux/mips/init.c
old new 1 /* 2 * Copyright (C) 2003, 2004 Robert Lougher <rob@lougher.demon.co.uk>. 3 * 4 * This file is part of JamVM. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2, 9 * or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 */ 20 21 void initialisePlatform() { 22 /* Nothing to do for mips */ 23 } -
src/os/linux/mips/Makefile.am
diff -urN jamvm-1.4.0-orig/src/os/linux/mips/Makefile.am jamvm-1.4.0/src/os/linux/mips/Makefile.am
old new 1 noinst_LIBRARIES = libnative.a 2 libnative_a_SOURCES = init.c 3 4 AM_CPPFLAGS = -I$(top_builddir)/src -
src/os/linux/mips/Makefile.in
diff -urN jamvm-1.4.0-orig/src/os/linux/mips/Makefile.in jamvm-1.4.0/src/os/linux/mips/Makefile.in
old new 1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 # @configure_input@ 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 @SET_MAKE@ 16 17 srcdir = @srcdir@ 18 top_srcdir = @top_srcdir@ 19 VPATH = @srcdir@ 20 pkgdatadir = $(datadir)/@PACKAGE@ 21 pkglibdir = $(libdir)/@PACKAGE@ 22 pkgincludedir = $(includedir)/@PACKAGE@ 23 top_builddir = ../../../.. 24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 25 INSTALL = @INSTALL@ 26 install_sh_DATA = $(install_sh) -c -m 644 27 install_sh_PROGRAM = $(install_sh) -c 28 install_sh_SCRIPT = $(install_sh) -c 29 INSTALL_HEADER = $(INSTALL_DATA) 30 transform = $(program_transform_name) 31 NORMAL_INSTALL = : 32 PRE_INSTALL = : 33 POST_INSTALL = : 34 NORMAL_UNINSTALL = : 35 PRE_UNINSTALL = : 36 POST_UNINSTALL = : 37 build_triplet = @build@ 38 host_triplet = @host@ 39 subdir = src/os/linux/mips 40 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 43 $(top_srcdir)/configure.ac 44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 45 $(ACLOCAL_M4) 46 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 47 CONFIG_CLEAN_FILES = 48 LIBRARIES = $(noinst_LIBRARIES) 49 AR = ar 50 ARFLAGS = cru 51 libnative_a_AR = $(AR) $(ARFLAGS) 52 libnative_a_LIBADD = 53 am_libnative_a_OBJECTS = init.$(OBJEXT) 54 libnative_a_OBJECTS = $(am_libnative_a_OBJECTS) 55 DEFAULT_INCLUDES = -I. -I$(srcdir) 56 depcomp = $(SHELL) $(top_srcdir)/depcomp 57 am__depfiles_maybe = depfiles 58 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 59 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 60 CCLD = $(CC) 61 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 62 SOURCES = $(libnative_a_SOURCES) 63 DIST_SOURCES = $(libnative_a_SOURCES) 64 ETAGS = etags 65 CTAGS = ctags 66 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 67 ACLOCAL = @ACLOCAL@ 68 ALLOCA = @ALLOCA@ 69 AMDEP_FALSE = @AMDEP_FALSE@ 70 AMDEP_TRUE = @AMDEP_TRUE@ 71 AMTAR = @AMTAR@ 72 AUTOCONF = @AUTOCONF@ 73 AUTOHEADER = @AUTOHEADER@ 74 AUTOMAKE = @AUTOMAKE@ 75 AWK = @AWK@ 76 CC = @CC@ 77 CCAS = @CCAS@ 78 CCASFLAGS = @CCASFLAGS@ 79 CCDEPMODE = @CCDEPMODE@ 80 CFLAGS = @CFLAGS@ 81 CPP = @CPP@ 82 CPPFLAGS = @CPPFLAGS@ 83 CYGPATH_W = @CYGPATH_W@ 84 DEFS = @DEFS@ 85 DEPDIR = @DEPDIR@ 86 ECHO_C = @ECHO_C@ 87 ECHO_N = @ECHO_N@ 88 ECHO_T = @ECHO_T@ 89 EGREP = @EGREP@ 90 EXEEXT = @EXEEXT@ 91 INSTALL_DATA = @INSTALL_DATA@ 92 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 93 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 94 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 95 LDFLAGS = @LDFLAGS@ 96 LIBOBJS = @LIBOBJS@ 97 LIBS = @LIBS@ 98 LTLIBOBJS = @LTLIBOBJS@ 99 MAINT = @MAINT@ 100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ 101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 102 MAKEINFO = @MAKEINFO@ 103 OBJEXT = @OBJEXT@ 104 PACKAGE = @PACKAGE@ 105 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 106 PACKAGE_NAME = @PACKAGE_NAME@ 107 PACKAGE_STRING = @PACKAGE_STRING@ 108 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 109 PACKAGE_VERSION = @PACKAGE_VERSION@ 110 PATH_SEPARATOR = @PATH_SEPARATOR@ 111 RANLIB = @RANLIB@ 112 SET_MAKE = @SET_MAKE@ 113 SHELL = @SHELL@ 114 STRIP = @STRIP@ 115 VERSION = @VERSION@ 116 ac_ct_CC = @ac_ct_CC@ 117 ac_ct_RANLIB = @ac_ct_RANLIB@ 118 ac_ct_STRIP = @ac_ct_STRIP@ 119 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 120 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 121 am__include = @am__include@ 122 am__leading_dot = @am__leading_dot@ 123 am__quote = @am__quote@ 124 am__tar = @am__tar@ 125 am__untar = @am__untar@ 126 arch = @arch@ 127 bindir = @bindir@ 128 build = @build@ 129 build_alias = @build_alias@ 130 build_cpu = @build_cpu@ 131 build_os = @build_os@ 132 build_vendor = @build_vendor@ 133 datadir = @datadir@ 134 exec_prefix = @exec_prefix@ 135 host = @host@ 136 host_alias = @host_alias@ 137 host_cpu = @host_cpu@ 138 host_os = @host_os@ 139 host_vendor = @host_vendor@ 140 includedir = @includedir@ 141 infodir = @infodir@ 142 install_sh = @install_sh@ 143 libdir = @libdir@ 144 libexecdir = @libexecdir@ 145 localstatedir = @localstatedir@ 146 mandir = @mandir@ 147 mkdir_p = @mkdir_p@ 148 oldincludedir = @oldincludedir@ 149 os = @os@ 150 prefix = @prefix@ 151 program_transform_name = @program_transform_name@ 152 sbindir = @sbindir@ 153 sharedstatedir = @sharedstatedir@ 154 sysconfdir = @sysconfdir@ 155 target_alias = @target_alias@ 156 use_zip_no = @use_zip_no@ 157 use_zip_yes = @use_zip_yes@ 158 with_classpath_install_dir = @with_classpath_install_dir@ 159 noinst_LIBRARIES = libnative.a 160 libnative_a_SOURCES = init.c 161 AM_CPPFLAGS = -I$(top_builddir)/src 162 all: all-am 163 164 .SUFFIXES: 165 .SUFFIXES: .c .o .obj 166 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) 167 @for dep in $?; do \ 168 case '$(am__configure_deps)' in \ 169 *$$dep*) \ 170 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 171 && exit 0; \ 172 exit 1;; \ 173 esac; \ 174 done; \ 175 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/os/linux/mips/Makefile'; \ 176 cd $(top_srcdir) && \ 177 $(AUTOMAKE) --gnu src/os/linux/mips/Makefile 178 .PRECIOUS: Makefile 179 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 180 @case '$?' in \ 181 *config.status*) \ 182 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 183 *) \ 184 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 185 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 186 esac; 187 188 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 189 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 190 191 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 192 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 193 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 194 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 195 196 clean-noinstLIBRARIES: 197 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) 198 libnative.a: $(libnative_a_OBJECTS) $(libnative_a_DEPENDENCIES) 199 -rm -f libnative.a 200 $(libnative_a_AR) libnative.a $(libnative_a_OBJECTS) $(libnative_a_LIBADD) 201 $(RANLIB) libnative.a 202 203 mostlyclean-compile: 204 -rm -f *.$(OBJEXT) 205 206 distclean-compile: 207 -rm -f *.tab.c 208 209 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Po@am__quote@ 210 211 .c.o: 212 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 213 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 214 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 215 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 216 @am__fastdepCC_FALSE@ $(COMPILE) -c $< 217 218 .c.obj: 219 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 220 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 221 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 222 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 223 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 224 uninstall-info-am: 225 226 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 227 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 228 unique=`for i in $$list; do \ 229 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 230 done | \ 231 $(AWK) ' { files[$$0] = 1; } \ 232 END { for (i in files) print i; }'`; \ 233 mkid -fID $$unique 234 tags: TAGS 235 236 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 237 $(TAGS_FILES) $(LISP) 238 tags=; \ 239 here=`pwd`; \ 240 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 241 unique=`for i in $$list; do \ 242 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 243 done | \ 244 $(AWK) ' { files[$$0] = 1; } \ 245 END { for (i in files) print i; }'`; \ 246 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 247 test -n "$$unique" || unique=$$empty_fix; \ 248 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 249 $$tags $$unique; \ 250 fi 251 ctags: CTAGS 252 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 253 $(TAGS_FILES) $(LISP) 254 tags=; \ 255 here=`pwd`; \ 256 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 257 unique=`for i in $$list; do \ 258 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 259 done | \ 260 $(AWK) ' { files[$$0] = 1; } \ 261 END { for (i in files) print i; }'`; \ 262 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 263 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 264 $$tags $$unique 265 266 GTAGS: 267 here=`$(am__cd) $(top_builddir) && pwd` \ 268 && cd $(top_srcdir) \ 269 && gtags -i $(GTAGS_ARGS) $$here 270 271 distclean-tags: 272 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 273 274 distdir: $(DISTFILES) 275 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 276 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 277 list='$(DISTFILES)'; for file in $$list; do \ 278 case $$file in \ 279 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 280 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 281 esac; \ 282 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 283 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 284 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 285 dir="/$$dir"; \ 286 $(mkdir_p) "$(distdir)$$dir"; \ 287 else \ 288 dir=''; \ 289 fi; \ 290 if test -d $$d/$$file; then \ 291 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 292 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 293 fi; \ 294 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 295 else \ 296 test -f $(distdir)/$$file \ 297 || cp -p $$d/$$file $(distdir)/$$file \ 298 || exit 1; \ 299 fi; \ 300 done 301 check-am: all-am 302 check: check-am 303 all-am: Makefile $(LIBRARIES) 304 installdirs: 305 install: install-am 306 install-exec: install-exec-am 307 install-data: install-data-am 308 uninstall: uninstall-am 309 310 install-am: all-am 311 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 312 313 installcheck: installcheck-am 314 install-strip: 315 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 316 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 317 `test -z '$(STRIP)' || \ 318 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 319 mostlyclean-generic: 320 321 clean-generic: 322 323 distclean-generic: 324 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 325 326 maintainer-clean-generic: 327 @echo "This command is intended for maintainers to use" 328 @echo "it deletes files that may require special tools to rebuild." 329 clean: clean-am 330 331 clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am 332 333 distclean: distclean-am 334 -rm -rf ./$(DEPDIR) 335 -rm -f Makefile 336 distclean-am: clean-am distclean-compile distclean-generic \ 337 distclean-tags 338 339 dvi: dvi-am 340 341 dvi-am: 342 343 html: html-am 344 345 info: info-am 346 347 info-am: 348 349 install-data-am: 350 351 install-exec-am: 352 353 install-info: install-info-am 354 355 install-man: 356 357 installcheck-am: 358 359 maintainer-clean: maintainer-clean-am 360 -rm -rf ./$(DEPDIR) 361 -rm -f Makefile 362 maintainer-clean-am: distclean-am maintainer-clean-generic 363 364 mostlyclean: mostlyclean-am 365 366 mostlyclean-am: mostlyclean-compile mostlyclean-generic 367 368 pdf: pdf-am 369 370 pdf-am: 371 372 ps: ps-am 373 374 ps-am: 375 376 uninstall-am: uninstall-info-am 377 378 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ 379 clean-noinstLIBRARIES ctags distclean distclean-compile \ 380 distclean-generic distclean-tags distdir dvi dvi-am html \ 381 html-am info info-am install install-am install-data \ 382 install-data-am install-exec install-exec-am install-info \ 383 install-info-am install-man install-strip installcheck \ 384 installcheck-am installdirs maintainer-clean \ 385 maintainer-clean-generic mostlyclean mostlyclean-compile \ 386 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 387 uninstall-am uninstall-info-am 388 389 # Tell versions [3.59,3.63) of GNU make to not export all variables. 390 # Otherwise a system limit (for SysV at least) may be exceeded. 391 .NOEXPORT:
Note:
See TracBrowser
for help on using the repository browser.
