forked from tsee/PathTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
27 lines (24 loc) · 754 Bytes
/
Makefile.PL
File metadata and controls
27 lines (24 loc) · 754 Bytes
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
BEGIN { @INC = grep {!/blib/} @INC }
my @compiler_flags;
push @compiler_flags,
"-DDOUBLE_SLASHES_SPECIAL=@{[$^O eq q(qnx) || $^O eq q(nto) ? 1 : 0]}",
((grep { $_ eq 'PERL_CORE=1' } @ARGV) ? '-DNO_PPPORT_H' : ());
require 5.005;
use ExtUtils::MakeMaker;
WriteMakefile
(
'DISTNAME' => 'PathTools',
'NAME' => 'Cwd',
'VERSION_FROM' => 'Cwd.pm',
DEFINE => "@compiler_flags",
'PREREQ_PM' => {
'Carp' => '0',
'File::Basename' => '0',
'Scalar::Util' => '0',
'Test' => '0'
},
'INSTALLDIRS' => 'perl',
'EXE_FILES' => [],
'PL_FILES' => {}
)
;