1 # Module makefile for threads (using ExtUtils::MakeMaker)
8 use ExtUtils::MakeMaker;
11 # Build options for different environments
12 my @conditional_params;
13 if (grep { $_ eq 'PERL_CORE=1' } @ARGV) {
15 push(@conditional_params, 'MAN3PODS' => {},
19 push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H');
25 'AUTHOR' => 'Artur Bergman <sky AT crucially DOT net>',
26 'VERSION_FROM' => 'threads.pm',
27 'ABSTRACT_FROM' => 'threads.pm',
29 'threads.pm' => '$(INST_LIBDIR)/threads.pm',
32 'threads::shared' => 0,
35 'INSTALLDIRS' => 'perl',
37 ((ExtUtils::MakeMaker->VERSION() lt '6.25') ?
38 ('PL_FILES' => { }) : ()),
39 ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
40 ('LICENSE' => 'perl') : ()),