-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile.PL
41 lines (37 loc) · 972 Bytes
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use strict;
use warnings;
use ExtUtils::MakeMaker;
BEGIN { require 5.014 }
use Devel::CallParser ();
{
open my $fh, '>', 'callparser1.h'
or die "Couldn't open callparser1.h for writing: $!";
$fh->print(Devel::CallParser::callparser1_h);
$fh->close
or die "Couldn't close callparser1.h: $!";
}
WriteMakefile(
NAME => 'mop',
VERSION_FROM => 'lib/mop.pm',
PREREQ_PM => {
'Package::Anon' => 0.01,
'Sub::Name' => 0,
'PadWalker' => 0,
'Scope::Guard' => 0,
'Carp' => 0,
'UUID::Tiny' => 0,
'Scalar::Util' => 0,
},
BUILD_REQUIRES => {
'Test::More' => 0,
'Test::Fatal' => 0,
},
test => {
TESTS => 't/*.t t/*/*.t t/*/*/*.t',
},
clean => {
FILES => 'callparser1.h',
},
# XXX: not sure if this is correct
OBJECT => join(' ', Devel::CallParser::callparser_linkable),
);