line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::Fortran; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
98505
|
use strict; |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
58
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
44
|
|
5
|
2
|
|
|
2
|
|
46
|
use 5.008001; |
|
2
|
|
|
|
|
7
|
|
6
|
2
|
|
|
2
|
|
11
|
use base qw( FFI::Build::File::C ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
1010
|
|
7
|
2
|
|
|
2
|
|
47645
|
use constant default_suffix => '.f'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
107
|
|
8
|
2
|
|
|
2
|
|
13
|
use constant default_encoding => ':utf8'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
322
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '0.09'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
FFI::Build::File::Fortran - Class to track Fortran source file in FFI::Build |
15
|
|
|
|
|
|
|
Fortran |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use FFI::Build::File::Fortran; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $c = FFI::Build::File::C->new('src/foo.f'); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
File class for Fortran source files. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=cut |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub accept_suffix |
30
|
|
|
|
|
|
|
{ |
31
|
0
|
|
|
0
|
1
|
|
(qr/\.f(90|95|or)?$/) |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub cc |
35
|
|
|
|
|
|
|
{ |
36
|
0
|
|
|
0
|
0
|
|
my($self) = @_; |
37
|
0
|
|
|
|
|
|
$self->platform->for; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub ld |
41
|
|
|
|
|
|
|
{ |
42
|
0
|
|
|
0
|
1
|
|
my($self) = @_; |
43
|
0
|
|
|
|
|
|
$self->platform->for; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 SEE ALSO |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=over 4 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item L |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The Core Platypus documentation. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item L |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Tool to build bundled libraries with your Perl dist. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item L |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Bundle Fortran with your FFI / Perl extension. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=back |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 AUTHOR |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Graham Ollis Eplicease@cpan.orgE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Graham Ollis |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
75
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=cut |