Tom Zanussi | bcefe12 | 2009-11-25 01:15:49 -0600 | [diff] [blame] | 1 | use 5.010000; |
| 2 | use ExtUtils::MakeMaker; |
| 3 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence |
| 4 | # the contents of the Makefile that is written. |
| 5 | WriteMakefile( |
Tom Zanussi | d1b9377 | 2009-11-25 01:15:50 -0600 | [diff] [blame] | 6 | NAME => 'Perf::Trace::Context', |
| 7 | VERSION_FROM => 'lib/Perf/Trace/Context.pm', # finds $VERSION |
Tom Zanussi | bcefe12 | 2009-11-25 01:15:49 -0600 | [diff] [blame] | 8 | PREREQ_PM => {}, # e.g., Module::Name => 1.1 |
| 9 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
Tom Zanussi | d1b9377 | 2009-11-25 01:15:50 -0600 | [diff] [blame] | 10 | (ABSTRACT_FROM => 'lib/Perf/Trace/Context.pm', # retrieve abstract from module |
Tom Zanussi | bcefe12 | 2009-11-25 01:15:49 -0600 | [diff] [blame] | 11 | AUTHOR => 'Tom Zanussi <tzanussi@gmail.com>') : ()), |
Tom Zanussi | d1b9377 | 2009-11-25 01:15:50 -0600 | [diff] [blame] | 12 | LIBS => [''], # e.g., '-lm' |
| 13 | DEFINE => '-I ../..', # e.g., '-DHAVE_SOMETHING' |
| 14 | INC => '-I.', # e.g., '-I. -I/usr/include/other' |
| 15 | # Un-comment this if you add C files to link with later: |
| 16 | OBJECT => 'Context.o', # link all the C files too |
Tom Zanussi | bcefe12 | 2009-11-25 01:15:49 -0600 | [diff] [blame] | 17 | ); |