Diff of /Real/Makefile.PL.pkg [e99cbd] .. [591b21] Maximize Restore

  Switch to unified view

a/Real/Makefile.PL.pkg b/Real/Makefile.PL.pkg
1
1
2
# Use this as a template for the Makefile.PL for
2
# Use this as a template for the Makefile.PL for

3
# any external PDL module.
3
# any external PDL module.

4
4
5
use ExtUtils::MakeMaker;
5
use ExtUtils::MakeMaker;

6
PDL::Core::Dev->import();
6
PDL::Core::Dev->import();

7
do('../Config');
7
do('../Config');

8
8
9
@pack = (["Real.pd",Real,PDL::LinearAlgebra::Real]);
9
@pack = (["Real.pd",Real,PDL::LinearAlgebra::Real]);

10
%hash = pdlpp_stdargs_int(@::pack);
10
%hash = pdlpp_stdargs_int(@::pack);

11
# $hash{'OPTIMIZE'}  = '-g'; # If you want to debug, uncomment this.
11
# $hash{'OPTIMIZE'}  = '-g'; # If you want to debug, uncomment this.

12
$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lf77blas -lcblas -latlas -lg2c ';
12
$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lf77blas -lcblas -latlas -lg2c ';

13
13
14
$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib  ../lapack/lapack.lib' if $^O =~ /MSWin/;
14
$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib  ../lapack/lapack.lib' if $^O =~ /MSWin/;

15
15
16
WriteMakefile(
16
WriteMakefile(

17
    %hash,
17
    %hash,

18
    'VERSION_FROM' => "real.pd",
18
    VERSION_FROM => "",

19
  VERSION => 0.04,
19
);
20
);

20
21
21
# Add genpp rule
22
# Add genpp rule

22
# add other makefile additions as required (see also ExtUtils::MakeMaker)
23
# add other makefile additions as required (see also ExtUtils::MakeMaker)

23
sub MY::postamble {
24
sub MY::postamble {

24
    pdlpp_postamble_int(@::pack);
25
    pdlpp_postamble_int(@::pack);

25
}
26
}

26
27