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