This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
warn about /(?p{})/ (from Simon Cozens)
[perl5.git] / vms / descrip_mms.template
CommitLineData
97abc6ad
HM
1!GROK!THIS!
2# Descrip.MMS for perl5 on VMS
787c52d8 3# Last revised 01-Mar-2000 by Charles Bailey bailey@newman.upenn.edu
97abc6ad
HM
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
b4bc034f 8#: be found in the same directory as this file.
97abc6ad
HM
9#:
10#: Lines beginning with "#:" will be removed by mms2make.pl when converting
11#: this file to MAKE syntax.
97abc6ad
HM
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~GNUC~
26~ARCH-TYPE~ = 1
27~THREAD~
28~SOCKET~
429a5e67
DS
29~MALLOC~
30~CC~
31~MT~
498336ed 32~FLAGS~
97abc6ad
HM
33
34#: >>>>> Architecture-specific options <<<<<
35.ifdef AXE
36# File type to use for object files
37O = .abj
38# File type to use for object libraries
39OLB = .alb
40# File type to use for executable images
41E = .axe
42.else
43# File type to use for object files
44O = .obj
45# File type to use for object libraries
46OLB = .olb
47# File type to use for executable images
48E = .exe
49.endif
50
51.ifdef __AXP__
97abc6ad
HM
52ARCH = VMS_AXP
53OBJVAL = $(O)
54.else
55ARCH = VMS_VAX
56OBJVAL = $(MMS$TARGET_NAME)$(O)
57.endif
58
85988417 59PERL_VERSION = ~PV~
97abc6ad 60
429a5e67 61.ifdef MALLOC
b0d5070b
CB
62MALLOC_O = malloc$(O)
63MALLOC_C = malloc$(C)
429a5e67
DS
64.endif
65
97abc6ad
HM
66.ifdef DECC_SOCKETS
67SOCKET=1
68.endif
69
70.ifdef SOCKETSHR_SOCKETS
71SOCKET=1
72.endif
73
74# If they defined SOCKET but didn't choose a stack, default to SOCKETSHR
75.ifdef DECC_SOCKETS
76.else
77.ifdef SOCKETSHR_SOCKETS
78.else
79.ifdef SOCKET
80SOCKETSHR_SOCKETS=1
81.endif
82.endif
83.endif
84
85
86ARCHDIR = [.lib.$(ARCH).$(PERL_VERSION)]
87ARCHCORE = [.lib.$(ARCH).$(PERL_VERSION).CORE]
88ARCHAUTO = [.lib.$(ARCH).$(PERL_VERSION).auto]
89
90
91#: Backwards compatibility
92.ifdef DECC_PIPES_BROKEN
93PIPES_BROKEN = 1
94.endif
95
96.ifdef __DEBUG__
97NOX2P = 1
98.endif
99
100#: >>>>>Compiler-specific options <<<<<
101.ifdef GNUC
102.first
103 @ If F$TrnLnm("Sys").eqs."" Then Define/NoLog SYS GNU_CC_Include:[VMS]
104CC = gcc
105PIPES_BROKEN = 1
106# -fno-builtin avoids bug in gcc up to version 2.6.2 which can destroy
107# data when memcpy() is called on large (>64 kB) blocks of memory
108# (fixed in gcc 2.6.3)
109XTRACCFLAGS = /Obj=$(MMS$TARGET_NAME)$(O)/NoCase_Hack/Optimize=2
110DBGSPECFLAGS =
429a5e67 111XTRADEF =
97abc6ad
HM
112XTRAOBJS =
113LIBS1 = GNU_CC:[000000]GCCLIB.OLB/Library
114LIBS2 = Sys$Share:VAXCRTL/Shareable
115POSIX =
116.else
117XTRAOBJS =
118LIBS1 = $(XTRAOBJS)
119DBGSPECFLAGS = /Show=All
97abc6ad
HM
120# Some versions of DECCRTL on AXP have a bug in chdir() which causes the change
121# to persist after the image exits, even when this was not requested, iff
122# SYSNAM is enabled. This is fixed in CSC Patch # AXPACRT04_061, but turning
123# off SYSNAM for the MM[SK] subprocess doesn't hurt anything, so we do it
124# just in case.
125.first
97abc6ad
HM
126 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include
127.ifdef __AXP__
787c52d8 128 @ Set Process/Privilege=(NoSYSNAM)
97abc6ad
HM
129 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS Sys$Library
130.else
131 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS DECC$Library_Include
132.endif
133
97abc6ad
HM
134XTRACCFLAGS = /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=$(OBJVAL)
135XTRADEF =
136POSIX = POSIX
97abc6ad
HM
137.endif
138
139
140#: >>>>> Configuration options <<<<<
141#: __DEBUG__: builds images with full VMS debugger support
142.ifdef __DEBUG__
143DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS)
144DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross
145DBG = DBG
146.else
147DBGCCFLAGS = /NoList
148DBGLINKFLAGS = /NoTrace/NoMap
149DBG =
150.endif
151
152#: SOCKET: build in support for TCP/IP sockets
153#: By default, used SOCKETSHR library; see ReadMe.VMS
154#: for information on changing socket support
155.ifdef SOCKET
156.ifdef DECC_SOCKETS
429a5e67 157SOCKDEF =
97abc6ad
HM
158SOCKLIB =
159.else
429a5e67 160SOCKDEF =
97abc6ad
HM
161SOCKLIB = SocketShr/Share
162.endif
163# N.B. the targets for $(SOCKC) and $(SOCKH) assume that the permanent
164# copies live in [.vms], and the `clean' target will delete copies of
165# these files in the current default directory.
166SOCKC = sockadapt.c
167SOCKH = sockadapt.h
b0d5070b 168SOCKARCH = $(ARCHCORE)$(SOCKH)
787c52d8 169SOCKO = sockadapt$(O)
97abc6ad
HM
170SOCKPM = [.lib]Socket.pm
171.else
172SOCKDEF =
173SOCKLIB =
174SOCKC =
175SOCKH =
b0d5070b 176SOCKARCH =
787c52d8 177SOCKO =
97abc6ad
HM
178SOCKPM =
179.endif
180
97abc6ad
HM
181.ifdef THREADED
182THREADDEF =
183THREAD = THREAD
184.endif
185
186.ifdef OLDTHREADED
429a5e67 187THREADDEF =
97abc6ad 188THREAD = THREAD
9ef4b0a6 189THRLIBS1 = sys$share:cma$lib_shr/share|sys$share:cma$rtl/share
97abc6ad 190.ifdef __AXP__
9ef4b0a6 191THRLIBS2 = sys$share:cma$open_lib_shr/share|sys$share:cma$open_rtl/share
97abc6ad
HM
192.endif
193.endif
194
195.ifdef FAKETHREADED
429a5e67 196THREADDEF =
97abc6ad
HM
197THREADH = fakethr.h
198acth = $(ARCHCORE)fakethr.h
199THREAD = THREAD
200.else
201THREADH =
202acth =
203.endif
204
205# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
498336ed 206CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)
3a385817
GS
207# Flags for a core compile
208X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
209# Flags for an x2p compile
210CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
97abc6ad
HM
211LINKFLAGS = $(DBGLINKFLAGS)
212
213MAKE = $(MMS)
214MAKEFILE = Descrip.MMS # this file
215NOOP = continue
216
217# Macros to invoke a copy of miniperl during the build. Targets which
218# are built using these macros should depend on $(MINIPERL_EXE)
219MINIPERL_EXE = Sys$Disk:[]miniperl$(E)
220MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]"
29637182 221XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
97abc6ad
HM
222# Macro to invoke a preexisting copy of Perl. This is used to regenerate
223# some header files when rebuilding Perl, but premade versions are provided
224# in the distribution, so it's OK if this doesn't work; it's here to make
225# life easier for those who modify Perl and rebuild it.
226INSTPERL = perl
227
cc391245
CB
228# Space-separated list of "dynamic" extensions which should be built for
229# run-time dynamic loading.
cc077a9f 230dynamic_ext = $extensions
cc391245 231
97abc6ad
HM
232# Space-separated list of "static" extensions to build into perlshr (case counts).
233MYEXT = DynaLoader
234# object files for these extensions; the trailing comma is required if
235# there are any object files specified
236# These must be built separately, or you must add rules below to build them
237myextobj = [.ext.dynaloader]dl_vms$(O),
238#: We include the Socket extension by default if we're building with socket
239#: support, since it's small and not really worth bothering to keep track
240#: of separately.
241.ifdef SOCKET
242EXT = $(MYEXT) Socket
243extobj = $(myextobj) [.ext.socket]socket$(O),
244.else
245EXT = $(MYEXT)
246extobj = $(myextobj)
247.endif
248
429a5e67
DS
249.ifdef LIBS2
250.else
251LIBS2=
252.endif
97abc6ad 253
9ef4b0a6
BH
254.ifdef THRLIBS1
255.else
256THRLIBS1=
257.endif
258
259.ifdef THRLIBS2
260.else
261THRLIBS2=
262.endif
263
264FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
265
97abc6ad
HM
266#### End of system configuration section. ####
267
b0d5070b
CB
268c0 = $(MALLOC_C) $(SOCKC) av.c deb.c doio.c doop.c dump.c globals.c gv.c
269c1 = hv.c mg.c miniperlmain.c op.c perl.c perlio.c perly.c pp.c pp_ctl.c
787c52d8
CB
270c2 = pp_hot.c pp_sys.c regcomp.c regexec.c run.c scope.c sv.c taint.c
271c3 = toke.c universal.c utf8.c util.c vms.c xsutils.c
b0d5070b
CB
272c = $(c0) $(c1) $(c2) $(c3)
273
787c52d8 274obj0 = $(MALLOC_O) $(SOCKO) av$(O) deb$(O) doio$(O) doop$(O) dump$(O)
b0d5070b 275obj1 = globals$(O) gv$(O) hv$(O) mg$(O) miniperlmain$(O) op$(O) perl$(O)
787c52d8
CB
276obj2 = perlio$(O) perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) pp_sys$(O) regcomp$(O)
277obj3 = regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O) universal$(O)
278obj4 = utf8$(O) util$(O) vms$(O) xsutils$(O)
b0d5070b
CB
279obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
280
787c52d8
CB
281h0 = av.h cc_runtime.h config.h cop.h cv.h embed.h embedvar.h
282h1 = extern.h form.h gv.h handy.h hv.h intern.h intrpvar.h
283h2 = iperlsys.h keywords.h mg.h nostdio.h objxsub.h op.h opcode.h opnames.h
284h3 = patchlevel.h perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h
285h4 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h
286h5 = sv.h thrdvar.h thread.h utf8.h util.h vmsish.h warnings.h
287h6 = xsub.h $(SOCKH) $(THREADH)
288h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6)
289
290ac0 = $(ARCHCORE)$(sockh) $(ARCHCORE)av.h $(ARCHCORE)cc_runtime.h
b0d5070b
CB
291ac1 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
292ac2 = $(ARCHCORE)embedvar.h $(ARCHCORE)extern.h $(acth)
293ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h
294ac4 = $(ARCHCORE)intern.h $(ARCHCORE)intrpvar.h $(ARCHCORE)iperlsys.h
295ac5 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)nostdio.h
787c52d8
CB
296ac6 = $(ARCHCORE)objxsub.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
297ac7 = $(ARCHCORE)opnames.h $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h
298ac8 = $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h
299ac9 = $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h
300ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h
301ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h
302ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h $(SOCKARCH)
303ac13 = $(ARCHCORE)thread.h $(ARCHCORE)utf8.h $(ARCHCORE)util.h
304ac14 = $(ARCHCORE)vmsish.h $(ARCHCORE)warnings.h $(ARCHCORE)xsub.h
305acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt
306ac = $(ac0) $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(ac11) $(ac12) $(ac13) $(ac14) $(acopt)
c05f8f3d 307
97abc6ad
HM
308CRTL = []crtl.opt
309CRTLOPTS =,$(CRTL)/Options
310
311.SUFFIXES
312
313.ifdef LINK_ONLY
314.else
315.SUFFIXES $(O) .c .xs
316
317.xs.c :
318 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
319
320
321.c$(O) :
322 $(CC) $(CFLAGS) $(MMS$SOURCE)
323
324.xs$(O) :
325 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
326 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
327.endif
328
329# Modules which must be installed before we can build extensions
25ea24bb 330LIBPREREQ = $(ARCHDIR)Config.pm [.lib]DynaLoader.pm [.lib]XSLoader.pm [.lib]vmsish.pm [.lib.VMS]Filespec.pm [.lib.ExtUtils]XSSymSet.pm
97abc6ad 331
95667ae4 332utils1 = [.lib.pod]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com [.utils]h2xs.com [.lib]perlbug.com [.lib]perlcc.com [.utils]dprofpp.com
97abc6ad
HM
333utils2 = [.lib]splain.com [.utils]pl2pm.com
334
335.ifdef NOX2P
336all : base extras archcorefiles preplibrary perlpods
337 @ $(NOOP)
338.else
339all : base extras x2p archcorefiles preplibrary perlpods
340 @ $(NOOP)
341.endif
342base : miniperl perl
343 @ $(NOOP)
cc391245 344extras : dynext libmods utils podxform
97abc6ad
HM
345 @ $(NOOP)
346libmods : $(LIBPREREQ)
347 @ $(NOOP)
348utils : $(utils1) $(utils2)
349 @ $(NOOP)
b4bc034f 350podxform : [.lib.pod]pod2text.com [.lib.pod]pod2html.com [.lib.pod]pod2latex.com [.lib.pod]pod2man.com [.lib.pod]podchecker.com
97abc6ad
HM
351 @ $(NOOP)
352x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
353 @ $(NOOP)
354
787c52d8
CB
355pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod
356pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod
357pod2 = [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod [.lib.pod]perlcompile.pod
358pod3 = [.lib.pod]perldata.pod [.lib.pod]perldbmfilter.pod [.lib.pod]perldebug.pod
359pod4 = [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
360pod5 = [.lib.pod]perlembed.pod [.lib.pod]perlfaq.pod [.lib.pod]perlfaq1.pod
361pod6 = [.lib.pod]perlfaq2.pod [.lib.pod]perlfaq3.pod [.lib.pod]perlfaq4.pod
362pod7 = [.lib.pod]perlfaq5.pod [.lib.pod]perlfaq6.pod [.lib.pod]perlfaq7.pod
363pod8 = [.lib.pod]perlfaq8.pod [.lib.pod]perlfaq9.pod [.lib.pod]perlfilter.pod
364pod9 = [.lib.pod]perlfork.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod
365pod10 = [.lib.pod]perlguts.pod [.lib.pod]perlhack.pod [.lib.pod]perlhist.pod
366pod11 = [.lib.pod]perlintern.pod [.lib.pod]perlipc.pod [.lib.pod]perllexwarn.pod
367pod12 = [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod
368pod13 = [.lib.pod]perlmodinstall.pod [.lib.pod]perlmodlib.pod [.lib.pod]perlobj.pod
369pod14 = [.lib.pod]perlop.pod [.lib.pod]perlopentut.pod [.lib.pod]perlpod.pod
370pod15 = [.lib.pod]perlport.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod
371pod16 = [.lib.pod]perlreftut.pod [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod
372pod17 = [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
373pod18 = [.lib.pod]perlthrtut.pod [.lib.pod]perltie.pod [.lib.pod]perltoc.pod
374pod19 = [.lib.pod]perltodo.pod [.lib.pod]perltoot.pod [.lib.pod]perltootc.pod
375pod20 = [.lib.pod]perltrap.pod [.lib.pod]perlunicode.pod [.lib.pod]perlvar.pod
376pod21 = [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod [.lib.pod]win32.pod [.lib.pod]perlvms.pod
377pod = $(pod0) $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) $(pod9) $(pod10) $(pod11) $(pod12) $(pod13) $(pod14) $(pod15) $(pod16) $(pod17) $(pod18) $(pod19) $(pod20) $(pod21)
378
379perlpods : $(pod)
97abc6ad
HM
380 @ $(NOOP)
381
8f9bf0bf 382archcorefiles : $(ac) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
383 @ $(NOOP)
384
385miniperl : $(DBG)miniperl$(E)
386 @ Continue
387$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
388 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
389$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
390 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
391
392$(DBG)libperl$(OLB) : $(obj)
393 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
8f9bf0bf 394 Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
97abc6ad
HM
395
396perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
397 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
398
97abc6ad
HM
399.ifdef __DEBUG__
400# Link an extra perl that doesn't invoke the debugger
1f052492 401perl : $(DBG)perl$(E)
97abc6ad 402 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 403.else
1f052492 404perl : $(DBG)perl$(E)
97abc6ad
HM
405 @ Continue
406.endif
407
408$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
409 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
410.ifdef MT
411 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
412.else
97abc6ad 413 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 414.endif
97abc6ad 415
97abc6ad
HM
416$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
417 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
418
419# The following files are built in one go by gen_shrfls.pl:
420# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
421# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
8f9bf0bf 422# The song and dance with gen_shrfls.opt accommodates DCL's 255 character
97abc6ad
HM
423# line length limit.
424.ifdef PIPES_BROKEN
425# This is a backup target used only with older versions of the DECCRTL which
426# can't deal with pipes properly. See ReadMe.VMS for details.
427$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
428 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
429 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
430 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
431 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
432 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
433 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
434 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
435.else
436$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
437 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
438 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
439 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
440 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
441 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
442 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
443.endif
444
445$(ARCHDIR)config.pm : [.lib]config.pm
446 Create/Directory $(ARCHDIR)
447 Copy $(MMS$SOURCE) $(MMS$TARGET)
448
cc391245 449[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad
HM
450 $(MINIPERL) ConfigPM.
451
429a5e67 452[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
453 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
454
455[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
456 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
457
458[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
459 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
460 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
461 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
462
25ea24bb
GS
463[.lib]XSLoader.pm : [.ext.dynaloader]xsloader.pm
464 Copy/Log/NoConfirm [.ext.dynaloader]xsloader.pm [.lib]XSLoader.pm
465 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
466 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]XSLoader.pm
467
429a5e67 468[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
469 $(MINIPERL) $(MMS$SOURCE)
470 @ Rename/Log dynaloader.pm [.ext.dynaloader]
471
25ea24bb
GS
472[.ext.dynaloader]xsloader.pm : [.ext.dynaloader]xsloader_pm.pl
473 $(MINIPERL) $(MMS$SOURCE)
474 @ Rename/Log xsloader.pm [.ext.dynaloader]
475
cc391245
CB
476dynext : $(LIBPREREQ) $(DBG)perlshr$(E)
477 @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad
HM
478
479[.lib]vmsish.pm : [.vms.ext]vmsish.pm
480 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
481
482[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
483 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
484 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
485
486[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
487 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
488 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
489
490[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
491 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
492 $(MINIPERL) $(MMS$SOURCE)
493 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
494
495[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
496 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
497
498[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
499 $(MINIPERL) $(MMS$SOURCE)
500
95667ae4
GS
501[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
502 $(MINIPERL) $(MMS$SOURCE)
503
97abc6ad
HM
504[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
505 $(MINIPERL) $(MMS$SOURCE)
506
507[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
508 $(MINIPERL) $(MMS$SOURCE)
509
510[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
511 $(MINIPERL) $(MMS$SOURCE)
512 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
513
be46aa5a
HM
514[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
515 $(MINIPERL) $(MMS$SOURCE)
516 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
517
97abc6ad
HM
518[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
519 $(MINIPERL) $(MMS$SOURCE)
520
521[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
522 $(MINIPERL) $(MMS$SOURCE)
523 Copy/Log [.utils]splain.com $(MMS$TARGET)
524
525[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
526 $(MINIPERL) $(MMS$SOURCE)
527
528[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
529 $(MINIPERL) $(MMS$SOURCE)
530
531# Rename catches problem with some DECC versions in which object file is
532# placed in current default dir, not same one as source file.
533[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
534 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
535 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
536
8f9bf0bf 537# Accommodate buggy cpp in some version of DECC, which chokes on illegal
97abc6ad
HM
538# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
539# search in same dir as source file
b0d5070b 540[.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 $(SOCKH) $(MINIPERL_EXE)
97abc6ad 541 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 542 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
543 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
544
545# gcc cpp broken -- doesn't look in directory of source file for #include ""
546.ifdef GNUC
547[.x2p]hash$(O) : [.x2p]hash.c
3a385817 548 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
549
550[.x2p]str$(O) : [.x2p]str.c
3a385817 551 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
552
553[.x2p]util$(O) : [.x2p]util.c
3a385817 554 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
555
556[.x2p]walk$(O) : [.x2p]walk.c
3a385817 557 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
558.endif
559
560[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
561 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
562 $(MINIPERL) $(MMS$SOURCE)
563 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
564
565[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
566 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
567 $(MINIPERL) $(MMS$SOURCE)
568 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
569
570[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
571 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
572 $(MINIPERL) $(MMS$SOURCE)
573 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
574
575[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
576 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
577 $(MINIPERL) $(MMS$SOURCE)
578 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
579
b4bc034f
GS
580[.lib.pod]podchecker.com : [.pod]podchecker.PL $(ARCHDIR)Config.pm
581 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
582 $(MINIPERL) $(MMS$SOURCE)
583 Copy/Log [.pod]podchecker.com $(MMS$TARGET)
584
97abc6ad
HM
585preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
586 @ Write Sys$Output "Autosplitting Perl library . . ."
587 @ Create/Directory [.lib.auto]
588 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
589
590[.lib.pod]perl.pod : [.pod]perl.pod
591 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 592 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
593[.lib.pod]perl5004delta.pod : [.pod]perl5004delta.pod
594 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 595 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
596[.lib.pod]perl5005delta.pod : [.pod]perl5005delta.pod
597 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 598 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
599[.lib.pod]perlapi.pod : [.pod]perlapi.pod
600 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 601 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
602[.lib.pod]perlapio.pod : [.pod]perlapio.pod
603 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 604 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
605[.lib.pod]perlbook.pod : [.pod]perlbook.pod
606 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 607 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
608[.lib.pod]perlbot.pod : [.pod]perlbot.pod
609 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 610 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
611[.lib.pod]perlcall.pod : [.pod]perlcall.pod
612 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 613 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
614[.lib.pod]perlcompile.pod : [.pod]perlcompile.pod
615 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 616 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
617[.lib.pod]perldata.pod : [.pod]perldata.pod
618 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 619 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
620[.lib.pod]perldbmfilter.pod : [.pod]perldbmfilter.pod
621 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 622 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
623[.lib.pod]perldebug.pod : [.pod]perldebug.pod
624 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 625 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
626[.lib.pod]perldelta.pod : [.pod]perldelta.pod
627 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 628 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
629[.lib.pod]perldiag.pod : [.pod]perldiag.pod
630 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 631 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
632[.lib.pod]perldsc.pod : [.pod]perldsc.pod
633 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 634 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
635[.lib.pod]perlembed.pod : [.pod]perlembed.pod
636 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 637 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
638[.lib.pod]perlfaq.pod : [.pod]perlfaq.pod
639 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 640 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
641[.lib.pod]perlfaq1.pod : [.pod]perlfaq1.pod
642 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 643 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
644[.lib.pod]perlfaq2.pod : [.pod]perlfaq2.pod
645 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 646 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
647[.lib.pod]perlfaq3.pod : [.pod]perlfaq3.pod
648 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 649 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
650[.lib.pod]perlfaq4.pod : [.pod]perlfaq4.pod
651 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 652 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
653[.lib.pod]perlfaq5.pod : [.pod]perlfaq5.pod
654 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 655 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
656[.lib.pod]perlfaq6.pod : [.pod]perlfaq6.pod
657 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 658 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
659[.lib.pod]perlfaq7.pod : [.pod]perlfaq7.pod
660 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 661 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
662[.lib.pod]perlfaq8.pod : [.pod]perlfaq8.pod
663 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 664 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
665[.lib.pod]perlfaq9.pod : [.pod]perlfaq9.pod
666 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 667 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
668[.lib.pod]perlfilter.pod : [.pod]perlfilter.pod
669 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 670 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
671[.lib.pod]perlfork.pod : [.pod]perlfork.pod
672 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 673 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
674[.lib.pod]perlform.pod : [.pod]perlform.pod
675 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 676 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
677[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
678 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 679 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
680[.lib.pod]perlguts.pod : [.pod]perlguts.pod
681 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 682 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
683[.lib.pod]perlhack.pod : [.pod]perlhack.pod
684 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 685 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
686[.lib.pod]perlhist.pod : [.pod]perlhist.pod
687 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 688 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 689[.lib.pod]perlintern.pod : [.pod]perlintern.pod
97abc6ad 690 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 691 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
692[.lib.pod]perlipc.pod : [.pod]perlipc.pod
693 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 694 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
695[.lib.pod]perllexwarn.pod : [.pod]perllexwarn.pod
696 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 697 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
698[.lib.pod]perllocale.pod : [.pod]perllocale.pod
699 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 700 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
701[.lib.pod]perllol.pod : [.pod]perllol.pod
702 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 703 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
704[.lib.pod]perlmod.pod : [.pod]perlmod.pod
705 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 706 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
707[.lib.pod]perlmodinstall.pod : [.pod]perlmodinstall.pod
708 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 709 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
710[.lib.pod]perlmodlib.pod : [.pod]perlmodlib.pod
711 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 712 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
713[.lib.pod]perlobj.pod : [.pod]perlobj.pod
714 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 715 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
716[.lib.pod]perlop.pod : [.pod]perlop.pod
717 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 718 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
719[.lib.pod]perlopentut.pod : [.pod]perlopentut.pod
720 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 721 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
722[.lib.pod]perlpod.pod : [.pod]perlpod.pod
723 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 724 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
725[.lib.pod]perlport.pod : [.pod]perlport.pod
726 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 727 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
728[.lib.pod]perlre.pod : [.pod]perlre.pod
729 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 730 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
731[.lib.pod]perlref.pod : [.pod]perlref.pod
732 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 733 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
734[.lib.pod]perlreftut.pod : [.pod]perlreftut.pod
735 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 736 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
737[.lib.pod]perlrun.pod : [.pod]perlrun.pod
738 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 739 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
740[.lib.pod]perlsec.pod : [.pod]perlsec.pod
741 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 742 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
743[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
744 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 745 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
746[.lib.pod]perlsub.pod : [.pod]perlsub.pod
747 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 748 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
749[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
750 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 751 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
752[.lib.pod]perlthrtut.pod : [.pod]perlthrtut.pod
753 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 754 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
755[.lib.pod]perltie.pod : [.pod]perltie.pod
756 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 757 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
758[.lib.pod]perltoc.pod : [.pod]perltoc.pod
759 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 760 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
761[.lib.pod]perltodo.pod : [.pod]perltodo.pod
762 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 763 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
764[.lib.pod]perltoot.pod : [.pod]perltoot.pod
765 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 766 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 767[.lib.pod]perltootc.pod : [.pod]perltootc.pod
3937c24e 768 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 769 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
770[.lib.pod]perltrap.pod : [.pod]perltrap.pod
771 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 772 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
5af06f0d
DS
773[.lib.pod]perlunicode.pod : [.pod]perlunicode.pod
774 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8
CB
775 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
776[.lib.pod]perlvar.pod : [.pod]perlvar.pod
777 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
778 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
779[.lib.pod]perlxs.pod : [.pod]perlxs.pod
780 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 781 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
782[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
783 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8
CB
784 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
785[.lib.pod]win32.pod : [.pod]win32.pod
786 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
788[.lib.pod]perlvms.pod : [.vms]perlvms.pod
789 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 790 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 791
a3ef2c6f
GS
792install.html : []perl_setup.com installhtml. install $(perlpods)
793 @ @perl_setup
794 @ If F$Search("[.lib]html.dir").eqs."" Then Create/Directory [.lib.html]
795 $(MINIPERL) installhtml. "--podroot=/perl_root --recurse --htmldir=lib/html --htmlroot=lib/html --splithead=pod/perlipc --splititem=pod/perlfunc --libpods=perlfunc:perlguts:perlvar:perlrun:perlop --verbose"
b4bc034f 796
97abc6ad
HM
797printconfig :
798 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 799 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
800
801.ifdef SOCKET
802
803.ifdef LINK_ONLY
804.else
805[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
806 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
807
808[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
809 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
810.endif # !LINK_ONLY
811
812vmsish.h : $(SOCKH)
813
787c52d8 814$(SOCKO) : $(SOCKC) EXTERN.h perl.h config.h embed.h perlsdio.h handy.h vmsish.h regexp.h sv.h util.h form.h gv.h cv.h opcode.h opnames.h op.h cop.h av.h hv.h mg.h scope.h perly.h thread.h pp.h proto.h embedvar.h perlvars.h thrdvar.h intrpvar.h perlio.h
97abc6ad
HM
815
816$(SOCKC) : [.vms]$(SOCKC)
817 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
818
819$(SOCKH) : [.vms]$(SOCKH)
820 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
821
822[.lib]Socket.pm : [.ext.Socket]Socket.pm
823 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
824.endif
825
424a8fe9
CB
826# The following files are generated automatically
827# keywords.h: keywords.pl
828# opcode.h: opcode.pl
829# opnames.h: opcode.pl
830# pp_proto.h: opcode.pl
831# pp.sym: opcode.pl
832# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
833# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
834# ext/ByteLoader/byterun.h: bytecode.pl
835# ext/ByteLoader/byterun.c: bytecode.pl
836# ext/B/Asmdata.pm: bytecode.pl
837# global.sym: embed.pl
838# regnodes.h: regcomp.pl
839# warnings.h lib/warnings.pm: warnings.pl
97abc6ad
HM
840# The correct versions should be already supplied with the perl kit,
841# in case you don't have perl available.
842# To force them to run, type
843# MMS regen_headers
844regen_headers :
845 $(INSTPERL) keywords.pl
846 $(INSTPERL) opcode.pl
847 $(INSTPERL) embed.pl
cc391245
CB
848 $(INSTPERL) bytecode.pl
849 $(INSTPERL) regcomp.pl
424a8fe9 850 $(INSTPERL) warnings.pl
97abc6ad
HM
851
852# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
853perly.c : [.vms]perly_c.vms
854 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
855perly.h : [.vms]perly_h.vms
856 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
857
97abc6ad
HM
858.ifdef LINK_ONLY
859.else
787c52d8 860perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
861.endif
862
863[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
864 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
865
866[.t.lib]vmsish.t : [.vms.ext]vmsish.t
867 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
868
869test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
3eeba6fb 870 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
97abc6ad 871
3a385817
GS
872# install ought not need a source, but it doesn't work if one's not
873# there. Go figure...
874install : $(MINIPERL_EXE)
29637182 875 If F$TrnLnm("Sys") .nes. "" Then Deass SYS
97abc6ad
HM
876 $(MINIPERL) installperl
877
878archify : all
879 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
880 archroot = "$(ARCHAUTO)" - "]" + "...]"
881 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
882 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
883 Delete/Log/NoConfirm [.lib]Config.pm;*
884 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
885 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
886 @ Write Sys$Output "Architecture-specific setup completed."
887 @ Write Sys$Output "Before building for another architecture, be sure to"
888 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
889 @ Write Sys$Output " 2. Delete Miniperl$(E)"
890
891# CORE subset for MakeMaker, so we can build Perl without sources
892# Should move to VMS installperl when we get one
b0d5070b 893.ifdef SOCKET
787c52d8 894$(SOCKARCH) : $(SOCKH)
97abc6ad
HM
895 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
896 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
897.endif
898$(ARCHCORE)av.h : av.h
97abc6ad
HM
899 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
900 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 901$(ARCHCORE)cc_runtime.h : cc_runtime.h
97abc6ad
HM
902 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
903 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
904$(ARCHCORE)config.h : config.h
905 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
906 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
907$(ARCHCORE)cop.h : cop.h
908 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
909 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
910$(ARCHCORE)cv.h : cv.h
911 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
912 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
913$(ARCHCORE)embed.h : embed.h
914 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
915 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
916$(ARCHCORE)embedvar.h : embedvar.h
917 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
918 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
919$(ARCHCORE)extern.h : extern.h
920 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
921 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
922.ifdef FAKETHREADED
923$(ARCHCORE)fakethr.h : fakethr.h
924 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
925 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
926.endif
927$(ARCHCORE)form.h : form.h
928 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
929 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
930$(ARCHCORE)gv.h : gv.h
931 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
932 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
933$(ARCHCORE)handy.h : handy.h
934 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
935 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
936$(ARCHCORE)hv.h : hv.h
937 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
938 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
939$(ARCHCORE)intern.h : intern.h
940 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
941 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
942$(ARCHCORE)intrpvar.h : intrpvar.h
943 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
944 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
945$(ARCHCORE)iperlsys.h : iperlsys.h
946 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
947 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
948$(ARCHCORE)keywords.h : keywords.h
949 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
950 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
951$(ARCHCORE)mg.h : mg.h
952 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
953 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
954$(ARCHCORE)nostdio.h : nostdio.h
955 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
956 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
957$(ARCHCORE)objxsub.h : objxsub.h
958 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
959 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
960$(ARCHCORE)op.h : op.h
961 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
962 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
963$(ARCHCORE)opcode.h : opcode.h
964 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
965 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9
CB
966$(ARCHCORE)opnames.h : opnames.h
967 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
968 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
969$(ARCHCORE)patchlevel.h : patchlevel.h
970 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
971 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
972$(ARCHCORE)perl.h : perl.h
973 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
974 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
975$(ARCHCORE)perlapi.h : perlapi.h
976 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
977 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 978$(ARCHCORE)perlio.h : perlio.h
3a385817
GS
979 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
980 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
981$(ARCHCORE)perlsdio.h : perlsdio.h
982 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
983 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
984$(ARCHCORE)perlvars.h : perlvars.h
985 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
986 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
987$(ARCHCORE)perly.h : perly.h
988 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
989 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
990$(ARCHCORE)pp.h : pp.h
991 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
992 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
993$(ARCHCORE)pp_proto.h : pp_proto.h
994 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
995 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
996$(ARCHCORE)proto.h : proto.h
997 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
998 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
999$(ARCHCORE)regcomp.h : regcomp.h
1000 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1001 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1002$(ARCHCORE)regexp.h : regexp.h
1003 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1004 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
1005$(ARCHCORE)regnodes.h : regnodes.h
1006 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1007 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1008$(ARCHCORE)scope.h : scope.h
1009 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1010 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1011$(ARCHCORE)sv.h : sv.h
1012 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1013 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1014$(ARCHCORE)thrdvar.h : thrdvar.h
1015 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1016 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1017$(ARCHCORE)thread.h : thread.h
1018 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1019 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1020$(ARCHCORE)utf8.h : utf8.h
97abc6ad
HM
1021 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1022 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1023$(ARCHCORE)util.h : util.h
3937c24e
HM
1024 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1025 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1026$(ARCHCORE)vmsish.h : vmsish.h
1027 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1028 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1029$(ARCHCORE)warnings.h : warnings.h
cc391245
CB
1030 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1031 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1032$(ARCHCORE)xsub.h : xsub.h
97abc6ad
HM
1033 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1034 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1035$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1036 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1037 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1038$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1039 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1040 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1041$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1042 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1043 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1044$(ARCHAUTO)time.stamp :
1045 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1046 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1047
1048.ifdef LINK_ONLY
1049.else
1050# We need an action line here for broken older versions of MMS which
1051# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
1052#util$(O) : util.c
1053# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1054# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
b0d5070b 1055.ifdef SOCKET
787c52d8 1056$(SOCKO) : $(SOCKC) extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1057 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0d5070b 1058.endif
787c52d8 1059av$(O) : av.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1060 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1061deb$(O) : deb.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1062 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1063doio$(O) : doio.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1064 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1065doop$(O) : doop.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1066 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1067dump$(O) : dump.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h regcomp.h regnodes.h
3a385817 1068 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1069globals$(O) : globals.c intern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h perlapi.h
3a385817 1070 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1071gv$(O) : gv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1072 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1073hv$(O) : hv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1074 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1075mg$(O) : mg.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1076 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1077miniperlmain$(O) : miniperlmain.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1078 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1079op$(O) : op.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h keywords.h
3a385817 1080 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1081perl$(O) : perl.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h patchlevel.h intrpvar.h thrdvar.h
3a385817 1082 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1083perlio$(O) : perlio.c config.h extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1084 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1085perlmain$(O) : perlmain.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1086 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1087perly$(O) : perly.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1088 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1089pp$(O) : pp.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1090 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1091pp_ctl$(O) : pp_ctl.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1092 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1093pp_hot$(O) : pp_hot.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1094 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1095pp_sys$(O) : pp_sys.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1096 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1097regcomp$(O) : regcomp.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h intern.h regcomp.h regnodes.h
3a385817 1098 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1099regexec$(O) : regexec.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h regcomp.h regnodes.h
3a385817 1100 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1101run$(O) : run.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1102 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1103scope$(O) : scope.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1104 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1105sv$(O) : sv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1106 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1107taint$(O) : taint.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1108 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1109toke$(O) : toke.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h keywords.h
3a385817 1110 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1111universal$(O) : universal.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h xsub.h perlapi.h objxsub.h
3a385817 1112 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1113utf8$(O) : utf8.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1114 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1115util$(O) : util.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3937c24e 1116 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1117vms$(O) : vms.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1118 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1119xsutils$(O) : xsutils.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h xsub.h perlapi.h objxsub.h
498336ed 1120 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
3a385817 1121
b0d5070b 1122[.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 $(SOCKH)
3a385817
GS
1123 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1124
b0d5070b 1125[.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 $(SOCKH)
3a385817
GS
1126 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1127
b0d5070b 1128[.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 $(SOCKH)
3a385817
GS
1129 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1130
b0d5070b 1131[.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 $(SOCKH)
3a385817
GS
1132 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1133
97abc6ad
HM
1134# End of automatically generated make dependencies
1135.endif # !LINK_ONLY
1136
1137vmsish.h : [.vms]vmsish.h
1138 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1139
1140vms.c : [.vms]vms.c
1141 Copy/Log/Noconfirm [.vms]vms.c []
1142
1143$(CRTL) : $(MAKEFILE)
9ef4b0a6 1144 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1145
1146
1147cleanlis :
1148 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1149 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1150 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1151
1152tidy : cleanlis
1153 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1154 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1155 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1156 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1157 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1158 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1159 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1160 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1161 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1162 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad
HM
1163 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1164 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1165 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1166 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1167 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1168 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1169 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1170 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1171 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1172 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
25ea24bb 1173 - If F$Search("[.Lib]XSLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]XSLoader.pm
97abc6ad
HM
1174 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1175 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1176 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1177 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1178 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1179 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1180 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1181 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1182 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1183 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1184 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1185 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1186 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1187
1188clean : tidy
cc391245 1189 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad
HM
1190 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1191 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1192 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1193 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1194 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
52a043e6 1195 - Copy [.vms]perly_c.vms []perly.c
97abc6ad 1196 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
52a043e6 1197 - Copy [.vms]perly_h.vms []perly.h
97abc6ad
HM
1198 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1199 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1200 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
97abc6ad
HM
1201 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1202 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1203 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1204 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
52a043e6 1205 - If F$Search("[.Ext.DynaLoader]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DynaLoader.pm;*
25ea24bb 1206 - If F$Search("[.Ext.DynaLoader]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]XSLoader.pm;*
97abc6ad
HM
1207 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1208 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1209 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1210 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1211 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1212
cc391245
CB
1213realclean : clean
1214 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad
HM
1215 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1216 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1217 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1218 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
52a043e6 1219 - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
cc391245
CB
1220 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
1221 - If F$Search("Build_Ext.Com").nes."" Then Delete/NoConfirm/Log Build_Ext.Com;*
97abc6ad 1222 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
25ea24bb 1223 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
97abc6ad 1224 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
25ea24bb 1225 - If F$Search("[.Lib]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]XSLoader.pm;*
97abc6ad
HM
1226 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1227 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1228 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
52a043e6 1229 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
97abc6ad
HM
1230 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1231 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1232 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1233 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1234 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1235 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1236 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1237 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1238 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1239 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
52a043e6 1240 - If F$Search("[.vms]Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log [.vms]Perl_Setup.Com;*
97abc6ad
HM
1241
1242cleansrc : clean
cc391245 1243!GROK!THIS!
97abc6ad
HM
1244 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1245 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1246 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1247 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1248 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1249 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1250 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1251 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1252 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1253 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs