"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Basic/Core/Makefile.PL" between
PDL-2.074.tar.gz and PDL-2.075.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

Makefile.PL  (PDL-2.074):Makefile.PL  (PDL-2.075)
skipping to change at line 50 skipping to change at line 50
sub nopl { my $txt = shift; $txt =~ s/[.]PL$//; return $txt} sub nopl { my $txt = shift; $txt =~ s/[.]PL$//; return $txt}
my $libs_string = "$pthread_library $malloclib -lm"; my $libs_string = "$pthread_library $malloclib -lm";
undef &MY::postamble; # suppress warning undef &MY::postamble; # suppress warning
*MY::postamble = sub { *MY::postamble = sub {
join '', map "$_ :: $_.PL Types.pm\n\t\$(PERLRUN) $_.PL $_\n", join '', map "$_ :: $_.PL Types.pm\n\t\$(PERLRUN) $_.PL $_\n",
qw(pdlsimple.h pdl.h pdlperl.h); qw(pdlsimple.h pdl.h pdlperl.h);
}; };
my @cfiles = qw(pdlcore pdlapi pdlthread pdlconv pdlmagic pdlaffine pdlutil); my @cfiles = qw(pdlcore pdlapi pdlbroadcast pdlconv pdlmagic pdlaffine pdlutil);
my $cobj = join ' ', map qq{$_\$(OBJ_EXT)}, @cfiles; my $cobj = join ' ', map qq{$_\$(OBJ_EXT)}, @cfiles;
WriteMakefile( WriteMakefile(
'NAME' => 'PDL::Core', 'NAME' => 'PDL::Core',
'VERSION_FROM' => '../PDL.pm', 'VERSION_FROM' => '../PDL.pm',
'PM' => { 'PM' => {
(map {($_,'$(INST_LIBDIR)/'.$_)} ( (map {($_,'$(INST_LIBDIR)/'.$_)} (
qw/Core.pm Basic.pm Types.pm qw/Core.pm Basic.pm Types.pm
Dbg.pm Exporter.pm Config.pm Char.pm/ Dbg.pm Exporter.pm Config.pm Char.pm/
)), )),
(map {($_,'$(INST_LIBDIR)/Core/'.$_)} ( (map {($_,'$(INST_LIBDIR)/Core/'.$_)} (
qw/Dev.pm typemap pdl.h pdlperl.h pdlcore.h pdlmagic.h pd lsimple.h qw/Dev.pm typemap pdl.h pdlperl.h pdlcore.h pdlmagic.h pd lsimple.h
pdlthread.h ppport.h/ pdlbroadcast.h ppport.h/
)), )),
qq/IFiles.pm/,'$(INST_LIBDIR)/Install/Files.pm', qq/IFiles.pm/,'$(INST_LIBDIR)/Install/Files.pm',
(map +($_=>'$(INST_LIBDIR)/Complex/'.$_), qw(Overloads.pm)), (map +($_=>'$(INST_LIBDIR)/Complex/'.$_), qw(Overloads.pm)),
}, },
'PL_FILES' => {map {($_ => nopl $_)} grep !/^Makefile.PL$/, 'Types.pm.PL'}, 'PL_FILES' => {map {($_ => nopl $_)} grep !/^Makefile.PL$/, 'Types.pm.PL'},
'OBJECT' => 'Core$(OBJ_EXT) ' . $cobj, 'OBJECT' => 'Core$(OBJ_EXT) ' . $cobj,
'DEFINE' => $pthread_define, 'DEFINE' => $pthread_define,
'LIBS' => [$libs_string], 'LIBS' => [$libs_string],
'clean' => {'FILES' => 'clean' => {'FILES' =>
'pdl.h pdlperl.h pdlsimple.h '. 'pdl.h pdlperl.h pdlsimple.h '.
'Types.pm Core.c ' 'Types.pm Core.c '
}, },
'INC' => join(' ', 'INC' => join(' ',
PDL::Core::Dev::PDL_INCLUDE(), map {length($_) ? qq{"$_"} : ()} $pthread_incl ude, $mallocinc PDL::Core::Dev::PDL_INCLUDE(), map {length($_) ? qq{"$_"} : ()} $pthread_incl ude, $mallocinc
), ),
depend => { depend => {
'Core$(OBJ_EXT)' => '$(INST_ARCHLIB)$(DFSEP).exists pm_to_blib pdl.h pdlperl .h pdlcore.h', 'Core$(OBJ_EXT)' => '$(INST_ARCHLIB)$(DFSEP).exists pm_to_blib pdl.h pdlperl .h pdlcore.h',
# Core.xs needs blib/arch for -Mblib to work, as well as pm_to_blib # Core.xs needs blib/arch for -Mblib to work, as well as pm_to_blib
$cobj => 'pdl.h pdlcore.h pdlthread.h pdlmagic.h', $cobj => 'pdl.h pdlcore.h pdlbroadcast.h pdlmagic.h',
'pdlcore$(OBJ_EXT)' => 'pdlperl.h', 'pdlcore$(OBJ_EXT)' => 'pdlperl.h',
}, },
NO_MYMETA => 1, NO_MYMETA => 1,
); );
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)