Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | .\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 |
2 | .\" | |
3 | .\" Standard preamble: | |
4 | .\" ======================================================================== | |
5 | .de Sh \" Subsection heading | |
6 | .br | |
7 | .if t .Sp | |
8 | .ne 5 | |
9 | .PP | |
10 | \fB\\$1\fR | |
11 | .PP | |
12 | .. | |
13 | .de Sp \" Vertical space (when we can't use .PP) | |
14 | .if t .sp .5v | |
15 | .if n .sp | |
16 | .. | |
17 | .de Vb \" Begin verbatim text | |
18 | .ft CW | |
19 | .nf | |
20 | .ne \\$1 | |
21 | .. | |
22 | .de Ve \" End verbatim text | |
23 | .ft R | |
24 | .fi | |
25 | .. | |
26 | .\" Set up some character translations and predefined strings. \*(-- will | |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left | |
28 | .\" double quote, and \*(R" will give a right double quote. | will give a | |
29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to | |
30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' | |
31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. | |
32 | .tr \(*W-|\(bv\*(Tr | |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' | |
34 | .ie n \{\ | |
35 | . ds -- \(*W- | |
36 | . ds PI pi | |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch | |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch | |
39 | . ds L" "" | |
40 | . ds R" "" | |
41 | . ds C` "" | |
42 | . ds C' "" | |
43 | 'br\} | |
44 | .el\{\ | |
45 | . ds -- \|\(em\| | |
46 | . ds PI \(*p | |
47 | . ds L" `` | |
48 | . ds R" '' | |
49 | 'br\} | |
50 | .\" | |
51 | .\" If the F register is turned on, we'll generate index entries on stderr for | |
52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index | |
53 | .\" entries marked with X<> in POD. Of course, you'll have to process the | |
54 | .\" output yourself in some meaningful fashion. | |
55 | .if \nF \{\ | |
56 | . de IX | |
57 | . tm Index:\\$1\t\\n%\t"\\$2" | |
58 | .. | |
59 | . nr % 0 | |
60 | . rr F | |
61 | .\} | |
62 | .\" | |
63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes | |
64 | .\" way too many mistakes in technical documents. | |
65 | .hy 0 | |
66 | .if n .na | |
67 | .\" | |
68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). | |
69 | .\" Fear. Run. Save yourself. No user-serviceable parts. | |
70 | . \" fudge factors for nroff and troff | |
71 | .if n \{\ | |
72 | . ds #H 0 | |
73 | . ds #V .8m | |
74 | . ds #F .3m | |
75 | . ds #[ \f1 | |
76 | . ds #] \fP | |
77 | .\} | |
78 | .if t \{\ | |
79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) | |
80 | . ds #V .6m | |
81 | . ds #F 0 | |
82 | . ds #[ \& | |
83 | . ds #] \& | |
84 | .\} | |
85 | . \" simple accents for nroff and troff | |
86 | .if n \{\ | |
87 | . ds ' \& | |
88 | . ds ` \& | |
89 | . ds ^ \& | |
90 | . ds , \& | |
91 | . ds ~ ~ | |
92 | . ds / | |
93 | .\} | |
94 | .if t \{\ | |
95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" | |
96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | |
97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | |
98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | |
99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | |
100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | |
101 | .\} | |
102 | . \" troff and (daisy-wheel) nroff accents | |
103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' | |
104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | |
105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | |
106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | |
107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | |
108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | |
109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | |
110 | .ds ae a\h'-(\w'a'u*4/10)'e | |
111 | .ds Ae A\h'-(\w'A'u*4/10)'E | |
112 | . \" corrections for vroff | |
113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' | |
114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | |
115 | . \" for low resolution devices (crt and lpr) | |
116 | .if \n(.H>23 .if \n(.V>19 \ | |
117 | \{\ | |
118 | . ds : e | |
119 | . ds 8 ss | |
120 | . ds o a | |
121 | . ds d- d\h'-1'\(ga | |
122 | . ds D- D\h'-1'\(hy | |
123 | . ds th \o'bp' | |
124 | . ds Th \o'LP' | |
125 | . ds ae ae | |
126 | . ds Ae AE | |
127 | .\} | |
128 | .rm #[ #] #H #V #F C | |
129 | .\" ======================================================================== | |
130 | .\" | |
131 | .IX Title "ExtUtils::MM_VMS 3" | |
132 | .TH ExtUtils::MM_VMS 3 "2003-08-18" "perl v5.8.0" "User Contributed Perl Documentation" | |
133 | .SH "NAME" | |
134 | ExtUtils::MM_VMS \- methods to override UN*X behaviour in ExtUtils::MakeMaker | |
135 | .SH "SYNOPSIS" | |
136 | .IX Header "SYNOPSIS" | |
137 | .Vb 3 | |
138 | \& Do not use this directly. | |
139 | \& Instead, use ExtUtils::MM and it will figure out which MM_* | |
140 | \& class to use for you. | |
141 | .Ve | |
142 | .SH "DESCRIPTION" | |
143 | .IX Header "DESCRIPTION" | |
144 | See ExtUtils::MM_Unix for a documentation of the methods provided | |
145 | there. This package overrides the implementation of these methods, not | |
146 | the semantics. | |
147 | .Sh "Methods always loaded" | |
148 | .IX Subsection "Methods always loaded" | |
149 | .IP "wraplist" 4 | |
150 | .IX Item "wraplist" | |
151 | Converts a list into a string wrapped at approximately 80 columns. | |
152 | .Sh "Methods" | |
153 | .IX Subsection "Methods" | |
154 | Those methods which override default MM_Unix methods are marked | |
155 | \&\*(L"(override)\*(R", while methods unique to \s-1MM_VMS\s0 are marked \*(L"(specific)\*(R". | |
156 | For overridden methods, documentation is limited to an explanation | |
157 | of why this method overrides the MM_Unix method; see the ExtUtils::MM_Unix | |
158 | documentation for more details. | |
159 | .IP "guess_name (override)" 4 | |
160 | .IX Item "guess_name (override)" | |
161 | Try to determine name of extension being built. We begin with the name | |
162 | of the current directory. Since \s-1VMS\s0 filenames are case\-insensitive, | |
163 | however, we look for a \fI.pm\fR file whose name matches that of the current | |
164 | directory (presumably the 'main' \fI.pm\fR file for this extension), and try | |
165 | to find a \f(CW\*(C`package\*(C'\fR statement from which to obtain the Mixed::Case | |
166 | package name. | |
167 | .IP "find_perl (override)" 4 | |
168 | .IX Item "find_perl (override)" | |
169 | Use \s-1VMS\s0 file specification syntax and \s-1CLI\s0 commands to find and | |
170 | invoke Perl images. | |
171 | .IP "maybe_command (override)" 4 | |
172 | .IX Item "maybe_command (override)" | |
173 | Follows \s-1VMS\s0 naming conventions for executable files. | |
174 | If the name passed in doesn't exactly match an executable file, | |
175 | appends \fI.Exe\fR (or equivalent) to check for executable image, and \fI.Com\fR | |
176 | to check for \s-1DCL\s0 procedure. If this fails, checks directories in \s-1DCL$PATH\s0 | |
177 | and finally \fISys$System:\fR for an executable file having the name specified, | |
178 | with or without the \fI.Exe\fR\-equivalent suffix. | |
179 | .IP "perl_script (override)" 4 | |
180 | .IX Item "perl_script (override)" | |
181 | If name passed in doesn't specify a readable file, appends \fI.com\fR or | |
182 | \&\fI.pl\fR and tries again, since it's customary to have file types on all files | |
183 | under \s-1VMS\s0. | |
184 | .IP "replace_manpage_separator" 4 | |
185 | .IX Item "replace_manpage_separator" | |
186 | Use as separator a character which is legal in a VMS-syntax file name. | |
187 | .IP "init_DEST" 4 | |
188 | .IX Item "init_DEST" | |
189 | (override) Because of the difficulty concatenating \s-1VMS\s0 filepaths we | |
190 | must pre-expand the DEST* variables. | |
191 | .IP "init_DIRFILESEP" 4 | |
192 | .IX Item "init_DIRFILESEP" | |
193 | No seperator between a directory path and a filename on \s-1VMS\s0. | |
194 | .IP "init_main (override)" 4 | |
195 | .IX Item "init_main (override)" | |
196 | .PD 0 | |
197 | .IP "init_others (override)" 4 | |
198 | .IX Item "init_others (override)" | |
199 | .PD | |
200 | Provide VMS-specific forms of various utility commands, then hand | |
201 | off to the default MM_Unix method. | |
202 | .Sp | |
203 | \&\s-1DEV_NULL\s0 should probably be overriden with something. | |
204 | .Sp | |
205 | Also changes \s-1EQUALIZE_TIMESTAMP\s0 to set revision date of target file to | |
206 | one second later than source file, since \s-1MMK\s0 interprets precisely | |
207 | equal revision dates for a source and target file as a sign that the | |
208 | target needs to be updated. | |
209 | .IP "init_platform (override)" 4 | |
210 | .IX Item "init_platform (override)" | |
211 | Add \s-1PERL_VMS\s0, \s-1MM_VMS_REVISION\s0 and \s-1MM_VMS_VERSION\s0. | |
212 | .Sp | |
213 | \&\s-1MM_VMS_REVISION\s0 is for backwards compatibility before \s-1MM_VMS\s0 had a | |
214 | \&\f(CW$VERSION\fR. | |
215 | .IP "platform_constants" 4 | |
216 | .IX Item "platform_constants" | |
217 | .PD 0 | |
218 | .IP "init_VERSION (override)" 4 | |
219 | .IX Item "init_VERSION (override)" | |
220 | .PD | |
221 | Override the *DEFINE_VERSION macros with \s-1VMS\s0 semantics. Translate the | |
222 | \&\s-1MAKEMAKER\s0 filepath to \s-1VMS\s0 style. | |
223 | .IP "constants (override)" 4 | |
224 | .IX Item "constants (override)" | |
225 | Fixes up numerous file and directory macros to insure \s-1VMS\s0 syntax | |
226 | regardless of input syntax. Also makes lists of files | |
227 | comma\-separated. | |
228 | .IP "special_targets" 4 | |
229 | .IX Item "special_targets" | |
230 | Clear the default .SUFFIXES and put in our own list. | |
231 | .IP "cflags (override)" 4 | |
232 | .IX Item "cflags (override)" | |
233 | Bypass shell script and produce qualifiers for \s-1CC\s0 directly (but warn | |
234 | user if a shell script for this extension exists). Fold multiple | |
235 | /Defines into one, since some C compilers pay attention to only one | |
236 | instance of this qualifier on the command line. | |
237 | .IP "const_cccmd (override)" 4 | |
238 | .IX Item "const_cccmd (override)" | |
239 | Adds directives to point C preprocessor to the right place when | |
240 | handling #include <sys/foo.h> directives. Also constructs \s-1CC\s0 | |
241 | command line a bit differently than MM_Unix method. | |
242 | .IP "tool_sxubpp (override)" 4 | |
243 | .IX Item "tool_sxubpp (override)" | |
244 | Use VMS-style quoting on xsubpp command line. | |
245 | .IP "tools_other (override)" 4 | |
246 | .IX Item "tools_other (override)" | |
247 | Throw in some dubious extra macros for Makefile args. | |
248 | .Sp | |
249 | Also keep around the old $(\s-1SAY\s0) macro in case somebody's using it. | |
250 | .IP "init_dist (override)" 4 | |
251 | .IX Item "init_dist (override)" | |
252 | VMSish defaults for some values. | |
253 | .Sp | |
254 | .Vb 1 | |
255 | \& macro description default | |
256 | .Ve | |
257 | .Sp | |
258 | .Vb 1 | |
259 | \& ZIPFLAGS flags to pass to ZIP -Vu | |
260 | .Ve | |
261 | .Sp | |
262 | .Vb 4 | |
263 | \& COMPRESS compression command to gzip | |
264 | \& use for tarfiles | |
265 | \& SUFFIX suffix to put on -gz | |
266 | \& compressed files | |
267 | .Ve | |
268 | .Sp | |
269 | .Vb 1 | |
270 | \& SHAR shar command to use vms_share | |
271 | .Ve | |
272 | .Sp | |
273 | .Vb 2 | |
274 | \& DIST_DEFAULT default target to use to tardist | |
275 | \& create a distribution | |
276 | .Ve | |
277 | .Sp | |
278 | .Vb 2 | |
279 | \& DISTVNAME Use VERSION_SYM instead of $(DISTNAME)-$(VERSION_SYM) | |
280 | \& VERSION for the name | |
281 | .Ve | |
282 | .IP "c_o (override)" 4 | |
283 | .IX Item "c_o (override)" | |
284 | Use \s-1VMS\s0 syntax on command line. In particular, $(\s-1DEFINE\s0) and | |
285 | $(\s-1PERL_INC\s0) have been pulled into $(\s-1CCCMD\s0). Also use MM[\s-1SK\s0] macros. | |
286 | .IP "xs_c (override)" 4 | |
287 | .IX Item "xs_c (override)" | |
288 | Use MM[\s-1SK\s0] macros. | |
289 | .IP "xs_o (override)" 4 | |
290 | .IX Item "xs_o (override)" | |
291 | Use MM[\s-1SK\s0] macros, and \s-1VMS\s0 command line for C compiler. | |
292 | .IP "dlsyms (override)" 4 | |
293 | .IX Item "dlsyms (override)" | |
294 | Create \s-1VMS\s0 linker options files specifying universal symbols for this | |
295 | extension's shareable image, and listing other shareable images or | |
296 | libraries to which it should be linked. | |
297 | .IP "dynamic_lib (override)" 4 | |
298 | .IX Item "dynamic_lib (override)" | |
299 | Use \s-1VMS\s0 Link command. | |
300 | .IP "dynamic_bs (override)" 4 | |
301 | .IX Item "dynamic_bs (override)" | |
302 | Use VMS-style quoting on Mkbootstrap command line. | |
303 | .IP "static_lib (override)" 4 | |
304 | .IX Item "static_lib (override)" | |
305 | Use \s-1VMS\s0 commands to manipulate object library. | |
306 | .IP "processPL (override)" 4 | |
307 | .IX Item "processPL (override)" | |
308 | Use VMS-style quoting on command line. | |
309 | .IP "installbin (override)" 4 | |
310 | .IX Item "installbin (override)" | |
311 | Stay under \s-1DCL\s0's 255 character command line limit once again by | |
312 | splitting potentially long list of files across multiple lines | |
313 | in \f(CW\*(C`realclean\*(C'\fR target. | |
314 | .IP "subdir_x (override)" 4 | |
315 | .IX Item "subdir_x (override)" | |
316 | Use \s-1VMS\s0 commands to change default directory. | |
317 | .IP "clean (override)" 4 | |
318 | .IX Item "clean (override)" | |
319 | Split potentially long list of files across multiple commands (in | |
320 | order to stay under the magic command line limit). Also use MM[\s-1SK\s0] | |
321 | commands for handling subdirectories. | |
322 | .IP "clean_subdirs_target" 4 | |
323 | .IX Item "clean_subdirs_target" | |
324 | .Vb 1 | |
325 | \& my $make_frag = $MM->clean_subdirs_target; | |
326 | .Ve | |
327 | .Sp | |
328 | \&\s-1VMS\s0 semantics for changing directories and rerunning make very different. | |
329 | .IP "realclean (override)" 4 | |
330 | .IX Item "realclean (override)" | |
331 | Guess what we're working around? Also, use MM[\s-1SK\s0] for subdirectories. | |
332 | .IP "zipfile_target (o)" 4 | |
333 | .IX Item "zipfile_target (o)" | |
334 | .PD 0 | |
335 | .IP "tarfile_target (o)" 4 | |
336 | .IX Item "tarfile_target (o)" | |
337 | .IP "shdist_target (o)" 4 | |
338 | .IX Item "shdist_target (o)" | |
339 | .PD | |
340 | Syntax for invoking shar, tar and zip differs from that for Unix. | |
341 | .IP "dist_test (override)" 4 | |
342 | .IX Item "dist_test (override)" | |
343 | Use \s-1VMS\s0 commands to change default directory, and use VMS-style | |
344 | quoting on command line. | |
345 | .IP "install (override)" 4 | |
346 | .IX Item "install (override)" | |
347 | Work around \s-1DCL\s0's 255 character limit several times,and use | |
348 | VMS-style command line quoting in a few cases. | |
349 | .IP "perldepend (override)" 4 | |
350 | .IX Item "perldepend (override)" | |
351 | Use VMS-style syntax for files; it's cheaper to just do it directly here | |
352 | than to have the MM_Unix method call \f(CW\*(C`catfile\*(C'\fR repeatedly. Also, if | |
353 | we have to rebuild Config.pm, use MM[\s-1SK\s0] to do it. | |
354 | .IP "makefile (override)" 4 | |
355 | .IX Item "makefile (override)" | |
356 | Use \s-1VMS\s0 commands and quoting. | |
357 | .IP "find_tests (override)" 4 | |
358 | .IX Item "find_tests (override)" | |
359 | .PD 0 | |
360 | .IP "test (override)" 4 | |
361 | .IX Item "test (override)" | |
362 | .PD | |
363 | Use \s-1VMS\s0 commands for handling subdirectories. | |
364 | .IP "makeaperl (override)" 4 | |
365 | .IX Item "makeaperl (override)" | |
366 | Undertake to build a new set of Perl images using \s-1VMS\s0 commands. Since | |
367 | \&\s-1VMS\s0 does dynamic loading, it's not necessary to statically link each | |
368 | extension into the Perl image, so this isn't the normal build path. | |
369 | Consequently, it hasn't really been tested, and may well be incomplete. | |
370 | .IP "nicetext (override)" 4 | |
371 | .IX Item "nicetext (override)" | |
372 | Insure that colons marking targets are preceded by space, in order | |
373 | to distinguish the target delimiter from a colon appearing as | |
374 | part of a filespec. | |
375 | .IP "prefixify (override)" 4 | |
376 | .IX Item "prefixify (override)" | |
377 | prefixifying on \s-1VMS\s0 is simple. Each should simply be: | |
378 | .Sp | |
379 | .Vb 1 | |
380 | \& perl_root:[some.dir] | |
381 | .Ve | |
382 | .Sp | |
383 | which can just be converted to: | |
384 | .Sp | |
385 | .Vb 1 | |
386 | \& volume:[your.prefix.some.dir] | |
387 | .Ve | |
388 | .Sp | |
389 | otherwise you get the default layout. | |
390 | .Sp | |
391 | In effect, your search prefix is ignored and \f(CW$Config\fR{vms_prefix} is | |
392 | used instead. | |
393 | .IP "oneliner (o)" 4 | |
394 | .IX Item "oneliner (o)" | |
395 | .PD 0 | |
396 | .IP "\fBecho\fR (o)" 4 | |
397 | .IX Item "echo (o)" | |
398 | .PD | |
399 | perl trips up on \*(L"<foo>\*(R" thinking it's an input redirect. So we use the | |
400 | native Write command instead. Besides, its faster. | |
401 | .IP "quote_literal" 4 | |
402 | .IX Item "quote_literal" | |
403 | .PD 0 | |
404 | .IP "escape_newlines" 4 | |
405 | .IX Item "escape_newlines" | |
406 | .IP "max_exec_len" 4 | |
407 | .IX Item "max_exec_len" | |
408 | .PD | |
409 | 256 characters. | |
410 | .IP "init_linker (o)" 4 | |
411 | .IX Item "init_linker (o)" | |
412 | .PD 0 | |
413 | .IP "eliminate_macros" 4 | |
414 | .IX Item "eliminate_macros" | |
415 | .PD | |
416 | Expands MM[\s-1KS\s0]/Make macros in a text string, using the contents of | |
417 | identically named elements of \f(CW%$self\fR, and returns the result | |
418 | as a file specification in Unix syntax. | |
419 | .Sp | |
420 | \&\s-1NOTE:\s0 This is the canonical version of the method. The version in | |
421 | File::Spec::VMS is deprecated. | |
422 | .IP "fixpath" 4 | |
423 | .IX Item "fixpath" | |
424 | Catchall routine to clean up problem MM[\s-1SK\s0]/Make macros. Expands macros | |
425 | in any directory specification, in order to avoid juxtaposing two | |
426 | VMS-syntax directories when MM[\s-1SK\s0] is run. Also expands expressions which | |
427 | are all macro, so that we can tell how long the expansion is, and avoid | |
428 | overrunning \s-1DCL\s0's command buffer when MM[\s-1KS\s0] is running. | |
429 | .Sp | |
430 | If optional second argument has a \s-1TRUE\s0 value, then the return string is | |
431 | a VMS-syntax directory specification, if it is \s-1FALSE\s0, the return string | |
432 | is a VMS-syntax file specification, and if it is not specified, \fIfixpath()\fR | |
433 | checks to see whether it matches the name of a directory in the current | |
434 | default directory, and returns a directory or file specification accordingly. | |
435 | .Sp | |
436 | \&\s-1NOTE:\s0 This is the canonical version of the method. The version in | |
437 | File::Spec::VMS is deprecated. | |
438 | .IP "os_flavor" 4 | |
439 | .IX Item "os_flavor" | |
440 | \&\s-1VMS\s0 is \s-1VMS\s0. |