< Previous | [Index] | slide #10 out of 13 slides | Next >



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.
	'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 >

Offer Kaye. YAPC::Israel::2003. Slides automatically generated by a Perl script. Last update on Sun Apr 6 09:28:17 IDT 2003