blob: efb606da17238f50bc6be0da5650efd7a970cdeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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;
|