line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::libt2t; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
217604
|
use strict; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
63
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
44
|
|
5
|
2
|
|
|
2
|
|
42
|
use 5.008001; |
|
2
|
|
|
|
|
6
|
|
6
|
2
|
|
|
2
|
|
992
|
use File::ShareDir::Dist (); |
|
2
|
|
|
|
|
1899
|
|
|
2
|
|
|
|
|
303
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Alien::libt2t |
9
|
|
|
|
|
|
|
our $VERSION = '0.04'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new |
13
|
|
|
|
|
|
|
{ |
14
|
1
|
|
|
1
|
1
|
5998
|
my($class) = @_; |
15
|
1
|
|
|
|
|
8
|
bless {}, $class; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub dist_dir |
20
|
|
|
|
|
|
|
{ |
21
|
4
|
|
|
4
|
1
|
13
|
File::ShareDir::Dist::dist_share('Test2-Tools-FFI'); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub cflags |
26
|
|
|
|
|
|
|
{ |
27
|
2
|
|
|
2
|
1
|
5
|
my($class) = @_; |
28
|
2
|
|
|
|
|
6
|
my $dist = $class->dist_dir; |
29
|
2
|
|
|
|
|
230
|
"-I$dist/include "; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub libs |
34
|
|
|
|
|
|
|
{ |
35
|
2
|
|
|
2
|
1
|
6
|
my($class) = @_; |
36
|
2
|
|
|
|
|
5
|
my $dist = $class->dist_dir; |
37
|
2
|
|
|
|
|
189
|
"-Wl,-rpath,$dist/lib -L$dist/lib -lt2t "; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__END__ |