line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright (c) 2023 Yuki Kimoto |
2
|
|
|
|
|
|
|
# MIT License |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
290887
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
5
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use SPVM::Builder::Config; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
87
|
|
8
|
|
|
|
|
|
|
my $config = SPVM::Builder::Config->new_c99(file => __FILE__); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# C souce files |
11
|
|
|
|
|
|
|
my @source_files = qw( |
12
|
|
|
|
|
|
|
adler32.c |
13
|
|
|
|
|
|
|
compress.c |
14
|
|
|
|
|
|
|
crc32.c |
15
|
|
|
|
|
|
|
deflate.c |
16
|
|
|
|
|
|
|
gzclose.c |
17
|
|
|
|
|
|
|
gzlib.c |
18
|
|
|
|
|
|
|
gzread.c |
19
|
|
|
|
|
|
|
gzwrite.c |
20
|
|
|
|
|
|
|
infback.c |
21
|
|
|
|
|
|
|
inffast.c |
22
|
|
|
|
|
|
|
inflate.c |
23
|
|
|
|
|
|
|
inftrees.c |
24
|
|
|
|
|
|
|
trees.c |
25
|
|
|
|
|
|
|
uncompr.c |
26
|
|
|
|
|
|
|
zutil.c |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
$config->add_source_file(@source_files); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my @ccflags = qw(-D_LARGEFILE64_SOURCE); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$config->add_ccflag(@ccflags); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$config; |