| 1 | package Module::Install::Compiler; | ||||||||||||
| 2 | |||||||||||||
| 3 | 46 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 46 | ▶ | use File::Basename (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 46 | ▶ | use Module::Install::Base (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 46 | ▶ | use vars qw{$VERSION @ISA $ISCORE}; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | 46 | ▶ | BEGIN { | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | 46 | $VERSION = '1.21'; | |||||||||||
| 10 | 46 | @ISA = 'Module::Install::Base'; | |||||||||||
| 11 | 46 | $ISCORE = 1; | |||||||||||
| 12 | } | ||||||||||||
| 13 | |||||||||||||
| 14 | 1 | ▶ | sub ppport { | ||||||||||
|
Subroutine
ppport: called CC=4 SCAR=21.7
Pod
undocumented
| |||||||||||||
| 15 | 1 | my $self = shift; | |||||||||||
| 16 | 1 | ▶ | if ( $self->is_admin ) { | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 17 | 1 | return $self->admin->ppport(@_); | |||||||||||
| 18 | } else { | ||||||||||||
| 19 | # Fallback to just a check | ||||||||||||
| 20 | 0 | ▶ | my $file = shift || 'ppport.h'; | ||||||||||
|
Condition0%0/2
shift() || 'ppport.h'
MC/DC0%0/1
shift() || 'ppport.h'
shift()
Truth table0%0/2
A
A= shift()
| |||||||||||||
| 21 | 0 | ▶ | unless ( -f $file ) { | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 22 | 0 | die "Packaging error, $file is missing"; | |||||||||||
| 23 | } | ||||||||||||
| 24 | } | ||||||||||||
| 25 | } | ||||||||||||
| 26 | |||||||||||||
| 27 | 0 | ▶ | sub cc_files { | ||||||||||
|
Subroutine
cc_files: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 28 | 0 | require Config; | |||||||||||
| 29 | 0 | my $self = shift; | |||||||||||
| 30 | $self->makemaker_args( | ||||||||||||
| 31 | 0 | OBJECT => join ' ', map { substr($_, 0, -2) . $Config::Config{_o} } @_ | |||||||||||
| 32 | ); | ||||||||||||
| 33 | } | ||||||||||||
| 34 | |||||||||||||
| 35 | 4 | ▶ | sub cc_inc_paths { | ||||||||||
|
Subroutine
cc_inc_paths: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 36 | 4 | my $self = shift; | |||||||||||
| 37 | $self->makemaker_args( | ||||||||||||
| 38 | 4 | INC => join ' ', map { "-I$_" } @_ | |||||||||||
| 39 | ); | ||||||||||||
| 40 | } | ||||||||||||
| 41 | |||||||||||||
| 42 | 0 | ▶ | sub cc_lib_paths { | ||||||||||
|
Subroutine
cc_lib_paths: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 43 | 0 | my $self = shift; | |||||||||||
| 44 | $self->makemaker_args( | ||||||||||||
| 45 | 0 | LIBS => join ' ', map { "-L$_" } @_ | |||||||||||
| 46 | ); | ||||||||||||
| 47 | } | ||||||||||||
| 48 | |||||||||||||
| 49 | 0 | ▶ | sub cc_lib_links { | ||||||||||
|
Subroutine
cc_lib_links: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 50 | 0 | my $self = shift; | |||||||||||
| 51 | $self->makemaker_args( | ||||||||||||
| 52 | 0 | LIBS => join ' ', $self->makemaker_args->{LIBS}, map { "-l$_" } @_ | |||||||||||
| 53 | ); | ||||||||||||
| 54 | } | ||||||||||||
| 55 | |||||||||||||
| 56 | 0 | ▶ | sub cc_optimize_flags { | ||||||||||
|
Subroutine
cc_optimize_flags: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 57 | 0 | my $self = shift; | |||||||||||
| 58 | 0 | $self->makemaker_args( | |||||||||||
| 59 | OPTIMIZE => join ' ', @_ | ||||||||||||
| 60 | ); | ||||||||||||
| 61 | } | ||||||||||||
| 62 | |||||||||||||
| 63 | 46 | 1; | |||||||||||
| 64 | |||||||||||||
| 65 | __END__ | ||||||||||||