Important among the files created by h2xs is Makefile.PL
use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'SuffixTree', 'OBJECT' => 'suffix_tree_wrap.o suffix_tree.o', 'VERSION_FROM' => 'SuffixTree.pm', # finds $VERSION ); print "\n"; print "Please take a moment to review the license.\n\n"; print "Do a 'make' to create the Makefile\n"; print "Do a 'make test' to test the module before installation\n"; print "Do a 'make install' to install the module.\n";
What the makefile actually does is compile the C code (now with the wrapper) in order to create a shared object file which will be used by SuffixTree.pm.
< Previous (9) | [Index] | (11/13) Next >