Manual Pages for UNIX Darwin command on man ExtUtils::MM_VMS
MyWebUniversity

Manual Pages for UNIX Darwin command on man ExtUtils::MM_VMS

ExtUtils::MMVMS(3pm) Perl Programmers Reference Guide ExtUtils::MMVMS(3pm)

NAME

ExtUtils::MMVMS - methods to override UN*X behaviour in 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::MMUnix 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 wrapped at approximately 80 columns. Methods

Those methods which override default MMUnix methods are marked "(over-

ride)", while methods unique to MMVMS are marked "(specific)". For overridden methods, documentation is limited to an explanation of why this method overrides the MMUnix method; see the ExtUtils::MMUnix documentation for more details. guessname (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 for a .pm file whose name matches that of the current directory (presumably the 'main' .pm file for this extension), and try to find a "package" statement from which to obtain the Mixed::Case package name. findperl (override) Use VMS file specification syntax and CLI commands to find and invoke Perl images. maybecommand (override) Follows VMS naming conventions for executable files. If the name passed in doesn't exactly match an executable file, appends .Exe (or equivalent) to check for executable image, and .Com to check

for DCL procedure. If this fails, checks directories in DCL$PATH

and finally Sys$System: for an executable file having the name

specified, with or without the .Exe-equivalent suffix.

pasthru (override)

VMS has $(MMSQUALIFIERS) which is a listing of all the original

command line options. This is used in every invokation of make in the VMS Makefile so PASTHRU should not be necessary. Using PASTHRU tends to blow commands past the 256 character limit. pmtoblib (override) VMS wants a dot in every file so we can't have one called 'pmtoblib', it becomes 'pmtoblib.' and MMS/K isn't smart enough to know that when you have a target called 'pmtoblib' it should look for 'pmtoblib.'. So in VMS its pmtoblib.ts. perlscript (override) If name passed in doesn't specify a readable file, appends .com or .pl and tries again, since it's customary to have file types on all files under VMS. replacemanpageseparator

Use as separator a character which is legal in a VMS-syntax file

name. initDEST (override) Because of the difficulty concatenating VMS filepaths we

must pre-expand the DEST* variables.

initDIRFILESEP No seperator between a directory path and a filename on VMS. initmain (override) initothers (override)

Provide VMS-specific forms of various utility commands, then hand

off to the default MMUnix method. DEVNULL should probably be overriden with something. Also changes EQUALIZETIMESTAMP to set revision date of target file

to one second later than source file, since MMK interprets pre-

cisely equal revision dates for a source and target file as a sign that the target needs to be updated. initplatform (override) Add PERLVMS, MMVMSREVISION and MMVMSVERSION. MMVMSREVISION is for backwards compatibility before MMVMS had a

$VERSION.

platformconstants initVERSION (override) Override the *DEFINEVERSION macros with VMS semantics. Translate the MAKEMAKER filepath to VMS style. constants (override) Fixes up numerous file and directory macros to insure VMS syntax

regardless of input syntax. Also makes lists of files comma-sepa-

rated. specialtargets Clear the default .SUFFIXES and put in our own list. cflags (override) Bypass shell script and produce qualifiers for CC directly (but

warn user if 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. constcccmd (override) Adds directives to point C preprocessor to the right place when

handling #include directives. Also constructs CC com-

mand line a bit differently than MMUnix method. toolsother (override) Throw in some dubious extra macros for Makefile args.

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

initdist (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 vmsshare DISTDEFAULT default target to use to tardist create a distribution

DISTVNAME Use VERSIONSYM instead of $(DISTNAME)-$(VERSIONSYM)

VERSION for the name co (override)

Use VMS syntax on command line. In particular, $(DEFINE) and

$(PERLINC) have been pulled into $(CCCMD). Also use MM[SK]

macros. xsc (override) Use MM[SK] macros. xso (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. dynamiclib (override) Use VMS Link command. staticlib (override) Use VMS commands to manipulate object library. extracleanfiles Clean up some OS specific files. Plus the temp file used to shorten a lot of commands. zipfiletarget tarfiletarget shdisttarget Syntax for invoking shar, tar and zip differs from that for Unix. install (override)

Work around DCL's 255 character limit several times,and use VMS-

style command line quoting in a few cases. perldepend (override)

Use VMS-style syntax for files; it's cheaper to just do it directly

here than to have the MMUnix method call "catfile" repeatedly. Also, if we have to rebuild Config.pm, use MM[SK] to do it. makeaperl (override) Undertake to build a new set of Perl images using VMS commands. Since VMS does dynamic loading, it's not necessary to statically link 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 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: perlroot:[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{vmsprefix} is

used instead. cd oneliner eecchhoo perl trips up on "" thinking it's an input redirect. So we use the native Write command instead. Besides, its faster. quoteliteral escapenewlines maxexeclen 256 characters. initlinker eliminatemacros Expands MM[KS]/Make macros in a text string, using the contents of

identically named elements of %$self, and returns the result as a

file specification in Unix syntax.

NOTE: This is the canonical version of the method. The version in

File::Spec::VMS is deprecated. fixpath

my $path = $mm->fixpath($path);

my $path = $mm->fixpath($path, $isdir);

Catchall routine to clean up problem MM[SK]/Make macros. Expands

macros in any directory specification, in 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. fixpath() checks to see whether the result matches the name of a directory in the current default directory and returns a directory

or file specification accordingly. $isdir can be set to true to

force fixpath() to consider the path to be a directory or false to force it to be a file.

NOTE: This is the canonical version of the method. The version in

File::Spec::VMS is deprecated. osflavor VMS is VMS. AUTHOR Original author Charles Bailey bailey@newman.upenn.edu Maintained by Michael G Schwern schwern@pobox.com See ExtUtils::MakeMaker for patching and contact information.

perl v5.8.8 2001-09-21 ExtUtils::MMVMS(3pm)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™