📄 extutils::mm_unix.3
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. \*(C+ will.\" give a nicer C++. Capital omega is used to do unbreakable dashes and.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.el \{\. de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "ExtUtils::MM_Unix 3".TH ExtUtils::MM_Unix 3 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"ExtUtils::MM_Unix \- methods used by ExtUtils::MakeMaker.SH "SYNOPSIS".IX Header "SYNOPSIS"\&\f(CW\*(C`require ExtUtils::MM_Unix;\*(C'\fR.SH "DESCRIPTION".IX Header "DESCRIPTION"The methods provided by this package are designed to be used inconjunction with ExtUtils::MakeMaker. When MakeMaker writes aMakefile, it creates one or more objects that inherit their methodsfrom a package \f(CW\*(C`MM\*(C'\fR. \s-1MM\s0 itself doesn't provide any methods, but it\&\s-1ISA\s0 ExtUtils::MM_Unix class. The inheritance tree of \s-1MM\s0 lets operatingspecific packages take the responsibility for all the methods providedby MM_Unix. We are trying to reduce the number of the necessaryoverrides by defining rather primitive operations withinExtUtils::MM_Unix..PPIf you are going to write a platform specific \s-1MM\s0 package, please tryto limit the necessary overrides to primitive methods, and if it is notpossible to do so, let's work out how to achieve that gain..PPIf you are overriding any of these methods in your Makefile.PL (in the\&\s-1MY\s0 class), please report that to the makemaker mailing list. We aretrying to minimize the necessary method overrides and switch to datadriven Makefile.PLs wherever possible. In the long run less methodswill be overridable via the \s-1MY\s0 class..SH "METHODS".IX Header "METHODS"The following description of methods is still underdevelopment. Please refer to the code for not suitably documentedsections and complain loudly to the makemaker@perl.org mailing list.Better yet, provide a patch..PPNot all of the methods below are overridable in aMakefile.PL. Overridable methods are marked as (o). All methods areoverridable by a platform specific MM_*.pm file..PPCross-platform methods are being moved into MM_Any. If you can't findsomething that used to be in here, look in MM_Any..Sh "Methods".IX Subsection "Methods".IP "os_flavor" 4.IX Item "os_flavor"Simply says that we're Unix..IP "c_o (o)" 4.IX Item "c_o (o)"Defines the suffix rules to compile different flavors of C files toobject files..IP "cflags (o)" 4.IX Item "cflags (o)"Does very much the same as the cflags script in the perldistribution. It doesn't return the whole compiler command line, butinitializes all of its parts. The const_cccmd method then actuallyreturns the definition of the \s-1CCCMD\s0 macro which uses these parts..IP "const_cccmd (o)" 4.IX Item "const_cccmd (o)"Returns the full compiler call for C programs and stores thedefinition in \s-1CONST_CCCMD\s0..IP "const_config (o)" 4.IX Item "const_config (o)"Defines a couple of constants in the Makefile that are imported from\&\f(CW%Config\fR..IP "const_loadlibs (o)" 4.IX Item "const_loadlibs (o)"Defines \s-1EXTRALIBS\s0, \s-1LDLOADLIBS\s0, \s-1BSLOADLIBS\s0, \s-1LD_RUN_PATH\s0. SeeExtUtils::Liblist for details..IP "constants (o)" 4.IX Item "constants (o)".Vb 1\& my $make_frag = $mm\->constants;.Ve.SpPrints out macros for lots of constants..IP "depend (o)" 4.IX Item "depend (o)"Same as macro for the depend attribute..IP "init_DEST" 4.IX Item "init_DEST".Vb 1\& $mm\->init_DEST.Ve.SpDefines the \s-1DESTDIR\s0 and DEST* variables paralleling the INSTALL*..IP "init_dist" 4.IX Item "init_dist".Vb 1\& $mm\->init_dist;.Ve.SpDefines a lot of macros for distribution support..Sp.Vb 1\& macro description default\&\& TAR tar command to use tar\& TARFLAGS flags to pass to TAR cvf\&\& ZIP zip command to use zip\& ZIPFLAGS flags to pass to ZIP \-r\&\& COMPRESS compression command to gzip \-\-best\& use for tarfiles\& SUFFIX suffix to put on .gz \& compressed files\&\& SHAR shar command to use shar\&\& PREOP extra commands to run before\& making the archive \& POSTOP extra commands to run after\& making the archive\&\& TO_UNIX a command to convert linefeeds\& to Unix style in your archive \&\& CI command to checkin your ci \-u\& sources to version control\& RCS_LABEL command to label your sources rcs \-Nv$(VERSION_SYM): \-q\& just after CI is run\&\& DIST_CP $how argument to manicopy() best\& when the distdir is created\&\& DIST_DEFAULT default target to use to tardist\& create a distribution\&\& DISTVNAME name of the resulting archive $(DISTNAME)\-$(VERSION)\& (minus suffixes).Ve.IP "dist (o)" 4.IX Item "dist (o)".Vb 1\& my $dist_macros = $mm\->dist(%overrides);.Ve.SpGenerates a make fragment defining all the macros initialized ininit_dist..Sp\&\f(CW%overrides\fR can be used to override any of the above..IP "dist_basics (o)" 4.IX Item "dist_basics (o)"Defines the targets distclean, distcheck, skipcheck, manifest, veryclean..IP "dist_ci (o)" 4.IX Item "dist_ci (o)"Defines a check in target for \s-1RCS\s0..IP "dist_core (o)" 4.IX Item "dist_core (o)".Vb 1\& my $dist_make_fragment = $MM\->dist_core;.Ve.SpPuts the targets necessary for 'make dist' together into one makefragment..IP "\fBdist_target\fR" 4.IX Item "dist_target".Vb 1\& my $make_frag = $MM\->dist_target;.Ve.SpReturns the 'dist' target to make an archive for distribution. Thistarget simply checks to make sure the Makefile is up-to-date anddepends on $(\s-1DIST_DEFAULT\s0)..IP "\fBtardist_target\fR" 4.IX Item "tardist_target".Vb 1\& my $make_frag = $MM\->tardist_target;.Ve.SpReturns the 'tardist' target which is simply so 'make tardist' works.The real work is done by the dynamically named \fItardistfile_target()\fRmethod, tardist should have that as a dependency..IP "\fBzipdist_target\fR" 4.IX Item "zipdist_target".Vb 1\& my $make_frag = $MM\->zipdist_target;.Ve.SpReturns the 'zipdist' target which is simply so 'make zipdist' works.The real work is done by the dynamically named \fIzipdistfile_target()\fRmethod, zipdist should have that as a dependency..IP "\fBtarfile_target\fR" 4.IX Item "tarfile_target".Vb 1\& my $make_frag = $MM\->tarfile_target;.Ve.SpThe name of this target is the name of the tarball generated bytardist. This target does the actual work of turning the distdir intoa tarball..IP "zipfile_target" 4.IX Item "zipfile_target".Vb 1\& my $make_frag = $MM\->zipfile_target;.Ve.SpThe name of this target is the name of the zip file generated byzipdist. This target does the actual work of turning the distdir intoa zip file..IP "uutardist_target" 4.IX Item "uutardist_target".Vb 1\& my $make_frag = $MM\->uutardist_target;.Ve.SpConverts the tarfile into a uuencoded file.IP "shdist_target" 4.IX Item "shdist_target"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -