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