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