Line | |
---|
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 | WriteMakefile(
|
---|
6 | 'NAME' => 'threads',
|
---|
7 | 'VERSION_FROM' => 'threads.pm', # finds $VERSION
|
---|
8 | 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
|
---|
9 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
---|
10 | (ABSTRACT_FROM => 'threads.pm', # retrieve abstract from module
|
---|
11 | AUTHOR => 'Artur Bergman <artur@contiller.se>') : ()),
|
---|
12 | 'MAN3PODS' => {}, # Pods will be built by installman
|
---|
13 | 'LIBS' => [''], # e.g., '-lm'
|
---|
14 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
---|
15 | # Insert -I. if you add *.h files later:
|
---|
16 | # 'INC' => '', # e.g., '-I/usr/include/other'
|
---|
17 | # Un-comment this if you add C files to link with later:
|
---|
18 | # 'OBJECT' => '$(O_FILES)', # link all the C files too
|
---|
19 |
|
---|
20 | # ext/threads/shared is a completely different module. Don't
|
---|
21 | # recurse into it.
|
---|
22 | 'NORECURS' => 1,
|
---|
23 |
|
---|
24 | # Bug in MakeMaker continues to put ext/threads/shared into DIR
|
---|
25 | # even if we said NORECURS. Remove when fixed.
|
---|
26 | 'DIR' => [],
|
---|
27 | );
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.