line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::libt2t; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
244211
|
use strict; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
62
|
|
4
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
64
|
|
5
|
2
|
|
|
2
|
|
46
|
use 5.008001; |
|
2
|
|
|
|
|
7
|
|
6
|
2
|
|
|
2
|
|
1032
|
use File::ShareDir::Dist (); |
|
2
|
|
|
|
|
1917
|
|
|
2
|
|
|
|
|
372
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Alien::libt2t |
9
|
|
|
|
|
|
|
our $VERSION = '0.06'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new |
13
|
|
|
|
|
|
|
{ |
14
|
1
|
|
|
1
|
1
|
6421
|
my($class) = @_; |
15
|
1
|
|
|
|
|
7
|
bless {}, $class; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub dist_dir |
20
|
|
|
|
|
|
|
{ |
21
|
4
|
|
|
4
|
1
|
13
|
my $dir = File::ShareDir::Dist::dist_share('Test2-Tools-FFI'); |
22
|
4
|
50
|
|
|
|
440
|
$dir =~ s{\\}{/}g if $^O eq 'MSWin32'; |
23
|
4
|
|
|
|
|
11
|
$dir; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub cflags |
28
|
|
|
|
|
|
|
{ |
29
|
2
|
|
|
2
|
1
|
7
|
my($class) = @_; |
30
|
2
|
|
|
|
|
8
|
my $dist = $class->dist_dir; |
31
|
2
|
|
|
|
|
18
|
"-I$dist/include "; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub libs |
36
|
|
|
|
|
|
|
{ |
37
|
2
|
|
|
2
|
1
|
7
|
my($class) = @_; |
38
|
2
|
|
|
|
|
6
|
my $dist = $class->dist_dir; |
39
|
2
|
|
|
|
|
20
|
"-Wl,-rpath,$dist/lib -L$dist/lib -lt2t "; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |