This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use PL_parser->lex_shared instead of Sv[IN]VX(PL_linestr)
[perl5.git] / vms / descrip_mms.template
1 !GROK!THIS!
2 # Descrip.MMS for perl5 on VMS
3 # Last revised 5-Dec-2001 by Craig Berry -- craigberry@mac.com
4 #
5 #: This file uses MMS syntax, and can be processed using DEC's MMS product,
6 #: or the free MMK clone (available by ftp at ftp.spc.edu).  If you want to
7 #: a Unix-style MAKE tool, run this file through mms2make.pl, which should
8 #: be found in the same directory as this file.
9 #:
10 #: Lines beginning with "#:" will be removed by mms2make.pl when converting
11 #: this file to MAKE syntax.
12 #
13 #       tidy      -- purge files generated by executing this file
14 #       clean     -- remove all intermediate (e.g. object files, C files generated
15 #                    during build) files generated by executing this file,
16 #                    but leave 'installable' files (images, library) intact
17 #       realclean -- remove all files generated by executing this file
18 #       cleansrc  -- 'realclean' + purge *.c,*.h,descrip.mms
19 #       crtl.opt  -- compiler-specific linker options file (made automatically)
20 #
21
22 #### Start of system configuration section. ####
23
24 ~DECC~
25 ~DECCXX~
26 ~GNUC~
27 ~ARCH-TYPE~ = 1
28 ~THREAD~
29 ~SOCKET~
30 ~MALLOC~
31 ~CC~
32 ~MTK~
33 ~MTU~
34 ~FLAGS~
35 ~LARGEFILE~
36 ~ARCHNAME~
37
38 #: >>>>> Architecture-specific options <<<<<
39 .ifdef IXE
40 O = .ibj
41 OLB = .ilb
42 E = .ixe
43 .else
44 .ifdef AXE
45 # File type to use for object files
46 O = .abj
47 # File type to use for object libraries
48 OLB = .alb
49 # File type to use for executable images
50 E = .axe
51 .else
52 # File type to use for object files
53 O = .obj
54 # File type to use for object libraries
55 OLB = .olb
56 # File type to use for executable images
57 E = .exe
58 .endif
59 .endif
60
61 .ifdef __IA64__
62 OBJVAL = $(O)
63 .else
64 .ifdef __AXP__
65 OBJVAL = $(O)
66 .else
67 OBJVAL = $(MMS$TARGET_NAME)$(O)
68 .endif
69 .endif
70
71 PERL_VERSION = ~PV~
72
73 .ifdef MALLOC
74 MALLOC_O = malloc$(O)
75 MALLOC_C = malloc$(C)
76 .endif
77
78 .ifdef DECC_SOCKETS
79 SOCKET=1
80 .endif
81
82 ARCHDIR =  [.lib.$(ARCHNAME).$(PERL_VERSION)]
83 ARCHCORE = [.lib.$(ARCHNAME).$(PERL_VERSION).CORE]
84 ARCHAUTO = [.lib.$(ARCHNAME).$(PERL_VERSION).auto]
85
86 #: >>>>>Compiler-specific options <<<<<
87 .ifdef GNUC
88 .first
89         @ If F$TrnLnm("Sys").eqs."" Then Define/NoLog SYS GNU_CC_Include:[VMS]
90 CC = gcc
91 # -fno-builtin avoids bug in gcc up to version 2.6.2 which can destroy
92 # data when memcpy() is called on large (>64 kB) blocks of memory
93 # (fixed in gcc 2.6.3)
94 XTRACCFLAGS = /Obj=$(MMS$TARGET_NAME)$(O)/NoCase_Hack/Optimize=2
95 DBGSPECFLAGS =
96 XTRADEF = 
97 XTRAOBJS =
98 LIBS1 = GNU_CC:[000000]GCCLIB.OLB/Library
99 LIBS2 = Sys$Share:VAXCRTL/Shareable
100 POSIX =
101 .else
102 XTRAOBJS = 
103 LIBS1 = $(XTRAOBJS)
104 DBGSPECFLAGS = /Show=(expansion,include)/machine
105 # Some versions of DECCRTL on AXP have a bug in chdir() which causes the change
106 # to persist after the image exits, even when this was not requested, iff
107 # SYSNAM is enabled.  This is fixed in CSC Patch # AXPACRT04_061, but turning
108 # off SYSNAM for the MM[SK] subprocess doesn't hurt anything, so we do it
109 # just in case.
110 .first
111         @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include
112 .ifdef __AXP__
113         @ Set Process/Privilege=(NoSYSNAM)
114         @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS Sys$Library
115 .else
116         @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS DECC$Library_Include
117 .endif
118
119 .ifdef DECCXX
120 XTRACCFLAGS = /Include=[]/Standard=ANSI/Prefix=All/Obj=$(OBJVAL)
121 .else
122 XTRACCFLAGS = /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=$(OBJVAL)
123 .endif
124 XTRADEF =
125 POSIX = POSIX
126 .endif
127
128 #: >>>>> Configuration options <<<<<
129 #: __DEBUG__: builds images with full VMS debugger support
130 .ifdef __DEBUG__
131 DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS)
132 DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross
133 DBG = DBG
134 .else
135 DBGCCFLAGS = /NoList
136 DBGLINKFLAGS = /NoTrace/NoMap
137 DBG = 
138 .endif
139
140 .ifdef THREADED
141 THREADDEF = 
142 THREAD = THREAD
143 .endif
144
145 .ifdef OLDTHREADED
146 THREADDEF = 
147 THREAD = THREAD
148 THRLIBS1 = sys$share:cma$lib_shr/share|sys$share:cma$rtl/share
149 .ifdef __AXP__
150 THRLIBS2 = sys$share:cma$open_lib_shr/share|sys$share:cma$open_rtl/share
151 .endif
152 .endif
153
154 .ifdef FAKETHREADED
155 THREADDEF = 
156 THREADH = fakethr.h
157 THREAD = THREAD
158 .else
159 THREADH =
160 .endif
161
162 .ifdef MTU
163 .ifdef MTK
164 MTHREADLINKFLAGS = /THREADS=(MULTIPLE_KERNEL,UPCALLS)
165 .else
166 MTHREADLINKFLAGS = /THREADS=UPCALLS
167 .endif
168 .else
169 MTHREADLINKFLAGS = 
170 .endif
171
172 # C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
173 .IFDEF LARGEFILE
174 CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=$(LARGEFILE)
175 X2PCFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_FOR_X2P,$(LARGEFILE))
176 CORECFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_CORE,$(LARGEFILE))
177 .ELSE
178 CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)
179 X2PCFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_FOR_X2P
180 CORECFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_CORE
181 .ENDIF
182
183 LINKFLAGS = $(DBGLINKFLAGS)
184
185 MAKE = $(MMS)
186 MAKEFILE = Descrip.MMS   # this file
187 NOOP = continue
188
189 # Macros to invoke a copy of miniperl during the build.  Targets which
190 # are built using these macros should depend on $(MINIPERL_EXE)
191 MINIPERL_EXE = Sys$Disk:[]miniperl$(E)
192 MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]" "-I[.dist.Cwd]" "-I[.dist.Cwd.lib]"
193 MINIPERLQ = MCR $(MINIPERL_EXE) ""-I[.lib]""
194 XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
195 # Macro to invoke a preexisting copy of Perl.  This is used to regenerate
196 # some header files when rebuilding Perl, but premade versions are provided
197 # in the distribution, so it's OK if this doesn't work; it's here to make
198 # life easier for those who modify Perl and rebuild it.
199 INSTPERL = perl
200 # Macros to invoke a copy of perl during the build.  Targets which
201 # are built using these macros should depend on $(PERL_EXE) EXT
202 .IFDEF __DEBUG__
203 PERL_EXE = Sys$Disk:[]n$(DBG)perl$(E)
204 .ELSE
205 PERL_EXE = Sys$Disk:[]perl$(E)
206 .ENDIF
207 PERL = MCR $(PERL_EXE) "-I[.lib]"
208
209 # Space-separated list of "static" extensions to build into perlshr (case counts).
210 MYEXT = DynaLoader
211 # object files for these extensions; the trailing comma is required if
212 # there are any object files specified
213 # These must be built separately, or you must add rules below to build them
214 myextobj = DynaLoader$(O),
215 EXT = $(MYEXT)
216 extobj = $(myextobj)
217
218 .ifdef LIBS2
219 .else
220 LIBS2=
221 .endif
222
223 .ifdef THRLIBS1
224 .else
225 THRLIBS1=
226 .endif
227
228 .ifdef THRLIBS2
229 .else
230 THRLIBS2=
231 .endif
232
233 FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
234
235 #### End of system configuration section. ####
236
237 c0 = $(MALLOC_C) av.c deb.c doio.c doop.c dump.c globals.c gv.c hv.c mro.c
238 c1 = mg.c locale.c mathoms.c miniperlmain.c numeric.c op.c pad.c perl.c perlapi.c perlio.c
239 c2 = perly.c pp.c pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c regexec.c reentr.c
240 c3 = run.c scope.c sv.c taint.c toke.c universal.c utf8.c util.c vms.c keywords.c
241 c = $(c0) $(c1) $(c2) $(c3)
242
243 obj0 = perl$(O)
244 obj1 = $(MALLOC_O) av$(O) deb$(O) doio$(O) doop$(O) dump$(O) mro$(O) globals$(O) gv$(O) hv$(O) 
245 obj2 = keywords$(O) locale$(O) mathoms$(O) mg$(O) miniperlmain$(O) numeric$(O) op$(O) pad$(O) perlapi$(O) perlio$(O) 
246 obj3 = perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) reentr$(O) pp_pack$(O) pp_sort$(O) pp_sys$(O) regcomp$(O) 
247 obj4 = regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O) universal$(O) utf8$(O) util$(O) vms$(O)
248
249 mini_obj = perlmini$(O) $(obj1) $(obj2) $(obj3) $(obj4)
250 obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
251
252 h0 = av.h config.h cop.h cv.h embed.h embedvar.h
253 h1 = EXTERN.h form.h gv.h handy.h hv.h l1_char_class_tab.h INTERN.h intrpvar.h
254 h2 = iperlsys.h keywords.h mydtrace.h mg.h mg_vtable.h nostdio.h op.h 
255 h3 = op_reg_common.h opcode.h opnames.h overload.h pad.h parser.h patchlevel.h 
256 h4 = perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h
257 h5 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h
258 h6 = sv.h thread.h utf8.h util.h vmsish.h warnings.h
259 h7 = xsub.h $(THREADH)
260 h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6) $(h7)
261
262 acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt
263 ac = archcore_includes.ts $(acopt)
264
265 generated_headers = uudmap.h bitcount.h mg_data.h
266
267 CRTL = []crtl.opt
268 CRTLOPTS =,$(CRTL)/Options
269
270 .SUFFIXES
271
272 .ifdef LINK_ONLY
273 .else
274 .SUFFIXES $(O) .c .xs
275
276 .xs.c :
277         $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
278
279 .c$(O) :
280         $(CC) $(CFLAGS) $(MMS$SOURCE)
281
282 .xs$(O) :
283         $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
284         $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
285 .endif
286
287 # Directories of Unicode data files generated by mktables
288 unidatadirs = lib/unicore/To lib/unicore/lib
289
290 # Modules which must be installed before we can build extensions
291 LIBPREREQ = $(ARCHDIR)Config.pm $(ARCHDIR)Config_heavy.pl [.lib.VMS]Filespec.pm $(ARCHDIR)vmspipe.com [.lib]buildcustomize.pl
292
293 utils1 = [.utils]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com 
294 utils2 = [.utils]h2xs.com [.utils]libnetcfg.com [.lib]perlbug.com [.utils]json_pp.com
295 utils3 = [.utils]perlivp.com [.lib]splain.com [.utils]pl2pm.com [.utils]xsubpp.com [.utils]pod2html.com [.utils]instmodsh.com
296 utils4 = [.utils]enc2xs.com [.utils]piconv.com [.utils]cpan.com [.utils]prove.com [.utils]ptar.com [.utils]ptardiff.com [.utils]shasum.com
297 utils5 = [.utils]corelist.com [.utils]config_data.com [.utils]cpanp.com [.utils]cpan2dist.com [.utils]cpanp-run-perl.com [.utils]ptargrep.com [.utils]zipdetails.com
298
299 .ifdef NOX2P
300 all : base extras archcorefiles preplibrary [.pod]perltoc.pod
301         @ QUALIFIERS := $(MMSQUALIFIERS)
302         @ QUALIFIERS = QUALIFIERS - """" - """"
303         @ write sys$output " "
304         @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite."
305 .else
306 all : base extras x2p archcorefiles preplibrary [.pod]perltoc.pod
307         @ QUALIFIERS := $(MMSQUALIFIERS)
308         @ QUALIFIERS = QUALIFIERS - """" - """"
309         @ write sys$output " "
310         @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite."
311 .endif
312
313 git_version.h : $(MINIPERL_EXE) make_patchnum.pl
314         $(MINIPERL) make_patchnum.pl
315
316 base : miniperl git_version.h nonxsext perl
317         @ $(NOOP)
318 extras : dynext libmods utils extra.pods
319         @ $(NOOP)
320 libmods : $(LIBPREREQ)
321         @ $(NOOP)
322 utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5)
323         @ $(NOOP)
324 x2p : [.x2p]$(DBG)a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com 
325         @ $(NOOP)
326 extra.pods : miniperl
327         @ @extra_pods.com
328
329 PERLDELTA_CURRENT = [.pod]perl5174delta.pod
330
331 $(PERLDELTA_CURRENT) : [.pod]perldelta.pod
332         Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET)
333
334 [.pod]perlapi.pod : embed.fnc autodoc.pl $(MINIPERL_EXE)
335         $(MINIPERL) autodoc.pl
336
337 [.pod]perlmodlib.pod : [.pod]perlmodlib.pl MANIFEST $(MINIPERL_EXE)
338         $(MINIPERL) [.pod]perlmodlib.pl "-q"
339
340 [.pod]perlintern.pod : embed.fnc autodoc.pl $(MINIPERL_EXE)
341         $(MINIPERL) autodoc.pl
342
343 [.pod]perltoc.pod : $(PERLDELTA_CURRENT) [.pod]perlapi.pod [.pod]perlintern.pod  [.pod]perlmodlib.pod extra.pods $(PERL_EXE)
344         @ define/user_mode $(DBG)PERLSHR SYS$DISK:[]$(DBG)perlshr$(E)
345         $(PERL) "-f" [.pod]buildtoc "-q"
346
347 archcorefiles : $(ac) $(ARCHAUTO)time.stamp
348         @ $(NOOP)
349
350 [.lib]buildcustomize.pl : write_buildcustomize.pl $(MINIPERL_EXE)
351        $(MINIPERL) write_buildcustomize.pl > [.lib]buildcustomize.pl
352
353 vmspipe.com : [.vms]vmspipe.com
354         Copy/NoConfirm/Log $(MMS$SOURCE) []
355
356 miniperl : $(DBG)miniperl$(E)  vmspipe.com
357         @ Continue
358 $(MINIPERL_EXE) :  miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL)
359         Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS)
360 $(DBG)miniperl$(E) :  miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL)
361         Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals  $(CRTLOPTS)
362
363 $(DBG)libperl$(OLB) : $(obj)
364         @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
365         Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
366
367 $(DBG)libperlmini$(OLB) : $(mini_obj)
368         @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
369         Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
370
371 perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.lib.ExtUtils]Miniperl.pm
372         $(MINIPERL) -"MExtUtils::Miniperl" -e "writemain(@ARGV)" "$(EXT)" > perlmain.c
373
374 .ifdef __DEBUG__
375 # Link an extra perl that doesn't invoke the debugger
376 perl : $(DBG)perl$(E)
377         Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
378 .else
379 perl : $(DBG)perl$(E)
380         @ Continue
381 .endif
382
383 $(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
384         @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
385         Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
386
387 $(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
388         Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
389
390 perlmini.c : perl.c
391         @ IF F$SEARCH("$(MMS$TARGET)") .NES. "" THEN DELETE/NOCONFIRM/LOG $(MMS$TARGET);*
392         @ COPY/NOCONFIRM _NLA0: $(MMS$TARGET)
393         @ SET FILE /ATTRIBUTES=RFM:STMLF $(MMS$TARGET)
394         @ OPEN/APPEND perlmini $(MMS$TARGET)
395         @ WRITE perlmini "#define PERL_IS_MINIPERL"
396         @ CLOSE perlmini
397         @ APPEND/NOCONFIRM/LOG $(MMS$SOURCE) $(MMS$TARGET)
398
399 perlmini$(O) : perlmini.c
400         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
401
402 bitcount.h mg_data.h : uudmap.h 
403         @ $(NOOP)
404
405 uudmap.h : generate_uudmap$(E)
406         MCR SYS$DISK:[]generate_uudmap$(E) $(generated_headers)
407
408 generate_uudmap$(E) : generate_uudmap$(O) $(CRTL)
409         Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) generate_uudmap$(O) $(CRTLOPTS)
410
411 generate_uudmap$(O) : generate_uudmap.c mg_raw.h
412         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
413
414 # The following files are built in one go by gen_shrfls.pl:
415 #  perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
416 #  perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
417 # The song and dance with gen_shrfls.opt accommodates DCL's line length limit.
418 $(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
419         @ $(MINIPERL) makedef.pl "PLATFORM=vms" > makedef.lis
420         @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
421         @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
422         $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
423         @ Delete/NoLog/NoConfirm gen_shrfls.opt;
424         @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
425         @ Copy _NLA0: $(DBG)perlshr_xtras.ts
426
427 $(ARCHDIR)Config.pm : [.lib]Config.pm
428         Create/Directory $(ARCHDIR)
429         Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR)
430
431 $(ARCHDIR)Config_heavy.pl : [.lib]Config_heavy.pl
432         Create/Directory $(ARCHDIR)
433         Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR)
434
435 [.lib]Config.pm : config.h $(MINIPERL_EXE)
436         $(MINIPERL) ConfigPM.
437
438 $(ARCHDIR)vmspipe.com : vmspipe.com
439         Copy $(MMS$SOURCE) $(ARCHDIR)
440
441 unidatafiles.ts : $(MINIPERL_EXE) [.lib]Config.pm [.lib.unicore]mktables nonxsext
442         $(MINIPERL) [.lib.unicore]mktables "-C" [.lib.unicore] "-P" [.pod] "-makelist" "-maketest" "-p"
443         @ If F$Search("$(MMS$TARGET)").nes."" Then Delete/NoLog/NoConfirm $(MMS$TARGET);*
444         @ Copy/NoConfirm _NLA0: $(MMS$TARGET)
445  
446 DynaLoader$(O) : [.lib]buildcustomize.pl $(ARCHDIR)Config.pm $(MINIPERL_EXE) [.lib.VMS]Filespec.pm 
447         $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "DynaLoader"
448
449 dynext : $(LIBPREREQ) $(DBG)perlshr$(E) unidatafiles.ts DynaLoader$(O) preplibrary makeppport $(MINIPERL_EXE)
450        $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--dynamic" "--static"
451
452 nonxsext : $(LIBPREREQ) preplibrary $(MINIPERL_EXE) [.pod]perlfunc.pod
453        $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--nonxs"
454
455 [.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
456         @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
457         Copy/NoConfirm/Log $(MMS$SOURCE) [.lib.VMS]
458
459 [.utils]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
460         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
461
462 [.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
463         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) >$(MMS$TARGET)
464
465 [.utils]perlivp.com : [.utils]perlivp.PL $(ARCHDIR)Config.pm
466         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
467
468 [.utils]cpan.com : [.utils]cpan.PL $(ARCHDIR)Config.pm
469         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
470
471 [.utils]cpanp.com : [.utils]cpanp.PL $(ARCHDIR)Config.pm
472         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
473
474 [.utils]cpan2dist.com : [.utils]cpan2dist.PL $(ARCHDIR)Config.pm
475         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
476
477 [.utils]cpanp-run-perl.com : [.utils]cpanp-run-perl.PL $(ARCHDIR)Config.pm
478         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
479
480 [.utils]prove.com : [.utils]prove.PL $(ARCHDIR)Config.pm
481         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
482
483 [.utils]ptar.com : [.utils]ptar.PL $(ARCHDIR)Config.pm
484         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
485
486 [.utils]ptardiff.com : [.utils]ptardiff.PL $(ARCHDIR)Config.pm
487         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
488
489 [.utils]ptargrep.com : [.utils]ptargrep.PL $(ARCHDIR)Config.pm
490         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
491
492 [.utils]shasum.com : [.utils]shasum.PL $(ARCHDIR)Config.pm
493         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
494
495 [.utils]config_data.com : [.utils]config_data.PL $(ARCHDIR)Config.pm
496         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
497
498 [.utils]corelist.com : [.utils]corelist.PL $(ARCHDIR)Config.pm
499         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
500
501 [.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
502         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
503
504 [.utils]json_pp.com : [.utils]json_pp.PL $(ARCHDIR)Config.pm
505         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
506
507 [.utils]enc2xs.com : [.utils]enc2xs.PL $(ARCHDIR)Config.pm
508         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
509
510 [.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
511         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
512
513 [.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
514         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
515
516 [.utils]instmodsh.com : [.utils]instmodsh.PL $(ARCHDIR)Config.pm
517         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
518
519 [.utils]libnetcfg.com : [.utils]libnetcfg.PL $(ARCHDIR)Config.pm
520        $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
521
522 [.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
523         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
524         Copy/NoConfirm/Log [.utils]perlbug.com [.lib]
525
526 [.utils]piconv.com : [.utils]piconv.PL $(ARCHDIR)Config.pm
527         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
528
529 [.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
530         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
531
532 [.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
533         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
534         Copy/NoConfirm/Log [.utils]splain.com [.lib]
535
536 [.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
537         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
538
539 [.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
540         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
541
542 [.utils]xsubpp.com : [.utils]xsubpp.PL $(ARCHDIR)Config.pm nonxsext
543         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
544
545 [.utils]zipdetails.com : [.utils]zipdetails.PL $(ARCHDIR)Config.pm nonxsext
546         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
547
548 [.utils]pod2html.com : [.utils]pod2html.PL $(ARCHDIR)Config.pm nonxsext
549         $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE)
550
551 # Rename catches problem with some DECC versions in which object file is
552 # placed in current default dir, not same one as source file.
553 [.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
554         @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
555         Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
556
557 # Accommodate buggy cpp in some version of DECC, which chokes on illegal
558 # filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
559 # search in same dir as source file
560 [.x2p]a2p$(O) : [.x2p]a2p.c [.x2p]a2py.c [.x2p]INTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h config.h handy.h vmsish.h $(MINIPERL_EXE)
561         $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
562         $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
563         Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
564
565 # gcc cpp broken -- doesn't look in directory of source file for #include ""
566 .ifdef GNUC
567 [.x2p]hash$(O) : [.x2p]hash.c
568         $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
569
570 [.x2p]str$(O) : [.x2p]str.c
571         $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
572
573 [.x2p]util$(O) : [.x2p]util.c
574         $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
575
576 [.x2p]walk$(O) : [.x2p]walk.c
577         $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
578 .endif
579
580 preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) 
581         @ $(NOOP)
582
583 makeppport : $(MINIPERL_EXE) $(ARCHDIR)Config.pm nonxsext
584         $(MINIPERL) mkppport
585
586 install.html : [.pod]perltoc.pod
587         @ @perl_setup.com
588         @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html]
589         $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose"
590
591 printconfig :
592         @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
593         @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(EXT)" "$(DBG)"
594
595 # The following files are generated automatically
596 #       embed.pl:       proto.h embed.h embedvar.h perlapi.h perlapi.c
597 #       opcode.pl:      opcode.h opnames.h pp_proto.h
598 #       regcomp.pl:     regnodes.h
599 #       warnings.pl:    warnings.h lib/warnings.pm
600 # The correct versions should be already supplied with the perl kit,
601 # in case you don't have perl available.
602 # To force them to be regenerated, run
603 #       perl regen.pl
604 # with your existing copy of perl
605 # (make regen_headers is kept for backwards compatibility)
606
607 regen :
608         $(INSTPERL) regen.pl
609
610 regen_headers :
611         $(INSTPERL) regen.pl -v
612
613 .ifdef LINK_ONLY
614 .else
615 perly$(O) : perly.c, perly.h, $(h)
616 .endif
617
618 [.t.lib]vmsfspec.t : [.vms.ext]filespec.t
619         Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET)
620
621 check : test
622         @ Continue
623
624 test : all [.t.lib]vmsfspec.t
625         @ PERL_TEST_DRIVER == "TEST."
626         - @[.vms]test.com "$(E)" "$(__DEBUG__)"
627         @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests.
628
629 test_harness : all [.t.lib]vmsfspec.t
630         @ PERL_TEST_DRIVER == "harness."
631         - @[.vms]test.com "$(E)" "$(__DEBUG__)"
632         @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests.
633
634 minitest : $(MINITEST_EXE) [.lib.VMS]Filespec.pm unidatafiles.ts
635         @ PERL_TEST_DRIVER == "minitest"
636         - @[.vms]test.com "$(E)" "$(__DEBUG__)"
637
638 # install ought not need a source, but it doesn't work if one's not
639 # there. Go figure...
640 install : $(PERL_EXE)
641         @ @perl_setup.com
642         If F$TrnLnm("Sys") .nes. "" Then Deass SYS
643         @ define/user_mode $(DBG)PERLSHR SYS$DISK:[]$(DBG)perlshr$(E)
644         $(PERL) installperl
645
646 archify : all
647         @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCHNAME)"
648         archroot = "$(ARCHAUTO)" - "]" + "...]"
649         Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
650         Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
651         Delete/Log/NoConfirm [.lib]Config.pm;*
652         Delete/Log/NoConfirm [.lib]Config_heavy.pl;*
653         Copy/Log/NoConfirm *$(E);,[.x2p]$(DBG)a2p$(E); $(ARCHDIR)
654         Delete/Log/NoConfirm Perl*$(E);*,[.x2p]$(DBG)a2p$(E);*
655         @ QUALIFIERS := $(MMSQUALIFIERS)
656         @ QUALIFIERS = QUALIFIERS - """" - """"
657         @ Write Sys$Output "Architecture-specific setup completed."
658         @ Write Sys$Output "Before building for another architecture, be sure to"
659         @ Write Sys$Output "    1. $(MMS)''QUALIFIERS' clean"
660         @ Write Sys$Output "    2. Delete Miniperl$(E)"
661
662 # CORE subset for MakeMaker, so we can build Perl without sources
663
664 archcore_includes.ts :
665         @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
666         Copy/NoConfirm/Log *.h $(ARCHCORE)
667         @ Copy _NLA0: $(MMS$TARGET)
668 $(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
669         @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
670         Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE)
671 $(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
672         @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
673         Copy/NoConfirm/Log perlshr_attr.opt $(ARCHCORE)
674 $(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
675         @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
676         Copy/NoConfirm/Log $(DBG)perlshr_bld.opt $(ARCHCORE)
677 $(ARCHAUTO)time.stamp :
678         @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
679         @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
680
681 .ifdef LINK_ONLY
682 .else
683 # We need an action line here for broken older versions of MMS which
684 # otherwise conclude that they should be compiling [.x2p]utils.c :-(
685 #util$(O) : util.c
686 #       $(CC) $(CORECFLAGS) $(MMS$SOURCE)
687 # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
688 av$(O) : av.c $(h)
689         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
690 deb$(O) : deb.c $(h)
691         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
692 doio$(O) : doio.c $(h)
693         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
694 doop$(O) : doop.c $(h)
695         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
696 dump$(O) : dump.c $(h)
697         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
698 globals$(O) : globals.c $(generated_headers) $(h)
699         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
700 gv$(O) : gv.c $(h)
701         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
702 mro$(O) : mro.c $(h)
703         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
704 hv$(O) : hv.c $(h)
705         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
706 keywords$(O) : keywords.c $(h)
707         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
708 locale$(O) : locale.c $(h)
709         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
710 malloc$(O) : malloc.c $(h)
711         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
712 mathoms$(O) : mathoms.c $(h)
713         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
714 mg$(O) : mg.c $(h)
715         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
716 miniperlmain$(O) : miniperlmain.c $(h)
717         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
718 numeric$(O) : numeric.c $(h)
719         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
720 pad$(O) : pad.c $(h)
721         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
722 op$(O) : op.c $(h)
723         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
724 perl$(O) : perl.c git_version.h $(h)
725         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
726 perlapi$(O) : perlapi.c $(h)
727         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
728 perlio$(O) : perlio.c config.h $(h)
729         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
730 perlmain$(O) : perlmain.c $(h)
731         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
732 perly$(O) : perly.c $(h)
733         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
734 pp$(O) : pp.c $(h)
735         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
736 pp_ctl$(O) : pp_ctl.c $(h)
737         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
738 pp_hot$(O) : pp_hot.c $(h)
739         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
740 pp_pack$(O) : pp_pack.c $(h)
741         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
742 pp_sort$(O) : pp_sort.c $(h)
743         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
744 pp_sys$(O) : pp_sys.c $(h)
745         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
746 reentr$(O) : reentr.c $(h)
747         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
748 regcomp$(O) : regcomp.c $(h)
749         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
750 regexec$(O) : regexec.c $(h)
751         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
752 run$(O) : run.c $(h)
753         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
754 scope$(O) : scope.c $(h)
755         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
756 sv$(O) : sv.c $(h)
757         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
758 taint$(O) : taint.c $(h)
759         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
760 toke$(O) : toke.c $(h)
761         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
762 universal$(O) : universal.c $(h)
763         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
764 utf8$(O) : utf8.c $(h)
765         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
766 util$(O) : util.c $(h)
767         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
768 vms$(O) : vms.c $(h)
769         $(CC) $(CORECFLAGS) $(MMS$SOURCE)
770
771 [.x2p]hash$(O) : [.x2p]hash.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h
772         $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
773
774 [.x2p]str$(O) : [.x2p]str.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h
775         $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
776
777 [.x2p]util$(O) : [.x2p]util.c [.x2p]EXTERN.h [.x2p]INTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h
778         $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
779
780 [.x2p]walk$(O) : [.x2p]walk.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h
781         $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
782
783 # End of automatically generated make dependencies
784 .endif # !LINK_ONLY
785
786 vmsish.h : [.vms]vmsish.h
787         Copy/Log/NoConfirm [.vms]vmsish.h []
788
789 vms.c : [.vms]vms.c
790         Copy/Log/Noconfirm [.vms]vms.c []
791
792 $(CRTL) : $(MAKEFILE)
793         @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)"
794
795 ok : $(utils)
796         $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)"
797
798 okfile : $(utils)
799         $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok
800
801 nok : $(utils)
802         @ write sys$output " "
803         @ write sys$output " Please type the command:"
804         @ write sys$output " "
805         @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"""
806
807 nokfile : $(utils)
808         @ write sys$output " "
809         @ write sys$output " Please type the command:"
810         @ write sys$output " "
811         @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok"
812
813 cleanlis :
814         - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
815         - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
816         - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
817
818 cleantest :
819         - If F$Search("[.t]Perl$(E)").nes."" Then Delete/NoConfirm/Log [.t]Perl$(E);*
820         - If F$Search("[.t]VMSPIPE.COM").nes."" Then Delete/NoConfirm/Log [.t]VMSPIPE.COM;*
821
822 tidy : cleanlis
823         - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
824         - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
825         - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
826         - If F$Search("config.h;-1").nes."" Then Purge/NoConfirm/Log config.h
827         - If F$Search("config.sh;-1").nes."" Then Purge/NoConfirm/Log config.sh
828         - If F$Search("vmsish.h;-1").nes."" Then Purge/NoConfirm/Log vmsish.h
829         - If F$Search("vms.c;-1")   .nes."" Then Purge/NoConfirm/Log vms.c
830         - If F$Search("perlmain.c;-1")   .nes."" Then Purge/NoConfirm/Log perlmain.c
831         - If F$Search("uudmap.h;-1")   .nes."" Then Purge/NoConfirm/Log uudmap.h
832         - If F$Search("bitcount.h;-1")   .nes."" Then Purge/NoConfirm/Log bitcount.h
833         - If F$Search("mg_data.h;-1")   .nes."" Then Purge/NoConfirm/Log mg_data.h
834         - If F$Search("Perlshr_Gbl*.Mar;-1")   .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
835         - If F$Search("[.ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.ext.Opcode]
836         - If F$Search("[.vms.ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*.C
837         - If F$Search("[.vms.ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*$(O)
838         - If F$Search("[.lib.auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]*.al
839         - If F$Search("[.lib.auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]autosplit.ix
840         - If F$Search("[.lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config.pm
841         - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
842         - If F$Search("[.lib]Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config_heavy.pl
843         - If F$Search("$(ARCHDIR)Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config_heavy.pl
844         - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
845         - If F$Search("[.lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.lib.VMS]*.*
846         - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
847         - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
848         - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
849         - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
850         - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
851         - If F$Search("[.lib]buildcustomize.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]buildcustomize.pl
852
853 clean : tidy cleantest
854         - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=clean"
855         - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
856         - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
857         - If F$Search("vmsish.h").nes."" Then Delete/NoConfirm/Log vmsish.h;*
858         - If F$Search("vms.c")   .nes."" Then Delete/NoConfirm/Log vms.c;*
859         - If F$Search("perlmain.c")   .nes."" Then Delete/NoConfirm/Log perlmain.c;*
860         - If F$Search("perlmini.c")   .nes."" Then Delete/NoConfirm/Log perlmini.c;*
861         - If F$Search("uudmap.h")   .nes."" Then Delete/NoConfirm/Log uudmap.h;*
862         - If F$Search("bitcount.h")   .nes."" Then Delete/NoConfirm/Log bitcount.h;*
863         - If F$Search("mg_data.h")   .nes."" Then Delete/NoConfirm/Log mg_data.h;*
864         - If F$Search("Perlshr_Gbl*.Mar")   .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
865         - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
866         - If F$Search("[.vms.ext...]*.C").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*.C;*
867         - If F$Search("[.vms.ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*$(O);*
868         - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
869         - If F$Search("[.pod]roffitall").nes."" Then Delete/NoConfirm/Log [.pod]roffitall;*
870         - If F$Search("$(PERLDELTA_CURRENT)").nes."" Then Delete/NoConfirm/Log $(PERLDELTA_CURRENT);*
871         - If F$Search("[.pod]perlapi.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlapi.pod;*
872         - If F$Search("[.pod]perlintern.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlintern.pod;*
873         - If F$Search("[.pod]perlmodlib.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlmodlib.pod;*
874         - If F$Search("[.pod]perltoc.pod").nes."" Then Delete/NoConfirm/Log [.pod]perltoc.pod;*
875         - If F$Search("[.pod]perluniprops.pod").nes."" Then Delete/NoConfirm/Log [.pod]perluniprops.pod;*
876         - @extra_pods CLEAN
877         - If F$Search("[.lib]Config_git.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_git.pl;*
878         - If F$Search("git_version.h").nes."" Then Delete/NoConfirm/Log git_version.h;*
879
880 realclean : clean
881         - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=realclean"
882         - $(MINIPERL) mkppport "--clean"
883         - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
884         - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
885         - If F$Search("config.h").nes."" Then Delete/NoConfirm/Log config.h;*
886         - If F$Search("config.sh").nes."" Then Delete/NoConfirm/Log config.sh;*
887         - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
888         - If F$Search("[.lib.unicore...]*.pl").nes."" Then Delete/NoConfirm/Log [.lib.unicore...]*.pl;*
889         - If F$Search("[.lib.unicore]Properties.").nes."" Then Delete/NoConfirm/Log [.lib.unicore]Properties.;*
890         - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" $(unidatadirs)
891         - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
892         - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;*
893         - If F$Search("extra.pods").nes."" Then Delete/NoConfirm/Log extra.pods;*
894         - $(MINIPERL) -e "use File::Path; rmtree(['[.CXX_REPOSITORY]', 'lib/auto','lib/VMS','lib/$(ARCHNAME)'],1,0);"
895         - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
896         - If F$Search("[.lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.lib]Config.pm;*
897         - If F$Search("[.lib]Config_heavy.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_heavy.pl;*
898         - If F$Search("[.lib]*.com").nes."" Then Delete/NoConfirm/Log [.lib]*.com;*
899         - If F$Search("[.lib...].exists").nes."" Then Delete/NoConfirm/Log [.lib...].exists;*
900         - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
901         - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
902         - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
903         - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
904         - If F$Search("$(ARCHDIR)Config_heavy.pl").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config_heavy.pl;*
905         - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
906         - If F$Search("[.utils]perldoc.com").nes."" Then Delete/NoConfirm/Log [.utils]perldoc.com;*
907         - If F$Search("[.utils]perlivp.com").nes."" Then Delete/NoConfirm/Log [.utils]perlivp.com;*
908         - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
909         - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
910         - If F$Search("Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log Perl_Setup.Com;*
911         - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;*
912         - If F$Search("[.t]test_state.").nes."" Then Delete/NoConfirm/Log [.t]test_state.;*
913         - If F$Search("[.t.lib]vmsfspec.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsfspec.t;*
914         - If F$Search("[.t.lib]vmsish.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsish.t;*
915         - If F$Search("vmspipe.com").nes."" Then Delete/NoConfirm/Log vmspipe.com;*
916         - If F$Search("[.lib]buildcustomize.pl").nes."" Then Delete/NoConfirm/Log [.lib]buildcustomize.pl;*
917         - If F$Search("[.lib]config.pod").nes."" Then Delete/NoConfirm/Log [.lib]config.pod;*
918
919 cleansrc : clean
920         - If F$Search("*.c;-1").nes."" Then Purge/NoConfirm/Log *.c
921         - If F$Search("*.h;-1").nes."" Then Purge/NoConfirm/Log *.h
922         - If F$Search("*.vms;-1").nes."" Then Purge/NoConfirm/Log *.vms
923         - If F$Search("[.vms]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.vms]$(MAKEFILE)
924         - If F$Search("[.vms]*.c;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.c
925         - If F$Search("[.vms]*.h;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.h
926         - If F$Search("[.vms]*.pl;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.pl
927         - If F$Search("[.vms]*.vms;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.vms
928         - If F$Search("[.vms...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.pm
929         - If F$Search("[.vms...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.xs
930 !GROK!THIS!