diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-30 02:23:55 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-30 02:23:55 +0000 |
commit | db4a4bfef3d0670c19c876489f6c14478d1740b8 (patch) | |
tree | 90c1afd3f2aeadd92a2a3db729e4a3101e6e65ea /jpl | |
parent | d0cac7ff8a4e0bb37b605e998ea484c1ab5f806a (diff) | |
download | perl-db4a4bfef3d0670c19c876489f6c14478d1740b8.tar.gz |
more JPL tweaks
p4raw-id: //depot/perl@2414
Diffstat (limited to 'jpl')
-rw-r--r-- | jpl/JNI/JNI.pm | 18 | ||||
-rw-r--r-- | jpl/JNI/MANIFEST | 6 | ||||
-rw-r--r-- | jpl/PerlInterpreter/Makefile | 43 | ||||
-rw-r--r-- | jpl/README | 10 |
4 files changed, 10 insertions, 67 deletions
diff --git a/jpl/JNI/JNI.pm b/jpl/JNI/JNI.pm index b0e87afa3d..7797ad632a 100644 --- a/jpl/JNI/JNI.pm +++ b/jpl/JNI/JNI.pm @@ -233,31 +233,19 @@ if (not $JPL::_env_) { $JVM = GetJavaVM("$JAVALIB/libjava.so",@JVM_ARGS); } -# Preloaded methods go here. - -# Autoload methods go after =cut, and are processed by the autosplit program. - 1; __END__ -# Below is the stub of documentation for your module. You better edit it! =head1 NAME -JNI - Perl extension for blah blah blah +JNI - Perl encapsulation of the Java Native Interface =head1 SYNOPSIS use JNI; - blah blah blah =head1 DESCRIPTION -Stub documentation for JNI was created by h2xs. It looks like the -author of the extension was negligent enough to leave the stub -unedited. - -Blah blah blah. - =head1 Exported constants JNI_ABORT @@ -271,7 +259,9 @@ Blah blah blah. =head1 AUTHOR -A. U. Thor, a.u.thor@a.galaxy.far.far.away +Copyright 1998, O'Reilly & Associates, Inc. + +This package may be copied under the same terms as Perl itself. =head1 SEE ALSO diff --git a/jpl/JNI/MANIFEST b/jpl/JNI/MANIFEST deleted file mode 100644 index 14a0f6ccd0..0000000000 --- a/jpl/JNI/MANIFEST +++ /dev/null @@ -1,6 +0,0 @@ -Changes -JNI.pm -JNI.xs -MANIFEST -Makefile.PL -test.pl diff --git a/jpl/PerlInterpreter/Makefile b/jpl/PerlInterpreter/Makefile deleted file mode 100644 index a615fe173d..0000000000 --- a/jpl/PerlInterpreter/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -WHAT = PerlInterpreter -JAVA_HOME = /usr/local/java -JPL_HOME = /usr/local/jpl -ARCHNAME = sun4-solaris -PERLARCHDIR = /usr/local/lib/perl5/sun4-solaris/5.00404 -CC = gcc -FLAGS = -fPIC -R /usr/local/lib/perl5/sun4-solaris/5.00404/CORE -G -L/usr/local/lib -INCL = -I$(PERLARCHDIR)/CORE \ - -I$(JAVA_HOME)/include \ - -I$(JAVA_HOME)/include/solaris \ - -I$(JAVA_HOME)/include/genunix -LIBS = -lc -lm -ldl - -.SUFFIXES: .java .class - -.java.class: - javac $*.java - -.class.h: - javah -jni $* - -all: PerlInterpreter.class libPerlInterpreter.so - -PerlInterpreter.class: PerlInterpreter.java - -PerlInterpreter.h: PerlInterpreter.class - -libPerlInterpreter.so: PerlInterpreter.c PerlInterpreter.h - $(CC) $(FLAGS) $(INCL) PerlInterpreter.c \ - $(PERLARCHDIR)/auto/DynaLoader/DynaLoader.a \ - $(LIBS) \ - -o libPerlInterpreter.so - -test: - -install: all - mkdir -p $(JPL_HOME)/lib/$(ARCHNAME) - cp libPerlInterpreter.so $(JPL_HOME)/lib/$(ARCHNAME) - cp $(WHAT).class $(JPL_HOME)/lib - -clean: - rm -f libPerlInterpreter.so - rm -f PerlInterpreter.class diff --git a/jpl/README b/jpl/README index 1fe04b1f96..eb900f024c 100644 --- a/jpl/README +++ b/jpl/README @@ -10,11 +10,13 @@ from the network. Don't expect not to be surprised occasionally. Requirements ------------ Perl 5.005_02 (or later) must be compiled and installed as a shared library -(libperl.so). I had to use the system's malloc. This version has not -been well tested under 5.005_02, so you can expect some rough edges. +(libperl.so). I had to use the system's malloc. JPL was originally built +and tested with 5.004_04 and early Java 1.1 development kits. This version +has not been well tested under 5.005_02, so you can expect some rough edges. -You need JDK 1.1. On Solaris 1.1.5 works. On Linux you need 1.1.3 with -the patches from +You need JDK 1.1. On Solaris 1.1.5 has been verified to work. Linux +users can try the latest version (1.1.3 or later) available from (for +example): ftp://ftp.blackdown.org/pub/Linux/JDK/1.1.3/updates/libjava-1.1.3v2-1.tar.gz |