⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makemaker.pm

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 PM
📖 第 1 页 / 共 5 页
字号:
directory if INSTALLDIRS is set to is set to vendor.=item INST_ARCHLIBSame as INST_LIB for architecture dependent files.=item INST_BINDirectory to put real binary files during 'make'. These will be copiedto INSTALLBIN during 'make install'=item INST_LIBDirectory where we put library files of this extension while buildingit.=item INST_MAN1DIRDirectory to hold the man pages at 'make' time=item INST_MAN3DIRDirectory to hold the man pages at 'make' time=item INST_SCRIPTDirectory, where executable files should be installed during'make'. Defaults to "./blib/script", just to have a dummy location duringtesting. make install will copy the files in INST_SCRIPT toINSTALLSCRIPT.=item LDProgram to be used to link libraries for dynamic loading.Defaults to $Config{ld}.=item LDDLFLAGSAny special flags that might need to be passed to ld to create ashared library suitable for dynamic loading.  It is up to the makefileto use it.  (See L<Config/lddlflags>)Defaults to $Config{lddlflags}.=item LDFROMDefaults to "$(OBJECT)" and is used in the ld command to specifywhat files to link/load from (also see dynamic_lib below for how tospecify ld flags)=item LIBLIB should only be set at C<perl Makefile.PL> time but is allowed as aMakeMaker argument. It has the effect of setting both INSTALLPRIVLIBand INSTALLSITELIB to that value regardless any explicit setting ofthose arguments (or of PREFIX).  INSTALLARCHLIB and INSTALLSITEARCHare set to the corresponding architecture subdirectory.=item LIBPERL_AThe filename of the perllibrary that will be used together with thisextension. Defaults to libperl.a.=item LIBSAn anonymous array of alternative libraryspecifications to be searched for (in order) untilat least one library is found. E.g.  'LIBS' => ["-lgdbm", "-ldbm -lfoo", "-L/path -ldbm.nfs"]Mind, that any element of the arraycontains a complete set of arguments for the ldcommand. So do not specify  'LIBS' => ["-ltcl", "-ltk", "-lX11"]See ODBM_File/Makefile.PL for an example, where an array is needed. Ifyou specify a scalar as in  'LIBS' => "-ltcl -ltk -lX11"MakeMaker will turn it into an array with one element.=item LICENSEThe licensing terms of your distribution.  Generally its "perl" for thesame license as Perl itself.See L<Module::Build::Authoring> for the list of options.Defaults to "unknown".=item LINKTYPE'static' or 'dynamic' (default unless usedl=undef inconfig.sh). Should only be used to force static linking (also seelinkext below).=item MAKEVariant of make you intend to run the generated Makefile with.  Thisparameter lets Makefile.PL know what make quirks to account for whengenerating the Makefile.MakeMaker also honors the MAKE environment variable.  This parametertakes precedent.Currently the only significant values are 'dmake' and 'nmake' for Windowsusers.Defaults to $Config{make}.=item MAKEAPERLBoolean which tells MakeMaker, that it should include the rules tomake a perl. This is handled automatically as a switch byMakeMaker. The user normally does not need it.=item MAKEFILE_OLDWhen 'make clean' or similar is run, the $(FIRST_MAKEFILE) will bebacked up at this location.Defaults to $(FIRST_MAKEFILE).old or $(FIRST_MAKEFILE)_old on VMS.=item MAN1PODSHashref of pod-containing files. MakeMaker will default this to allEXE_FILES files that include POD directives. The files listedhere will be converted to man pages and installed as was requestedat Configure time.=item MAN3PODSHashref that assigns to *.pm and *.pod files the files into which themanpages are to be written. MakeMaker parses all *.pod and *.pm filesfor POD directives. Files that contain POD will be the default keys ofthe MAN3PODS hashref. These will then be converted to man pages duringC<make> and will be installed during C<make install>.=item MAP_TARGETIf it is intended, that a new perl binary be produced, this variablemay hold a name for that binary. Defaults to perl=item MYEXTLIBIf the extension links to a library that it builds set this to thename of the library (see SDBM_File)=item NAMEPerl module name for this extension (DBD::Oracle). This will defaultto the directory name but should be explicitly defined in theMakefile.PL.=item NEEDS_LINKINGMakeMaker will figure out if an extension contains linkable codeanywhere down the directory tree, and will set this variableaccordingly, but you can speed it up a very little bit if you definethis boolean variable yourself.=item NOECHOCommand so make does not print the literal commands its running.By setting it to an empty string you can generate a Makefile thatprints all commands. Mainly used in debugging MakeMaker itself.Defaults to C<@>.=item NORECURSBoolean.  Attribute to inhibit descending into subdirectories.=item NO_METAWhen true, suppresses the generation and addition to the MANIFEST ofthe META.yml module meta-data file during 'make distdir'.Defaults to false.=item NO_VCIn general, any generated Makefile checks for the current version ofMakeMaker and the version the Makefile was built under. If NO_VC isset, the version check is neglected. Do not write this into yourMakefile.PL, use it interactively instead.=item OBJECTList of object files, defaults to '$(BASEEXT)$(OBJ_EXT)', but can be a longstring containing all object files, e.g. "tkpBind.otkpButton.o tkpCanvas.o"(Where BASEEXT is the last component of NAME, and OBJ_EXT is $Config{obj_ext}.)=item OPTIMIZEDefaults to C<-O>. Set it to C<-g> to turn debugging on. The flag ispassed to subdirectory makes.=item PERLPerl binary for tasks that can be done by miniperl=item PERL_CORESet only when MakeMaker is building the extensions of the Perl coredistribution.=item PERLMAINCCThe call to the program that is able to compile perlmain.c. Defaultsto $(CC).=item PERL_ARCHLIBSame as for PERL_LIB, but for architecture dependent files.Used only when MakeMaker is building the extensions of the Perl coredistribution (because normally $(PERL_ARCHLIB) is automatically in @INC,and adding it would get in the way of PERL5LIB).=item PERL_LIBDirectory containing the Perl library to use.Used only when MakeMaker is building the extensions of the Perl coredistribution (because normally $(PERL_LIB) is automatically in @INC,and adding it would get in the way of PERL5LIB).=item PERL_MALLOC_OKdefaults to 0.  Should be set to TRUE if the extension can work withthe memory allocation routines substituted by the Perl malloc() subsystem.This should be applicable to most extensions with exceptions of those=over 4=item *with bugs in memory allocations which are caught by Perl's malloc();=item *which interact with the memory allocator in other ways than viamalloc(), realloc(), free(), calloc(), sbrk() and brk();=item *which rely on special alignment which is not provided by Perl's malloc().=backB<NOTE.>  Negligence to set this flag in I<any one> of loaded extensionnullifies many advantages of Perl's malloc(), such as better usage ofsystem resources, error detection, memory usage reporting, catchable failureof memory allocations, etc.=item PERLPREFIXDirectory under which core modules are to be installed.Defaults to $Config{installprefixexp} falling back to$Config{installprefix}, $Config{prefixexp} or $Config{prefix} should$Config{installprefixexp} not exist.Overridden by PREFIX.=item PERLRUNUse this instead of $(PERL) when you wish to run perl.  It will set upextra necessary flags for you.=item PERLRUNINSTUse this instead of $(PERL) when you wish to run perl to work withmodules.  It will add things like -I$(INST_ARCH) and other necessaryflags so perl can see the modules you're about to install.=item PERL_SRCDirectory containing the Perl source code (use of this should beavoided, it may be undefined)=item PERM_RWDesired permission for read/writable files. Defaults to C<644>.See also L<MM_Unix/perm_rw>.=item PERM_RWXDesired permission for executable files. Defaults to C<755>.See also L<MM_Unix/perm_rwx>.=item PL_FILESMakeMaker can run programs to generate files for you at build time.By default any file named *.PL (except Makefile.PL and Build.PL) inthe top level directory will be assumed to be a Perl program and runpassing its own basename in as an argument.  For example...    perl foo.PL fooThis behavior can be overridden by supplying your own set of files tosearch.  PL_FILES accepts a hash ref, the key being the file to runand the value is passed in as the first argument when the PL file is run.    PL_FILES => {'bin/foobar.PL' => 'bin/foobar'}Would run bin/foobar.PL like this:    perl bin/foobar.PL bin/foobarIf multiple files from one program are desired an array ref can be used.    PL_FILES => {'bin/foobar.PL' => [qw(bin/foobar1 bin/foobar2)]}In this case the program will be run multiple times using each target file.    perl bin/foobar.PL bin/foobar1    perl bin/foobar.PL bin/foobar2PL files are normally run B<after> pm_to_blib and include INST_LIB andINST_ARCH in its C<@INC> so the just built modules can beaccessed... unless the PL file is making a module (or anything else inPM) in which case it is run B<before> pm_to_blib and does not includeINST_LIB and INST_ARCH in its C<@INC>.  This apparently odd behavioris there for backwards compatibility (and its somewhat DWIM).=item PMHashref of .pm files and *.pl files to be installed.  e.g.  {'name_of_file.pm' => '$(INST_LIBDIR)/install_as.pm'}By default this will include *.pm and *.pl and the files found inthe PMLIBDIRS directories.  Defining PM in theMakefile.PL will override PMLIBDIRS.=item PMLIBDIRSRef to array of subdirectories containing library files.  Defaults to[ 'lib', $(BASEEXT) ]. The directories will be scanned and I<any> filesthey contain will be installed in the corresponding location in thelibrary.  A libscan() method can be used to alter the behaviour.Defining PM in the Makefile.PL will override PMLIBDIRS.(Where BASEEXT is the last component of NAME.)=item PM_FILTERA filter program, in the traditional Unix sense (input from stdin, outputto stdout) that is passed on each .pm file during the build (in thepm_to_blib() phase).  It is empty by default, meaning no filtering is done.Great care is necessary when defining the command if quoting needs to bedone.  For instance, you would need to say:  {'PM_FILTER' => 'grep -v \\"^\\#\\"'}to remove all the leading comments on the fly during the build.  Theextra \\ are necessary, unfortunately, because this variable is interpolatedwithin the context of a Perl program built on the command line, and doublequotes are what is used with the -e switch to build that command line.  The# is escaped for the Makefile, since what is going to be generated will thenbe:  PM_FILTER = grep -v \"^\#\"Without the \\ before the #, we'd have the start of a Makefile comment,and the macro would be incorrectly defined.=item POLLUTERelease 5.005 grandfathered old global symbol names by providing preprocessormacros for extension source compatibility.  As of release 5.6, thesepreprocessor definitions are not available by default.  The POLLUTE flagspecifies that the old names should still be defined:  perl Makefile.PL POLLUTE=1Please inform the module author if this is necessary to successfully installa module under 5.6 or later.=item PPM_INSTALL_EXECName of the executable used to run C<PPM_INSTALL_SCRIPT> below. (e.g. perl)=item PPM_INSTALL_SCRIPTName of the script that gets executed by the Perl Package Manager afterthe installation of a package.=item PREFIXThis overrides all the default install locations.  Man pages,libraries, scripts, etc...  MakeMaker will try to make an educatedguess about where to place things under the new PREFIX based on yourConfig defaults.  Failing that, it will fall back to a structurewhich should be sensible for your platform.If you specify LIB or any INSTALL* variables they will not be effectedby the PREFIX.=item PREREQ_FATALBool. If this parameter is true, failing to have the required modules(or the right v

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -