summaryrefslogtreecommitdiff
path: root/jpl/JPL/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'jpl/JPL/Makefile.PL')
-rw-r--r--jpl/JPL/Makefile.PL36
1 files changed, 36 insertions, 0 deletions
diff --git a/jpl/JPL/Makefile.PL b/jpl/JPL/Makefile.PL
new file mode 100644
index 0000000000..efb606da17
--- /dev/null
+++ b/jpl/JPL/Makefile.PL
@@ -0,0 +1,36 @@
+#!/usr/bin/perl
+
+$JPL_SRC = "..";
+
+use Config;
+
+eval `$JPL_SRC/setvars -perl`;
+
+open(MAKEFILE, ">Makefile");
+
+print MAKEFILE <<"SUBS";
+PERL = perl$]
+ARCHNAME = $Config{archname}
+JAVA_HOME = $ENV{JAVA_HOME}
+JPL_HOME = $ENV{JPL_HOME}
+PERLARCHDIR = $Config{archlib}
+
+SUBS
+
+print MAKEFILE <<'NOSUBS';
+
+all:
+
+debug:
+
+test:
+
+install:
+ mkdir -p $(JPL_HOME)/perl/JPL
+ cp *.p[ml] $(JPL_HOME)/perl/JPL
+
+clean:
+
+NOSUBS
+
+close MAKEFILE;