use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. eval { require Text::Metaphone; }; unless ($@) { # Make sure we did find the module. print <= 1.00 && $Text::Metaphone::VERSION <= 1.94); NOTE: Bugs fixed in this version alter the way Text::Metaphone encodes certain words. If you have stored metaphone encodings using your older version of T::M, please re-encode them with this new version. Please read the Changes file for details. FIX_WARN } WriteMakefile( NAME => 'Text::Metaphone', VERSION_FROM => 'Metaphone.pm', PREREQ_PM => { 'Test::More' => 0.47 }, C => ['metaphone_c.c my_memory.c'], OBJECT => 'metaphone_c.o my_memory.o Metaphone.o', ); sub MY::postamble { ' metaphone_c.o: mytypes.h myconsts.h my_memory.o metachar.h metaphone.h metaphone_c.c my_memory.o: mytypes.h myconsts.h my_memory.c my_memory.h ' }