Seth Woolley's Man Viewer

ExtUtils::MM_VMS(3) - ExtUtils::MM_VMS - methods to override UN*X behaviour in ExtUtils::MakeMaker - man 3 ExtUtils::MM_VMS

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

ExtUtils::MM_VMS(3)    Perl Programmers Reference Guide    ExtUtils::MM_VMS(3)



NAME
       ExtUtils::MM_VMS - methods to override UN*X behaviour in(1,8) ExtU-
       tils::MakeMaker

SYNOPSIS
         Do not use this directly.
         Instead, use ExtUtils::MM and it will figure out which MM_*
         class to use for you.

DESCRIPTION
       See ExtUtils::MM_Unix for a documentation of the methods provided
       there. This package overrides the implementation of these methods, not
       the semantics.

       Methods always loaded


       wraplist
           Converts a list into a string(3,n) wrapped at approximately 80 columns.

       Methods

       Those methods which override default MM_Unix methods are marked "(over-
       ride)", while methods unique to MM_VMS are marked "(specific)".  For
       overridden methods, documentation is limited to an explanation of why
       this method overrides the MM_Unix method; see the ExtUtils::MM_Unix
       documentation for more details.

       guess_name (override)
           Try to determine name of extension being built.  We begin with the
           name of the current directory.  Since VMS filenames are case-insen-
           sitive, however, we look(1,8,3 Search::Dict) for a .pm file(1,n) whose name matches that of
           the current directory (presumably the 'main' .pm file(1,n) for this
           extension), and try to find a "package" statement from which to
           obtain the Mixed::Case package name.

       find_perl (override)
           Use VMS file(1,n) specification syntax and CLI commands to find and
           invoke Perl images.

       maybe_command (override)
           Follows VMS naming conventions for executable files.  If the name
           passed in(1,8) doesn't exactly match an executable file(1,n), appends .Exe
           (or equivalent) to check for executable image, and .Com to check
           for DCL procedure.  If this fails, checks directories in(1,8) DCL$PATH
           and finally Sys$System: for an executable file(1,n) having the name
           specified, with or without the .Exe-equivalent suffix.

       perl_script (override)
           If name passed in(1,8) doesn't specify a readable file(1,n), appends .com or
           .pl and tries again, since it's customary to have file(1,n) types on all
           files under VMS.

       replace_manpage_separator
           Use as separator a character which is legal in(1,8) a VMS-syntax file(1,n)
           name.

       init_DEST
           (override) Because of the difficulty concatenating VMS filepaths we
           must pre-expand the DEST* variables.

       init_DIRFILESEP
           No seperator between a directory path and a filename on VMS.

       init_main (override)
       init_others (override)
           Provide VMS-specific forms of various utility commands, then hand
           off to the default MM_Unix method.

           DEV_NULL should probably be overriden with something.

           Also changes EQUALIZE_TIMESTAMP to set(7,n,1 builtins) revision date of target file(1,n)
           to one second later than source file(1,n), since MMK interprets pre-
           cisely equal revision dates for a source and target file(1,n) as a sign
           that the target needs to be updated.

       init_platform (override)
           Add PERL_VMS, MM_VMS_REVISION and MM_VMS_VERSION.

           MM_VMS_REVISION is for backwards compatibility before MM_VMS had a
           $VERSION.

       platform_constants
       init_VERSION (override)
           Override the *DEFINE_VERSION macros with VMS semantics.  Translate
           the MAKEMAKER filepath to VMS style.

       constants (override)
           Fixes up numerous file(1,n) and directory macros to insure VMS syntax
           regardless of input syntax.  Also makes lists of files comma-sepa-
           rated.

       special_targets
           Clear the default .SUFFIXES and put in(1,8) our own list.

       cflags (override)
           Bypass shell script and produce qualifiers for CC directly (but
           warn user if(3,n) a shell script for this extension exists).  Fold mul-
           tiple /Defines into one, since some C compilers pay attention to
           only one instance of this qualifier on the command line.

       const_cccmd (override)
           Adds directives to point C preprocessor to the right place when
           handling #include <sys/foo.h> directives.  Also constructs CC com-
           mand line a bit differently than MM_Unix method.

       tool_sxubpp (override)
           Use VMS-style quoting on xsubpp command line.

       tools_other (override)
           Throw in(1,8) some dubious extra macros for Makefile args.

           Also keep around the old $(SAY) macro in(1,8) case somebody's using it.

       init_dist (override)
           VMSish defaults for some values.

             macro         description                     default

             ZIPFLAGS      flags to pass to ZIP            -Vu

             COMPRESS      compression command to          gzip
                           use for tarfiles
             SUFFIX        suffix to put on                -gz
                           compressed files

             SHAR          shar command to use             vms_share

             DIST_DEFAULT  default target to use to        tardist
                           create a distribution

             DISTVNAME     Use VERSION_SYM instead of      $(DISTNAME)-$(VERSION_SYM)
                           VERSION for the name

       c_o (override)
           Use VMS syntax on command line.  In particular, $(DEFINE) and
           $(PERL_INC) have been pulled into $(CCCMD).  Also use MM[SK]
           macros.

       xs_c (override)
           Use MM[SK] macros.

       xs_o (override)
           Use MM[SK] macros, and VMS command line for C compiler.

       dlsyms (override)
           Create VMS linker options files specifying universal symbols for
           this extension's shareable image, and listing other shareable
           images or libraries to which it should be linked.

       dynamic_lib (override)
           Use VMS Link command.

       dynamic_bs (override)
           Use VMS-style quoting on Mkbootstrap command line.

       static_lib (override)
           Use VMS commands to manipulate object library.

       processPL (override)
           Use VMS-style quoting on command line.

       installbin (override)
           Stay under DCL's 255 character command line limit once again by
           splitting potentially long list of files across multiple lines in(1,8)
           "realclean" target.

       subdir_x (override)
           Use VMS commands to change default directory.

       clean (override)
           Split potentially long list of files across multiple commands (in(1,8)
           order to stay under the magic(4,5) command line limit).  Also use MM[SK]
           commands for handling subdirectories.

       clean_subdirs_target
             my $make_frag = $MM->clean_subdirs_target;

           VMS semantics for changing directories and rerunning make very dif-
           ferent.

       realclean (override)
           Guess what we're working around?  Also, use MM[SK] for subdirecto-
           ries.

       zipfile_target (o)
       tarfile_target (o)
       shdist_target (o)
           Syntax for invoking shar, tar and zip differs from that for Unix.

       dist_test (override)
           Use VMS commands to change default directory, and use VMS-style
           quoting on command line.

       install (override)
           Work around DCL's 255 character limit several times,and use VMS-
           style command line quoting in(1,8) a few cases.

       perldepend (override)
           Use VMS-style syntax for files; it's cheaper to just do it directly
           here than to have the MM_Unix method call "catfile" repeatedly.
           Also, if(3,n) we have to rebuild Config.pm, use MM[SK] to do it.

       makefile (override)
           Use VMS commands and quoting.

       find_tests (override)
       test (override)
           Use VMS commands for handling subdirectories.

       makeaperl (override)
           Undertake to build a new set(7,n,1 builtins) of Perl images using VMS commands.
           Since VMS does dynamic loading, it's not necessary to statically
           link(1,2) each extension into the Perl image, so this isn't the normal
           build path.  Consequently, it hasn't really been tested, and may
           well be incomplete.

       nicetext (override)
           Insure that colons marking targets are preceded by space, in(1,8) order
           to distinguish the target delimiter from a colon appearing as part
           of a filespec.

       prefixify (override)
           prefixifying on VMS is simple.  Each should simply be:

               perl_root:[some.dir]

           which can just be converted to:

               volume:[your.prefix.some.dir]

           otherwise you get the default layout.

           In effect, your search prefix is ignored and $Config{vms_prefix} is
           used instead.

       oneliner (o)
       echo(1,3x,1 builtins) (o)
           perl trips up on "<foo>" thinking it's an input redirect.  So we
           use the native Write command instead.  Besides, its faster.

       quote_literal
       escape_newlines
       max_exec_len
           256 characters.

       init_linker (o)
       eliminate_macros
           Expands MM[KS]/Make macros in(1,8) a text string(3,n), using the contents of
           identically named(5,8) elements of %$self, and returns the result as a
           file(1,n) specification in(1,8) Unix syntax.

           NOTE:  This is the canonical version(1,3,5) of the method.  The version(1,3,5) in(1,8)
           File::Spec::VMS is deprecated.

       fixpath
           Catchall routine to clean up problem MM[SK]/Make macros.  Expands
           macros in(1,8) any directory specification, in(1,8) order to avoid juxtapos-
           ing two VMS-syntax directories when MM[SK] is run.  Also expands
           expressions which are all macro, so that we can tell how long the
           expansion is, and avoid overrunning DCL's command buffer when
           MM[KS] is running.

           If optional second argument has a TRUE value, then the return
           string(3,n) is a VMS-syntax directory specification, if(3,n) it is FALSE, the
           return string(3,n) is a VMS-syntax file(1,n) specification, and if(3,n) it is not
           specified, fixpath() checks to see whether it matches the name of a
           directory in(1,8) the current default directory, and returns a directory
           or file(1,n) specification accordingly.

           NOTE:  This is the canonical version(1,3,5) of the method.  The version(1,3,5) in(1,8)
           File::Spec::VMS is deprecated.

       os_flavor
           VMS is VMS.



perl v5.8.5                       2001-09-21               ExtUtils::MM_VMS(3)

References for this manual (incoming links)