Commit | Line | Data |
b050c948 |
1 | use ExtUtils::MakeMaker; |
2 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence |
3 | # the contents of the Makefile that is written. |
4 | |
5 | use Config; |
6 | |
7 | |
8 | unless($Config{'useithreads'} eq 'define') { |
9 | die "We need a perl that is built with USEITHREAD!\n"; |
10 | } |
11 | |
12 | WriteMakefile( |
13 | 'NAME' => 'threads::shared', |
14 | 'VERSION_FROM' => 'shared.pm', # finds $VERSION |
15 | 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 |
16 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
17 | (ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module |
18 | AUTHOR => 'Arthur Bergman <arthur@contiller.se>') : ()), |
0665918f |
19 | 'MAN3PODS' => {}, # Pods will be built by installman |
b050c948 |
20 | 'LIBS' => [''], # e.g., '-lm' |
21 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' |
22 | # Insert -I. if you add *.h files later: |
23 | 'INC' => '', # e.g., '-I/usr/include/other' |
24 | # Un-comment this if you add C files to link with later: |
25 | # 'OBJECT' => '$(O_FILES)', # link all the C files too |
26 | |
27 | ); |