Diff of /Real/Makefile.PL [adabda] .. [15ed5c]  Maximize  Restore

Switch to unified view

a/Real/Makefile.PL b/Real/Makefile.PL
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
use PDL::Core::Dev;

6
use PDL::Core::Dev;
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(@::pack);

10
%hash = pdlpp_stdargs(@::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/ ? '' : '-lacml -lgfortran ';

12
#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran ';
13
$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';

13
$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';
14
#$hash{'OPTIMIZE'}  = '-O2 -mtune=k8'; # If you want to debug, uncomment this.

14
#$hash{'OPTIMIZE'}  = '-O2 -mtune=k8'; # If you want to debug, uncomment this.
15
15
16
$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/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/;

16
$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/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/;
17
17
18
WriteMakefile(

18
WriteMakefile(
19
    %hash,

19
    %hash,
20
    'VERSION' => '0.07_01',

20
    'VERSION' => '0.07_01',
21
);

21
);
22
22
23
# Add genpp rule

23
# Add genpp rule
24
# add other makefile additions as required (see also ExtUtils::MakeMaker)

24
# add other makefile additions as required (see also ExtUtils::MakeMaker)
25
sub MY::postamble {

25
sub MY::postamble {
26
    pdlpp_postamble(@::pack);

26
    pdlpp_postamble(@::pack);
27
}

27
}
28
28

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks