Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.59 ExtUtils::MM_OS2Chapter 8
Standard Modules
Next: 8.61 ExtUtils::MM_VMS
 

8.60 ExtUtils::MM_Unix

Provides methods for MakeMaker to handle portability issues. You never need to require this module, but you might want to if you are working on improving MakeMaker's portability

Provides methods for both Unix and non-Unix systems; on non-Unix systems, they can be overridden by methods defined in other MM_* modules. The methods are listed here:

8.60.1 Methods to Produce the Makefile

ExtUtils::MM_Unix has some additional methods that are called in sequence to produce a Makefile. The list of methods is specified in the array @ExtUtils::MakeMaker::MM_Sections, one method per section. The routines are all called the same way and so are just listed here. Each method returns the string to be put into its section of the Makefile.

The methods are called in the order that they are listed in the following table, reading down the columns:

post_initializetop_targetsrealclean
const_configlinkextdist_basics
constantsdlsymsdist_core
const_loadlibsdynamicdist_dir
const_cccmddynamic_bsdist_test
tool_autosplitdynamic_libdist_ci
tool_xsubppstaticinstall
tools_otherstatic_libforce
distinstallpmperldepend
macroinstallpm_xmakefile
dependmanifypodsstaticmake
post_constantsprocessPLtest
pasthruinstallbintest_via_harness
c_osubdirstest_via_script
xs_csubdir_xpostamble
xs_oclean

Finally, there are two special methods: post_initialize and postamble. They each return an empty string by default and can be defined in Makefile.PL to insert customized text near the beginning or end of the Makefile.


Previous: 8.59 ExtUtils::MM_OS2Perl in a NutshellNext: 8.61 ExtUtils::MM_VMS
8.59 ExtUtils::MM_OS2Book Index8.61 ExtUtils::MM_VMS



Banner.Novgorod.Ru