URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-dev
- from Rev 776 to Rev 777
- ↔ Reverse comparison
Rev 776 → Rev 777
/or1k-gcc/libjava/classpath/scripts/classpath.spec.in
0,0 → 1,66
# $Id: classpath.spec.in,v 1.3 2006/12/10 20:25:50 gnu_andrew Exp $ |
|
%define version_num @PACKAGE_VERSION@ |
%define release_num 1 |
|
Summary: GNU Classpath Java class libraries |
Name: classpath |
Version: %{version_num} |
Release: %{release_num} |
Group: Development/Tools |
Copyright: GPL+exception |
URL: http://www.classpath.org/ |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRequires: jikes, zip |
Packager: GNU Classpath <classpath@gnu.org> |
Source: ftp://ftp.gnu.org/pub/gnu/classpath/classpath-%{version_num}.tar.gz |
|
%description |
GNU Classpath, Essential Libraries for Java, is a GNU project to create |
free core class libraries for use with virtual machines and compilers |
for the Java programming language. |
|
%prep |
%setup -n classpath-%{version_num} |
|
%build |
pushd ${RPM_BUILD_DIR}/classpath-%{version_num} |
# Determine if we can build the GTK stuff |
GTKPEER='disable' |
if pkg-config --exists 'gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0'; then |
GTKPEER='enable' |
fi |
%configure --with-jikes --enable-jni --${GTKPEER}-gtk-peer |
make |
popd |
|
%install |
pushd ${RPM_BUILD_DIR}/classpath-%{version_num} |
%{makeinstall} |
popd |
|
pushd ${RPM_BUILD_ROOT}/%{_infodir} |
rm -f dir |
for i in *; do |
mv $i classpath-$i |
done |
popd |
|
%post -p /sbin/ldconfig |
|
%postun -p /sbin/ldconfig |
|
%clean |
rm -rf ${RPM_BUILD_ROOT} |
|
%files |
%defattr(-,root,root) |
%doc AUTHORS COPYING LICENSE README THANKYOU |
%{_libdir}/classpath |
%dir %{_datadir}/classpath |
%{_libdir}/security/classpath.security |
%{_datadir}/classpath/glibj.zip |
%doc %{_datadir}/classpath/api |
%doc %{_datadir}/classpath/examples |
%doc %{_infodir}/* |
|
/or1k-gcc/libjava/classpath/scripts/Makefile.in
0,0 → 1,476
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
# Inc. |
# This Makefile.in is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# with or without modifications, as long as this notice is preserved. |
|
# This program is distributed in the hope that it will be useful, |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
# PARTICULAR PURPOSE. |
|
@SET_MAKE@ |
VPATH = @srcdir@ |
pkgdatadir = $(datadir)/@PACKAGE@ |
pkgincludedir = $(includedir)/@PACKAGE@ |
pkglibdir = $(libdir)/@PACKAGE@ |
pkglibexecdir = $(libexecdir)/@PACKAGE@ |
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
install_sh_DATA = $(install_sh) -c -m 644 |
install_sh_PROGRAM = $(install_sh) -c |
install_sh_SCRIPT = $(install_sh) -c |
INSTALL_HEADER = $(INSTALL_DATA) |
transform = $(program_transform_name) |
NORMAL_INSTALL = : |
PRE_INSTALL = : |
POST_INSTALL = : |
NORMAL_UNINSTALL = : |
PRE_UNINSTALL = : |
POST_UNINSTALL = : |
build_triplet = @build@ |
host_triplet = @host@ |
target_triplet = @target@ |
subdir = scripts |
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
$(srcdir)/check_jni_methods.sh.in $(srcdir)/classpath.spec.in |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ |
$(top_srcdir)/../../config/lead-dot.m4 \ |
$(top_srcdir)/../../config/lib-ld.m4 \ |
$(top_srcdir)/../../config/lib-link.m4 \ |
$(top_srcdir)/../../config/lib-prefix.m4 \ |
$(top_srcdir)/../../config/multi.m4 \ |
$(top_srcdir)/../../config/no-executables.m4 \ |
$(top_srcdir)/../../config/override.m4 \ |
$(top_srcdir)/../../libtool.m4 \ |
$(top_srcdir)/../../ltoptions.m4 \ |
$(top_srcdir)/../../ltsugar.m4 \ |
$(top_srcdir)/../../ltversion.m4 \ |
$(top_srcdir)/../../lt~obsolete.m4 \ |
$(top_srcdir)/m4/ac_prog_antlr.m4 \ |
$(top_srcdir)/m4/ac_prog_java.m4 \ |
$(top_srcdir)/m4/ac_prog_java_works.m4 \ |
$(top_srcdir)/m4/ac_prog_javac.m4 \ |
$(top_srcdir)/m4/ac_prog_javac_works.m4 \ |
$(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ |
$(top_srcdir)/m4/acinclude.m4 \ |
$(top_srcdir)/m4/ax_create_stdint_h.m4 \ |
$(top_srcdir)/m4/ax_func_which_gethostbyname_r.m4 \ |
$(top_srcdir)/m4/gcc_attribute.m4 $(top_srcdir)/m4/iconv.m4 \ |
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/configure.ac |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
$(ACLOCAL_M4) |
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs |
CONFIG_HEADER = $(top_builddir)/include/config.h |
CONFIG_CLEAN_FILES = classpath.spec check_jni_methods.sh |
CONFIG_CLEAN_VPATH_FILES = |
SOURCES = |
DIST_SOURCES = |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
ACLOCAL = @ACLOCAL@ |
AMTAR = @AMTAR@ |
ANTLR = @ANTLR@ |
ANTLR_JAR = @ANTLR_JAR@ |
AR = @AR@ |
AUTOCONF = @AUTOCONF@ |
AUTOHEADER = @AUTOHEADER@ |
AUTOMAKE = @AUTOMAKE@ |
AWK = @AWK@ |
CAIRO_CFLAGS = @CAIRO_CFLAGS@ |
CAIRO_LIBS = @CAIRO_LIBS@ |
CC = @CC@ |
CCDEPMODE = @CCDEPMODE@ |
CFLAGS = @CFLAGS@ |
CLASSPATH_CONVENIENCE = @CLASSPATH_CONVENIENCE@ |
CLASSPATH_INCLUDES = @CLASSPATH_INCLUDES@ |
CLASSPATH_MODULE = @CLASSPATH_MODULE@ |
COLLECTIONS_PREFIX = @COLLECTIONS_PREFIX@ |
CP = @CP@ |
CPP = @CPP@ |
CPPFLAGS = @CPPFLAGS@ |
CXX = @CXX@ |
CXXCPP = @CXXCPP@ |
CXXDEPMODE = @CXXDEPMODE@ |
CXXFLAGS = @CXXFLAGS@ |
CYGPATH_W = @CYGPATH_W@ |
DATE = @DATE@ |
DEFAULT_PREFS_PEER = @DEFAULT_PREFS_PEER@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
ECHO_N = @ECHO_N@ |
ECHO_T = @ECHO_T@ |
ECJ_JAR = @ECJ_JAR@ |
EGREP = @EGREP@ |
ERROR_CFLAGS = @ERROR_CFLAGS@ |
EXAMPLESDIR = @EXAMPLESDIR@ |
EXEEXT = @EXEEXT@ |
EXTRA_CFLAGS = @EXTRA_CFLAGS@ |
FGREP = @FGREP@ |
FIND = @FIND@ |
FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@ |
FREETYPE2_LIBS = @FREETYPE2_LIBS@ |
GCONF_CFLAGS = @GCONF_CFLAGS@ |
GCONF_LIBS = @GCONF_LIBS@ |
GDK_CFLAGS = @GDK_CFLAGS@ |
GDK_LIBS = @GDK_LIBS@ |
GJDOC = @GJDOC@ |
GLIB_CFLAGS = @GLIB_CFLAGS@ |
GLIB_LIBS = @GLIB_LIBS@ |
GMP_CFLAGS = @GMP_CFLAGS@ |
GMP_LIBS = @GMP_LIBS@ |
GREP = @GREP@ |
GSTREAMER_BASE_CFLAGS = @GSTREAMER_BASE_CFLAGS@ |
GSTREAMER_BASE_LIBS = @GSTREAMER_BASE_LIBS@ |
GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ |
GSTREAMER_FILE_READER = @GSTREAMER_FILE_READER@ |
GSTREAMER_LIBS = @GSTREAMER_LIBS@ |
GSTREAMER_MIXER_PROVIDER = @GSTREAMER_MIXER_PROVIDER@ |
GSTREAMER_PLUGINS_BASE_CFLAGS = @GSTREAMER_PLUGINS_BASE_CFLAGS@ |
GSTREAMER_PLUGINS_BASE_LIBS = @GSTREAMER_PLUGINS_BASE_LIBS@ |
GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ |
GTK_CFLAGS = @GTK_CFLAGS@ |
GTK_LIBS = @GTK_LIBS@ |
INIT_LOAD_LIBRARY = @INIT_LOAD_LIBRARY@ |
INSTALL = @INSTALL@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
JAR = @JAR@ |
JAVA = @JAVA@ |
JAVAC = @JAVAC@ |
JAVAC_IS_GCJ = @JAVAC_IS_GCJ@ |
JAVAC_MEM_OPT = @JAVAC_MEM_OPT@ |
JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@ |
JAY = @JAY@ |
JAY_SKELETON = @JAY_SKELETON@ |
LD = @LD@ |
LDFLAGS = @LDFLAGS@ |
LIBDEBUG = @LIBDEBUG@ |
LIBICONV = @LIBICONV@ |
LIBMAGIC = @LIBMAGIC@ |
LIBOBJS = @LIBOBJS@ |
LIBS = @LIBS@ |
LIBTOOL = @LIBTOOL@ |
LIBVERSION = @LIBVERSION@ |
LIPO = @LIPO@ |
LN_S = @LN_S@ |
LTLIBICONV = @LTLIBICONV@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAINT = @MAINT@ |
MAKEINFO = @MAKEINFO@ |
MKDIR = @MKDIR@ |
MKDIR_P = @MKDIR_P@ |
MOC = @MOC@ |
MOZILLA_CFLAGS = @MOZILLA_CFLAGS@ |
MOZILLA_LIBS = @MOZILLA_LIBS@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
OBJDUMP = @OBJDUMP@ |
OBJEXT = @OBJEXT@ |
OTOOL = @OTOOL@ |
OTOOL64 = @OTOOL64@ |
PACKAGE = @PACKAGE@ |
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
PACKAGE_NAME = @PACKAGE_NAME@ |
PACKAGE_STRING = @PACKAGE_STRING@ |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
PACKAGE_URL = @PACKAGE_URL@ |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ |
PANGOFT2_LIBS = @PANGOFT2_LIBS@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
PATH_TO_ESCHER = @PATH_TO_ESCHER@ |
PATH_TO_GLIBJ_ZIP = @PATH_TO_GLIBJ_ZIP@ |
PERL = @PERL@ |
PKG_CONFIG = @PKG_CONFIG@ |
PLUGIN_DIR = @PLUGIN_DIR@ |
QT_CFLAGS = @QT_CFLAGS@ |
QT_LIBS = @QT_LIBS@ |
RANLIB = @RANLIB@ |
REMOVE = @REMOVE@ |
SED = @SED@ |
SET_MAKE = @SET_MAKE@ |
SHELL = @SHELL@ |
STRICT_WARNING_CFLAGS = @STRICT_WARNING_CFLAGS@ |
STRIP = @STRIP@ |
TOOLSDIR = @TOOLSDIR@ |
USER_JAVAH = @USER_JAVAH@ |
VERSION = @VERSION@ |
WANT_NATIVE_BIG_INTEGER = @WANT_NATIVE_BIG_INTEGER@ |
WARNING_CFLAGS = @WARNING_CFLAGS@ |
XMKMF = @XMKMF@ |
XML_CFLAGS = @XML_CFLAGS@ |
XML_LIBS = @XML_LIBS@ |
XSLT_CFLAGS = @XSLT_CFLAGS@ |
XSLT_LIBS = @XSLT_LIBS@ |
XTEST_LIBS = @XTEST_LIBS@ |
X_CFLAGS = @X_CFLAGS@ |
X_EXTRA_LIBS = @X_EXTRA_LIBS@ |
X_LIBS = @X_LIBS@ |
X_PRE_LIBS = @X_PRE_LIBS@ |
ZIP = @ZIP@ |
abs_builddir = @abs_builddir@ |
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_ANTLR = @ac_ct_ANTLR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_CXX = @ac_ct_CXX@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
am__leading_dot = @am__leading_dot@ |
am__quote = @am__quote@ |
am__tar = @am__tar@ |
am__untar = @am__untar@ |
bindir = @bindir@ |
build = @build@ |
build_alias = @build_alias@ |
build_cpu = @build_cpu@ |
build_os = @build_os@ |
build_vendor = @build_vendor@ |
builddir = @builddir@ |
datadir = @datadir@ |
datarootdir = @datarootdir@ |
default_toolkit = @default_toolkit@ |
docdir = @docdir@ |
dvidir = @dvidir@ |
exec_prefix = @exec_prefix@ |
glibjdir = @glibjdir@ |
host = @host@ |
host_alias = @host_alias@ |
host_cpu = @host_cpu@ |
host_os = @host_os@ |
host_vendor = @host_vendor@ |
htmldir = @htmldir@ |
includedir = @includedir@ |
infodir = @infodir@ |
install_sh = @install_sh@ |
libdir = @libdir@ |
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
multi_basedir = @multi_basedir@ |
nativeexeclibdir = @nativeexeclibdir@ |
oldincludedir = @oldincludedir@ |
pdfdir = @pdfdir@ |
prefix = @prefix@ |
program_transform_name = @program_transform_name@ |
psdir = @psdir@ |
sbindir = @sbindir@ |
sharedstatedir = @sharedstatedir@ |
srcdir = @srcdir@ |
sysconfdir = @sysconfdir@ |
target = @target@ |
target_alias = @target_alias@ |
target_cpu = @target_cpu@ |
target_os = @target_os@ |
target_vendor = @target_vendor@ |
toolexeclibdir = @toolexeclibdir@ |
top_build_prefix = @top_build_prefix@ |
top_builddir = @top_builddir@ |
top_srcdir = @top_srcdir@ |
uudecode = @uudecode@ |
vm_classes = @vm_classes@ |
EXTRA_DIST = generate-locale-list.sh import-cacerts.sh |
all: all-am |
|
.SUFFIXES: |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
@for dep in $?; do \ |
case '$(am__configure_deps)' in \ |
*$$dep*) \ |
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
&& { if test -f $@; then exit 0; else break; fi; }; \ |
exit 1;; \ |
esac; \ |
done; \ |
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \ |
$(am__cd) $(top_srcdir) && \ |
$(AUTOMAKE) --gnu scripts/Makefile |
.PRECIOUS: Makefile |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
@case '$?' in \ |
*config.status*) \ |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
*) \ |
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
esac; |
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(am__aclocal_m4_deps): |
classpath.spec: $(top_builddir)/config.status $(srcdir)/classpath.spec.in |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
check_jni_methods.sh: $(top_builddir)/config.status $(srcdir)/check_jni_methods.sh.in |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
|
mostlyclean-libtool: |
-rm -f *.lo |
|
clean-libtool: |
-rm -rf .libs _libs |
tags: TAGS |
TAGS: |
|
ctags: CTAGS |
CTAGS: |
|
|
distdir: $(DISTFILES) |
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
list='$(DISTFILES)'; \ |
dist_files=`for file in $$list; do echo $$file; done | \ |
sed -e "s|^$$srcdirstrip/||;t" \ |
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
case $$dist_files in \ |
*/*) $(MKDIR_P) `echo "$$dist_files" | \ |
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
sort -u` ;; \ |
esac; \ |
for file in $$dist_files; do \ |
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
if test -d $$d/$$file; then \ |
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
if test -d "$(distdir)/$$file"; then \ |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
fi; \ |
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
fi; \ |
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
else \ |
test -f "$(distdir)/$$file" \ |
|| cp -p $$d/$$file "$(distdir)/$$file" \ |
|| exit 1; \ |
fi; \ |
done |
check-am: all-am |
check: check-am |
all-am: Makefile |
installdirs: |
install: install-am |
install-exec: install-exec-am |
install-data: install-data-am |
uninstall: uninstall-am |
|
install-am: all-am |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
installcheck: installcheck-am |
install-strip: |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
`test -z '$(STRIP)' || \ |
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
mostlyclean-generic: |
|
clean-generic: |
|
distclean-generic: |
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
|
maintainer-clean-generic: |
@echo "This command is intended for maintainers to use" |
@echo "it deletes files that may require special tools to rebuild." |
clean: clean-am |
|
clean-am: clean-generic clean-libtool mostlyclean-am |
|
distclean: distclean-am |
-rm -f Makefile |
distclean-am: clean-am distclean-generic |
|
dvi: dvi-am |
|
dvi-am: |
|
html: html-am |
|
html-am: |
|
info: info-am |
|
info-am: |
|
install-data-am: |
|
install-dvi: install-dvi-am |
|
install-dvi-am: |
|
install-exec-am: |
|
install-html: install-html-am |
|
install-html-am: |
|
install-info: install-info-am |
|
install-info-am: |
|
install-man: |
|
install-pdf: install-pdf-am |
|
install-pdf-am: |
|
install-ps: install-ps-am |
|
install-ps-am: |
|
installcheck-am: |
|
maintainer-clean: maintainer-clean-am |
-rm -f Makefile |
maintainer-clean-am: distclean-am maintainer-clean-generic |
|
mostlyclean: mostlyclean-am |
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
|
pdf: pdf-am |
|
pdf-am: |
|
ps: ps-am |
|
ps-am: |
|
uninstall-am: |
|
.MAKE: install-am install-strip |
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \ |
distclean distclean-generic distclean-libtool distdir dvi \ |
dvi-am html html-am info info-am install install-am \ |
install-data install-data-am install-dvi install-dvi-am \ |
install-exec install-exec-am install-html install-html-am \ |
install-info install-info-am install-man install-pdf \ |
install-pdf-am install-ps install-ps-am install-strip \ |
installcheck installcheck-am installdirs maintainer-clean \ |
maintainer-clean-generic mostlyclean mostlyclean-generic \ |
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
# Otherwise a system limit (for SysV at least) may be exceeded. |
.NOEXPORT: |
/or1k-gcc/libjava/classpath/scripts/import-cacerts.sh
0,0 → 1,43
#!/bin/sh |
|
function visitFile() { |
install/bin/gkeytool \ |
-cacert \ |
-v \ |
-storepass changeit \ |
-keystore resource/java/security/cacerts.gkr \ |
-file "$1" |
} |
|
function visitDir() { |
local d |
d=$1 |
for f in "$d/"* |
do |
if [ -d "$f" ] ; then |
visitDir "$f" |
else |
visitFile "$f" |
fi |
done |
} |
|
if [ "$#" -lt "1" ] ; then |
echo "Usage: import-cacerts DIR" |
echo "Import CA trusted certificates into a 'cacerts.gkr' key store" |
echo "under resource/java/security using 'changeit' as its password," |
echo "and constructing the Alias from the certificate's file name." |
echo |
echo " DIR the 'ca-certificates' deb package installation directory" |
echo " containing trusted CA certificates." |
echo |
else |
caDir=$1 |
if [ ! -d $caDir ] ; then |
echo "Argument MUST be a directory." |
echo "Type command with no arguments for usage string." |
exit 1 |
fi |
visitDir $caDir |
fi |
exit 0 |
or1k-gcc/libjava/classpath/scripts/import-cacerts.sh
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: or1k-gcc/libjava/classpath/scripts/Makefile.am
===================================================================
--- or1k-gcc/libjava/classpath/scripts/Makefile.am (nonexistent)
+++ or1k-gcc/libjava/classpath/scripts/Makefile.am (revision 777)
@@ -0,0 +1,2 @@
+
+EXTRA_DIST = generate-locale-list.sh import-cacerts.sh
Index: or1k-gcc/libjava/classpath/scripts/generate-locale-list.sh
===================================================================
--- or1k-gcc/libjava/classpath/scripts/generate-locale-list.sh (nonexistent)
+++ or1k-gcc/libjava/classpath/scripts/generate-locale-list.sh (revision 777)
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+CLASSPATH_SRCDIR=`dirname $0`/..
+
+echo "/* LocaleData.java --"
+echo " Copyright (C) 2004, 2005 Free Software Foundation, Inc."
+echo
+echo "This file is part of GNU Classpath."
+echo
+echo "GNU Classpath is free software; you can redistribute it and/or modify"
+echo "it under the terms of the GNU General Public License as published by"
+echo "the Free Software Foundation; either version 2, or (at your option)"
+echo "any later version."
+echo
+echo "GNU Classpath is distributed in the hope that it will be useful, but"
+echo "WITHOUT ANY WARRANTY; without even the implied warranty of"
+echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU"
+echo "General Public License for more details."
+echo
+echo "You should have received a copy of the GNU General Public License"
+echo "along with GNU Classpath; see the file COPYING. If not, write to the"
+echo "Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA"
+echo "02110-1301 USA."
+echo
+echo "Linking this library statically or dynamically with other modules is"
+echo "making a combined work based on this library. Thus, the terms and"
+echo "conditions of the GNU General Public License cover the whole"
+echo "combination."
+echo
+echo "As a special exception, the copyright holders of this library give you"
+echo "permission to link this library with independent modules to produce an"
+echo "executable, regardless of the license terms of these independent"
+echo "modules, and to copy and distribute the resulting executable under"
+echo "terms of your choice, provided that you also meet, for each linked"
+echo "independent module, the terms and conditions of the license of that"
+echo "module. An independent module is a module which is not derived from"
+echo "or based on this library. If you modify this library, you may extend"
+echo "this exception to your version of the library, but you are not"
+echo "obligated to do so. If you do not wish to do so, delete this"
+echo "exception statement from your version. */"
+echo
+echo
+echo "package gnu.java.locale;"
+echo
+echo "// This file was automatically generated by scripts/generate-locale-list.sh"
+echo
+echo
+echo "class LocaleData"
+echo "{"
+echo " public static final String[] localeNames ="
+echo " {"
+
+( cd $CLASSPATH_SRCDIR/resource/gnu/java/locale ; ls LocaleInformation_*.properties ) | xargs -n 1 echo | sed -e 's/LocaleInformation_\(.*\)\.properties/\1/' |
+while read locale ; do echo " \"$locale\"," ; done
+
+echo " };"
+
+echo
+echo " public static final String[] collatorLocaleNames ="
+echo " {"
+
+( cd $CLASSPATH_SRCDIR/resource/gnu/java/locale; grep -l collation_rules LocaleInformation_*.properties) |
+ xargs -n 1 echo | sed -e 's/LocaleInformation_\(.*\)\.properties/\1/' |
+ sed -e '/^$/ d' |
+ while read locale ; do echo " \"$locale\"," ; done
+
+echo " };"
+
+echo "}"
or1k-gcc/libjava/classpath/scripts/generate-locale-list.sh
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: or1k-gcc/libjava/classpath/scripts/.cvsignore
===================================================================
--- or1k-gcc/libjava/classpath/scripts/.cvsignore (nonexistent)
+++ or1k-gcc/libjava/classpath/scripts/.cvsignore (revision 777)
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+classpath.spec
Index: or1k-gcc/libjava/classpath/scripts/check_jni_methods.sh.in
===================================================================
--- or1k-gcc/libjava/classpath/scripts/check_jni_methods.sh.in (nonexistent)
+++ or1k-gcc/libjava/classpath/scripts/check_jni_methods.sh.in (revision 777)
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Fail if any command fails
+set -e
+
+TMPFILE=/tmp/check-jni-methods.$$.1
+TMPFILE2=/tmp/check-jni-methods.$$.2
+TMPFILE3=/tmp/check-jni-methods.$$.3
+TMPFILE4=/tmp/check-jni-methods.$$.4
+
+# Find all methods defined in the header files generated
+# from the java source files.
+grep -h '^JNIEXPORT .* Java_' @abs_top_srcdir@/include/*.h | \
+ LC_ALL=C sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' > $TMPFILE
+grep -h '^JNIEXPORT .* Java_' @abs_top_builddir@/include/*.h | \
+ LC_ALL=C sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' >> $TMPFILE
+sort -u $TMPFILE > $TMPFILE4
+mv $TMPFILE4 $TMPFILE
+
+# Find all methods in the JNI C source files.
+find @abs_top_srcdir@/native/jni -name \*.c | \
+ xargs grep -h '^Java_' | \
+ LC_ALL=C sed -e 's,^\(Java_[a-z_A-Z0-9]*\).*$,\1,' > $TMPFILE2
+# Or in the the C++ files. (Note that cpp doesn't follow gnu conventions atm)
+# So we try to match both GNU style and some other style.
+find @abs_top_srcdir@/native/jni -name \*.cpp | \
+ xargs grep -h '^Java_' | \
+ LC_ALL=C sed -e 's,^\(Java_[a-z_A-Z0-9]*\).*$,\1,' >> $TMPFILE2
+find @abs_top_srcdir@/native/jni -name \*.cpp | \
+ xargs egrep -h '^(JNIEXPORT .* JNICALL )?Java_' | \
+ cut -f4 -d\ | \
+ LC_ALL=C sed -e 's,^\JNIEXPORT .* JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' >> $TMPFILE2
+mv $TMPFILE2 $TMPFILE3
+sort $TMPFILE3 | uniq > $TMPFILE2
+rm $TMPFILE3
+
+# Write temporary ignore file.
+cat > $TMPFILE3 << EOF
+< Java_gnu_java_awt_peer_gtk_GtkMenuComponentPeer_dispose
+< Java_java_lang_VMSystem_arraycopy
+< Java_java_lang_VMSystem_identityHashCode
+EOF
+
+# Compare again silently.
+# Use fgrep and direct the output to /dev/null for compatibility with older
+# grep instead of using the non portable -q.
+if diff $TMPFILE $TMPFILE2 | grep '^[<>] Java' | \
+ fgrep -v -f $TMPFILE3 > /dev/null;
+then
+ PROBLEM=1
+ echo "Found a problem with the JNI methods declared and implemented."
+ echo "(<) missing in implementation, (>) missing in header files"
+
+ # Compare the found method lists.
+ diff $TMPFILE $TMPFILE2 | grep '^[<>] Java' | fgrep -v -f $TMPFILE3
+fi
+
+# Cleanup.
+rm -f $TMPFILE $TMPFILE2 $TMPFILE3
+
+if test "$PROBLEM" = "1" ; then
+ exit 1
+fi
+
+exit 0