| 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::shared',
|
|---|
| 7 | 'VERSION_FROM' => 'shared.pm', # finds $VERSION
|
|---|
| 8 | 'PM' => {
|
|---|
| 9 | 'shared.pm' => '$(INST_LIBDIR)/shared.pm',
|
|---|
| 10 | },
|
|---|
| 11 | 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
|
|---|
| 12 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
|---|
| 13 | (ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module
|
|---|
| 14 | AUTHOR => 'Arthur Bergman <[email protected]>') : ()),
|
|---|
| 15 | 'MAN3PODS' => {}, # Pods will be built by installman
|
|---|
| 16 | 'LIBS' => [''], # e.g., '-lm'
|
|---|
| 17 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
|---|
| 18 | # Insert -I. if you add *.h files later:
|
|---|
| 19 | 'INC' => '', # e.g., '-I/usr/include/other'
|
|---|
| 20 | # Un-comment this if you add C files to link with later:
|
|---|
| 21 | # 'OBJECT' => '$(O_FILES)', # link all the C files too
|
|---|
| 22 |
|
|---|
| 23 | );
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.