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( 6 NAME => 'Perf::Trace::Context', 7 VERSION_FROM => 'lib/Perf/Trace/Context.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 => 'lib/Perf/Trace/Context.pm', # retrieve abstract from module 11 AUTHOR => 'Tom Zanussi <tzanussi (at] gmail.com>') : ()), 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 17 ); 18