VMS install fix-ups: add libnetcfg and xsubpp as utility commands
[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
203acth = $(ARCHCORE)fakethr.h
204THREAD = THREAD
205.else
206THREADH =
207acth =
208.endif
209
210# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
498336ed 211CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)
3a385817 212# Flags for a core compile
213X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
214# Flags for an x2p compile
215CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
97abc6ad 216LINKFLAGS = $(DBGLINKFLAGS)
217
218MAKE = $(MMS)
219MAKEFILE = Descrip.MMS # this file
220NOOP = continue
221
222# Macros to invoke a copy of miniperl during the build. Targets which
223# are built using these macros should depend on $(MINIPERL_EXE)
224MINIPERL_EXE = Sys$Disk:[]miniperl$(E)
225MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]"
dfe814dc 226MINIPERLQ = MCR $(MINIPERL_EXE) ""-I[.lib]""
29637182 227XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
97abc6ad 228# Macro to invoke a preexisting copy of Perl. This is used to regenerate
229# some header files when rebuilding Perl, but premade versions are provided
230# in the distribution, so it's OK if this doesn't work; it's here to make
231# life easier for those who modify Perl and rebuild it.
232INSTPERL = perl
233
234# Space-separated list of "static" extensions to build into perlshr (case counts).
235MYEXT = DynaLoader
236# object files for these extensions; the trailing comma is required if
237# there are any object files specified
238# These must be built separately, or you must add rules below to build them
239myextobj = [.ext.dynaloader]dl_vms$(O),
97abc6ad 240EXT = $(MYEXT)
241extobj = $(myextobj)
97abc6ad 242
429a5e67 243.ifdef LIBS2
244.else
245LIBS2=
246.endif
97abc6ad 247
9ef4b0a6 248.ifdef THRLIBS1
249.else
250THRLIBS1=
251.endif
252
253.ifdef THRLIBS2
254.else
255THRLIBS2=
256.endif
257
258FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
259
97abc6ad 260#### End of system configuration section. ####
261
a6ec74c1 262c0 = $(MALLOC_C) $(SOCKC) av.c deb.c doio.c doop.c dump.c globals.c gv.c hv.c
263c1 = mg.c locale.c miniperlmain.c numeric.c op.c perl.c perlapi.c perlio.c
84d4ea48 264c2 = perly.c pp.c pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c regexec.c
a6ec74c1 265c3 = run.c scope.c sv.c taint.c toke.c universal.c utf8.c util.c vms.c xsutils.c
b0d5070b 266c = $(c0) $(c1) $(c2) $(c3)
267
787c52d8 268obj0 = $(MALLOC_O) $(SOCKO) av$(O) deb$(O) doio$(O) doop$(O) dump$(O)
cfbf4ea5 269obj1 = globals$(O) gv$(O) hv$(O) locale$(O) mg$(O) miniperlmain$(O) numeric$(O)
270obj2 = op$(O) perl$(O) perlapi$(O) perlio$(O) perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O)
84d4ea48 271obj3 = pp_pack$(O) pp_sort$(O) pp_sys$(O) regcomp$(O) regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O)
cfbf4ea5 272obj4 = universal$(O) utf8$(O) util$(O) vms$(O) xsutils$(O)
b0d5070b 273obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
274
787c52d8 275h0 = av.h cc_runtime.h config.h cop.h cv.h embed.h embedvar.h
276h1 = extern.h form.h gv.h handy.h hv.h intern.h intrpvar.h
acfe0abc 277h2 = iperlsys.h keywords.h mg.h nostdio.h op.h opcode.h opnames.h
787c52d8 278h3 = patchlevel.h perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h
279h4 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h
280h5 = sv.h thrdvar.h thread.h utf8.h util.h vmsish.h warnings.h
281h6 = xsub.h $(SOCKH) $(THREADH)
282h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6)
283
284ac0 = $(ARCHCORE)$(sockh) $(ARCHCORE)av.h $(ARCHCORE)cc_runtime.h
b0d5070b 285ac1 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
286ac2 = $(ARCHCORE)embedvar.h $(ARCHCORE)extern.h $(acth)
287ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h
288ac4 = $(ARCHCORE)intern.h $(ARCHCORE)intrpvar.h $(ARCHCORE)iperlsys.h
289ac5 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)nostdio.h
acfe0abc 290ac6 = $(ARCHCORE)op.h $(ARCHCORE)opcode.h
787c52d8 291ac7 = $(ARCHCORE)opnames.h $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h
292ac8 = $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h
293ac9 = $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h
294ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h
295ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h
7558ebc2 296.ifdef SOCKARCH
787c52d8 297ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h $(SOCKARCH)
7558ebc2 298.else
299ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h
300.endif
787c52d8 301ac13 = $(ARCHCORE)thread.h $(ARCHCORE)utf8.h $(ARCHCORE)util.h
302ac14 = $(ARCHCORE)vmsish.h $(ARCHCORE)warnings.h $(ARCHCORE)xsub.h
303acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt
304ac = $(ac0) $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(ac11) $(ac12) $(ac13) $(ac14) $(acopt)
c05f8f3d 305
97abc6ad 306CRTL = []crtl.opt
307CRTLOPTS =,$(CRTL)/Options
308
309.SUFFIXES
310
311.ifdef LINK_ONLY
312.else
313.SUFFIXES $(O) .c .xs
314
315.xs.c :
316 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
317
318
319.c$(O) :
320 $(CC) $(CFLAGS) $(MMS$SOURCE)
321
322.xs$(O) :
323 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
324 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
325.endif
326
327# Modules which must be installed before we can build extensions
9f84c005 328LIBPREREQ = $(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 329
5fa137f1 330utils1 = [.lib.pod]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com
331utils2 = [.utils]h2xs.com [.utils]libnetcfg.com [.lib]perlbug.com [.lib]perlcc.com [.utils]dprofpp.com
332utils3 = [.utils]perlivp.com [.lib]splain.com [.utils]pl2pm.com [.lib.ExtUtils]xsubpp.com
97abc6ad 333
334.ifdef NOX2P
335all : base extras archcorefiles preplibrary perlpods
dfe814dc 336 @ write sys$output " "
337 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad 338.else
339all : base extras x2p archcorefiles preplibrary perlpods
dfe814dc 340 @ write sys$output " "
341 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad 342.endif
343base : miniperl perl
344 @ $(NOOP)
414b89cc 345extras : dynext libmods utils podxform extra.pods
97abc6ad 346 @ $(NOOP)
347libmods : $(LIBPREREQ)
348 @ $(NOOP)
5fa137f1 349utils : $(utils1) $(utils2) $(utils3)
97abc6ad 350 @ $(NOOP)
c93fa817 351podxform : [.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 352 @ $(NOOP)
353x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
354 @ $(NOOP)
414b89cc 355extra.pods : miniperl
356 @ @extra_pods.com
97abc6ad 357
787c52d8 358pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod
359pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod
360pod2 = [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod [.lib.pod]perlcompile.pod
361pod3 = [.lib.pod]perldata.pod [.lib.pod]perldbmfilter.pod [.lib.pod]perldebug.pod
362pod4 = [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
363pod5 = [.lib.pod]perlembed.pod [.lib.pod]perlfaq.pod [.lib.pod]perlfaq1.pod
364pod6 = [.lib.pod]perlfaq2.pod [.lib.pod]perlfaq3.pod [.lib.pod]perlfaq4.pod
365pod7 = [.lib.pod]perlfaq5.pod [.lib.pod]perlfaq6.pod [.lib.pod]perlfaq7.pod
366pod8 = [.lib.pod]perlfaq8.pod [.lib.pod]perlfaq9.pod [.lib.pod]perlfilter.pod
367pod9 = [.lib.pod]perlfork.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod
368pod10 = [.lib.pod]perlguts.pod [.lib.pod]perlhack.pod [.lib.pod]perlhist.pod
369pod11 = [.lib.pod]perlintern.pod [.lib.pod]perlipc.pod [.lib.pod]perllexwarn.pod
370pod12 = [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod
371pod13 = [.lib.pod]perlmodinstall.pod [.lib.pod]perlmodlib.pod [.lib.pod]perlobj.pod
372pod14 = [.lib.pod]perlop.pod [.lib.pod]perlopentut.pod [.lib.pod]perlpod.pod
373pod15 = [.lib.pod]perlport.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod
374pod16 = [.lib.pod]perlreftut.pod [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod
375pod17 = [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
376pod18 = [.lib.pod]perlthrtut.pod [.lib.pod]perltie.pod [.lib.pod]perltoc.pod
afdf8da6 377pod19 = [.lib.pod]perltodo.pod [.lib.pod]perltoot.pod [.lib.pod]perltooc.pod
12bc563b 378pod20 = [.lib.pod]perltrap.pod [.lib.pod]perlunicode.pod [.lib.pod]perluniintro.pod [.lib.pod]perlvar.pod
787c52d8 379pod21 = [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod [.lib.pod]win32.pod [.lib.pod]perlvms.pod
a3bd614a 380pod22 = [.lib.pod]perldebguts.pod [.lib.pod]perldebtut.pod [.lib.pod]perlebcdic.pod [.lib.pod]perliol.pod
381pod23 = [.lib.pod]perlnewmod.pod [.lib.pod]perlnumber.pod [.lib.pod]perlrequick.pod [.lib.pod]perlretut.pod [.lib.pod]perlutil.pod
382pod = $(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 383
384perlpods : $(pod)
97abc6ad 385 @ $(NOOP)
386
8f9bf0bf 387archcorefiles : $(ac) $(acth) $(ARCHAUTO)time.stamp
97abc6ad 388 @ $(NOOP)
389
dfe814dc 390[.lib]re.pm : [.ext.re]re.pm
391 copy/log $(MMS$SOURCE) $(MMS$TARGET)
392
93d6612c 393vmspipe.com : [.vms]vmspipe.com
dfe814dc 394 copy/log $(MMS$SOURCE) $(MMS$TARGET)
93d6612c 395
396miniperl : $(DBG)miniperl$(E) vmspipe.com
97abc6ad 397 @ Continue
398$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
399 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
400$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
401 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
402
403$(DBG)libperl$(OLB) : $(obj)
404 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
8f9bf0bf 405 Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
97abc6ad 406
407perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
408 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
409
97abc6ad 410.ifdef __DEBUG__
411# Link an extra perl that doesn't invoke the debugger
1f052492 412perl : $(DBG)perl$(E)
97abc6ad 413 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 414.else
1f052492 415perl : $(DBG)perl$(E)
97abc6ad 416 @ Continue
417.endif
418
419$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
420 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67 421.ifdef MT
422 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
423.else
97abc6ad 424 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 425.endif
97abc6ad 426
97abc6ad 427$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
428 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
429
430# The following files are built in one go by gen_shrfls.pl:
431# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
432# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
8f9bf0bf 433# The song and dance with gen_shrfls.opt accommodates DCL's 255 character
97abc6ad 434# line length limit.
435.ifdef PIPES_BROKEN
436# This is a backup target used only with older versions of the DECCRTL which
437# can't deal with pipes properly. See ReadMe.VMS for details.
438$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
439 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
440 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
441 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
442 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
443 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
444 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
445 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
446.else
447$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
448 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
449 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
450 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
451 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
452 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
453 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
454.endif
455
456$(ARCHDIR)config.pm : [.lib]config.pm
457 Create/Directory $(ARCHDIR)
458 Copy $(MMS$SOURCE) $(MMS$TARGET)
459
cc391245 460[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad 461 $(MINIPERL) ConfigPM.
462
93d6612c 463$(ARCHDIR)vmspipe.com : vmspipe.com
464 Copy $(MMS$SOURCE) $(MMS$TARGET)
465
429a5e67 466[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad 467 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
468
469[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
470 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
471
472[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
473 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
474 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
475 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
476
25ea24bb 477[.lib]XSLoader.pm : [.ext.dynaloader]xsloader.pm
478 Copy/Log/NoConfirm [.ext.dynaloader]xsloader.pm [.lib]XSLoader.pm
479 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
480 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]XSLoader.pm
481
429a5e67 482[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad 483 $(MINIPERL) $(MMS$SOURCE)
484 @ Rename/Log dynaloader.pm [.ext.dynaloader]
485
25ea24bb 486[.ext.dynaloader]xsloader.pm : [.ext.dynaloader]xsloader_pm.pl
487 $(MINIPERL) $(MMS$SOURCE)
488 @ Rename/Log xsloader.pm [.ext.dynaloader]
489
bd2a5e79 490dynext : $(LIBPREREQ) $(DBG)perlshr$(E) preplibrary
a3bd614a 491 @make_ext "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad 492
5723c3d7 493[.lib]lib.pm : [.lib]lib_pm.PL
494 $(MINIPERL) $(MMS$SOURCE)
495
97abc6ad 496[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
497 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
498 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
499
500[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
501 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
502 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
503
504[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
505 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
506 $(MINIPERL) $(MMS$SOURCE)
507 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
508
509[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
510 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
511
cdf8b154 512[.utils]perlivp.com : [.utils]perlivp.PL $(ARCHDIR)Config.pm
513 $(MINIPERL) $(MMS$SOURCE)
514
97abc6ad 515[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
516 $(MINIPERL) $(MMS$SOURCE)
517
95667ae4 518[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
519 $(MINIPERL) $(MMS$SOURCE)
520
97abc6ad 521[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
522 $(MINIPERL) $(MMS$SOURCE)
523
524[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
525 $(MINIPERL) $(MMS$SOURCE)
526
5fa137f1 527[.utils]libnetcfg.com : [.utils]libnetcfg.PL $(ARCHDIR)Config.pm
528 $(MINIPERL) $(MMS$SOURCE)
529
97abc6ad 530[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
531 $(MINIPERL) $(MMS$SOURCE)
532 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
533
be46aa5a 534[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
535 $(MINIPERL) $(MMS$SOURCE)
536 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
537
97abc6ad 538[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
539 $(MINIPERL) $(MMS$SOURCE)
540
541[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
542 $(MINIPERL) $(MMS$SOURCE)
543 Copy/Log [.utils]splain.com $(MMS$TARGET)
544
545[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
546 $(MINIPERL) $(MMS$SOURCE)
547
548[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
549 $(MINIPERL) $(MMS$SOURCE)
550
5fa137f1 551[.lib.ExtUtils]xsubpp.com : [.lib.ExtUtils]xsubpp
552 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
553
97abc6ad 554# Rename catches problem with some DECC versions in which object file is
555# placed in current default dir, not same one as source file.
556[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
557 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
558 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
559
8f9bf0bf 560# Accommodate buggy cpp in some version of DECC, which chokes on illegal
97abc6ad 561# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
562# search in same dir as source file
b0d5070b 563[.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 564 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 565 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad 566 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
567
568# gcc cpp broken -- doesn't look in directory of source file for #include ""
569.ifdef GNUC
570[.x2p]hash$(O) : [.x2p]hash.c
3a385817 571 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad 572
573[.x2p]str$(O) : [.x2p]str.c
3a385817 574 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad 575
576[.x2p]util$(O) : [.x2p]util.c
3a385817 577 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad 578
579[.x2p]walk$(O) : [.x2p]walk.c
3a385817 580 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad 581.endif
582
583[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
584 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
585 $(MINIPERL) $(MMS$SOURCE)
586 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
587
588[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
589 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
590 $(MINIPERL) $(MMS$SOURCE)
591 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
592
593[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
594 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
595 $(MINIPERL) $(MMS$SOURCE)
596 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
597
598[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
599 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
600 $(MINIPERL) $(MMS$SOURCE)
601 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
602
b4bc034f 603[.lib.pod]podchecker.com : [.pod]podchecker.PL $(ARCHDIR)Config.pm
604 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
605 $(MINIPERL) $(MMS$SOURCE)
606 Copy/Log [.pod]podchecker.com $(MMS$TARGET)
607
c93fa817 608[.lib.pod]pod2usage.com : [.pod]pod2usage.PL $(ARCHDIR)Config.pm
609 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
610 $(MINIPERL) $(MMS$SOURCE)
611 Copy/Log [.pod]pod2usage.com $(MMS$TARGET)
612
613[.lib.pod]podselect.com : [.pod]podselect.PL $(ARCHDIR)Config.pm
614 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
615 $(MINIPERL) $(MMS$SOURCE)
616 Copy/Log [.pod]podselect.com $(MMS$TARGET)
617
9b5878df 618preplibrary : $(MINIPERL_EXE) $(LIBPREREQ)
97abc6ad 619 @ Write Sys$Output "Autosplitting Perl library . . ."
620 @ Create/Directory [.lib.auto]
621 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
622
623[.lib.pod]perl.pod : [.pod]perl.pod
624 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 625 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 626[.lib.pod]perl5004delta.pod : [.pod]perl5004delta.pod
627 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 628 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 629[.lib.pod]perl5005delta.pod : [.pod]perl5005delta.pod
630 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 631 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 632[.lib.pod]perlapi.pod : [.pod]perlapi.pod
633 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 634 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 635[.lib.pod]perlapio.pod : [.pod]perlapio.pod
636 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 637 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 638[.lib.pod]perlbook.pod : [.pod]perlbook.pod
639 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 640 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 641[.lib.pod]perlbot.pod : [.pod]perlbot.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]perlcall.pod : [.pod]perlcall.pod
645 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 646 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 647[.lib.pod]perlcompile.pod : [.pod]perlcompile.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]perldata.pod : [.pod]perldata.pod
651 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 652 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 653[.lib.pod]perldbmfilter.pod : [.pod]perldbmfilter.pod
654 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 655 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 656[.lib.pod]perldebug.pod : [.pod]perldebug.pod
657 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 658 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 659[.lib.pod]perldebguts.pod : [.pod]perldebguts.pod
660 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
661 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
662[.lib.pod]perldebtut.pod : [.pod]perldebtut.pod
663 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
664 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 665[.lib.pod]perldelta.pod : [.pod]perldelta.pod
666 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 667 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 668[.lib.pod]perldiag.pod : [.pod]perldiag.pod
669 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 670 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 671[.lib.pod]perldsc.pod : [.pod]perldsc.pod
672 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 673 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 674[.lib.pod]perlebcdic.pod : [.pod]perlebcdic.pod
675 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
676 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 677[.lib.pod]perlembed.pod : [.pod]perlembed.pod
678 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 679 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 680[.lib.pod]perlfaq.pod : [.pod]perlfaq.pod
681 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 682 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 683[.lib.pod]perlfaq1.pod : [.pod]perlfaq1.pod
684 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 685 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 686[.lib.pod]perlfaq2.pod : [.pod]perlfaq2.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]perlfaq3.pod : [.pod]perlfaq3.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]perlfaq4.pod : [.pod]perlfaq4.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]perlfaq5.pod : [.pod]perlfaq5.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]perlfaq6.pod : [.pod]perlfaq6.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]perlfaq7.pod : [.pod]perlfaq7.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]perlfaq8.pod : [.pod]perlfaq8.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]perlfaq9.pod : [.pod]perlfaq9.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]perlfilter.pod : [.pod]perlfilter.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]perlfork.pod : [.pod]perlfork.pod
714 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 715 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 716[.lib.pod]perlform.pod : [.pod]perlform.pod
717 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 718 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 719[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
720 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 721 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 722[.lib.pod]perlguts.pod : [.pod]perlguts.pod
723 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 724 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 725[.lib.pod]perlhack.pod : [.pod]perlhack.pod
726 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 727 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 728[.lib.pod]perlhist.pod : [.pod]perlhist.pod
729 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 730 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 731[.lib.pod]perlintern.pod : [.pod]perlintern.pod
97abc6ad 732 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 733 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 734[.lib.pod]perliol.pod : [.pod]perliol.pod
735 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
736 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 737[.lib.pod]perlipc.pod : [.pod]perlipc.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]perllexwarn.pod : [.pod]perllexwarn.pod
741 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 742 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 743[.lib.pod]perllocale.pod : [.pod]perllocale.pod
744 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 745 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 746[.lib.pod]perllol.pod : [.pod]perllol.pod
747 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 748 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 749[.lib.pod]perlmod.pod : [.pod]perlmod.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]perlmodinstall.pod : [.pod]perlmodinstall.pod
753 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 754 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 755[.lib.pod]perlmodlib.pod : [.pod]perlmodlib.pod
756 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 757 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 758[.lib.pod]perlnewmod.pod : [.pod]perlnewmod.pod
759 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
760 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
761[.lib.pod]perlnumber.pod : [.pod]perlnumber.pod
762 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
763 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 764[.lib.pod]perlobj.pod : [.pod]perlobj.pod
765 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 766 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 767[.lib.pod]perlop.pod : [.pod]perlop.pod
768 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 769 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 770[.lib.pod]perlopentut.pod : [.pod]perlopentut.pod
771 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 772 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 773[.lib.pod]perlpod.pod : [.pod]perlpod.pod
774 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 775 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 776[.lib.pod]perlport.pod : [.pod]perlport.pod
777 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 778 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 779[.lib.pod]perlre.pod : [.pod]perlre.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]perlref.pod : [.pod]perlref.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]perlreftut.pod : [.pod]perlreftut.pod
786 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 787 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 788[.lib.pod]perlrequick.pod : [.pod]perlrequick.pod
789 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
790 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
791[.lib.pod]perlretut.pod : [.pod]perlretut.pod
792 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
793 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 794[.lib.pod]perlrun.pod : [.pod]perlrun.pod
795 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 796 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 797[.lib.pod]perlsec.pod : [.pod]perlsec.pod
798 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 799 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 800[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
801 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 802 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 803[.lib.pod]perlsub.pod : [.pod]perlsub.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]perlsyn.pod : [.pod]perlsyn.pod
807 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 808 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 809[.lib.pod]perlthrtut.pod : [.pod]perlthrtut.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]perltie.pod : [.pod]perltie.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]perltoc.pod : [.pod]perltoc.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]perltodo.pod : [.pod]perltodo.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]perltoot.pod : [.pod]perltoot.pod
822 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 823 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
afdf8da6 824[.lib.pod]perltooc.pod : [.pod]perltooc.pod
3937c24e 825 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 826 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 827[.lib.pod]perltrap.pod : [.pod]perltrap.pod
828 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 829 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
5af06f0d 830[.lib.pod]perlunicode.pod : [.pod]perlunicode.pod
831 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 832 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
12bc563b 833[.lib.pod]perluniintro.pod : [.pod]perluniintro.pod
834 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
835 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a 836[.lib.pod]perlutil.pod : [.pod]perlutil.pod
837 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
838 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8 839[.lib.pod]perlvar.pod : [.pod]perlvar.pod
840 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
841 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 842[.lib.pod]perlxs.pod : [.pod]perlxs.pod
843 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 844 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 845[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
846 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 847 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
94d4630c 848[.lib.pod]win32.pod : [.lib]win32.pod
787c52d8 849 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
850 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 851[.lib.pod]perlvms.pod : [.vms]perlvms.pod
852 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 853 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 854
c645ec3f 855install.html : $(perlpods)
856 @ @perl_setup.com
857 @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html]
858 $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose"
b4bc034f 859
97abc6ad 860printconfig :
861 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 862 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad 863
864.ifdef SOCKET
865
97abc6ad 866vmsish.h : $(SOCKH)
867
787c52d8 868$(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 869
870$(SOCKC) : [.vms]$(SOCKC)
871 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
872
873$(SOCKH) : [.vms]$(SOCKH)
874 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
875
97abc6ad 876.endif
877
424a8fe9 878# The following files are generated automatically
879# keywords.h: keywords.pl
880# opcode.h: opcode.pl
881# opnames.h: opcode.pl
882# pp_proto.h: opcode.pl
883# pp.sym: opcode.pl
884# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
885# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
886# ext/ByteLoader/byterun.h: bytecode.pl
887# ext/ByteLoader/byterun.c: bytecode.pl
888# ext/B/Asmdata.pm: bytecode.pl
889# global.sym: embed.pl
890# regnodes.h: regcomp.pl
891# warnings.h lib/warnings.pm: warnings.pl
97abc6ad 892# The correct versions should be already supplied with the perl kit,
893# in case you don't have perl available.
894# To force them to run, type
895# MMS regen_headers
896regen_headers :
897 $(INSTPERL) keywords.pl
898 $(INSTPERL) opcode.pl
899 $(INSTPERL) embed.pl
cc391245 900 $(INSTPERL) bytecode.pl
901 $(INSTPERL) regcomp.pl
424a8fe9 902 $(INSTPERL) warnings.pl
97abc6ad 903
904# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
905perly.c : [.vms]perly_c.vms
906 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
907perly.h : [.vms]perly_h.vms
908 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
909
97abc6ad 910.ifdef LINK_ONLY
911.else
787c52d8 912perly$(O) : perly.c, perly.h, $(h)
97abc6ad 913.endif
914
915[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
916 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
917
493ba88a 918[.t.lib]vms_dclsym.t : [.vms.ext.DCLsym]test.pl
919 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
920
921[.t.lib]vms_stdio.t : [.vms.ext.Stdio]test.pl
922 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
923
7558ebc2 924check : test
925 @ Continue
926
9f84c005 927test : all [.t.lib]vmsfspec.t [.t.lib]vms_dclsym.t [.t.lib]vms_stdio.t
3eeba6fb 928 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
dfe814dc 929 @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests.
97abc6ad 930
3a385817 931# install ought not need a source, but it doesn't work if one's not
932# there. Go figure...
933install : $(MINIPERL_EXE)
c645ec3f 934 @ @perl_setup.com
29637182 935 If F$TrnLnm("Sys") .nes. "" Then Deass SYS
97abc6ad 936 $(MINIPERL) installperl
937
938archify : all
939 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
940 archroot = "$(ARCHAUTO)" - "]" + "...]"
941 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
942 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
943 Delete/Log/NoConfirm [.lib]Config.pm;*
944 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
945 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
946 @ Write Sys$Output "Architecture-specific setup completed."
947 @ Write Sys$Output "Before building for another architecture, be sure to"
948 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
949 @ Write Sys$Output " 2. Delete Miniperl$(E)"
950
951# CORE subset for MakeMaker, so we can build Perl without sources
952# Should move to VMS installperl when we get one
b0d5070b 953.ifdef SOCKET
787c52d8 954$(SOCKARCH) : $(SOCKH)
9b5878df 955 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
956 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 957.endif
958$(ARCHCORE)av.h : av.h
97abc6ad 959 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
960 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 961$(ARCHCORE)cc_runtime.h : cc_runtime.h
97abc6ad 962 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
963 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
964$(ARCHCORE)config.h : config.h
965 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
966 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
967$(ARCHCORE)cop.h : cop.h
968 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
969 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
970$(ARCHCORE)cv.h : cv.h
971 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
972 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
973$(ARCHCORE)embed.h : embed.h
974 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
975 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
976$(ARCHCORE)embedvar.h : embedvar.h
977 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
978 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 979$(ARCHCORE)extern.h : extern.h
980 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
981 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 982.ifdef FAKETHREADED
983$(ARCHCORE)fakethr.h : fakethr.h
984 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
985 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
986.endif
987$(ARCHCORE)form.h : form.h
988 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
989 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
990$(ARCHCORE)gv.h : gv.h
991 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
992 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
993$(ARCHCORE)handy.h : handy.h
994 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
995 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
996$(ARCHCORE)hv.h : hv.h
997 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
998 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 999$(ARCHCORE)intern.h : intern.h
1000 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1001 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1002$(ARCHCORE)intrpvar.h : intrpvar.h
1003 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1004 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1005$(ARCHCORE)iperlsys.h : iperlsys.h
1006 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1007 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1008$(ARCHCORE)keywords.h : keywords.h
1009 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1010 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1011$(ARCHCORE)mg.h : mg.h
1012 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1013 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1014$(ARCHCORE)nostdio.h : nostdio.h
1015 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1016 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1017$(ARCHCORE)op.h : op.h
1018 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1019 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1020$(ARCHCORE)opcode.h : opcode.h
1021 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1022 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1023$(ARCHCORE)opnames.h : opnames.h
1024 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1025 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1026$(ARCHCORE)patchlevel.h : patchlevel.h
1027 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1028 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1029$(ARCHCORE)perl.h : perl.h
1030 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1031 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8 1032$(ARCHCORE)perlapi.h : perlapi.h
1033 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1034 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1035$(ARCHCORE)perlio.h : perlio.h
3a385817 1036 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1037 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1038$(ARCHCORE)perlsdio.h : perlsdio.h
1039 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1040 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1041$(ARCHCORE)perlvars.h : perlvars.h
1042 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1043 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1044$(ARCHCORE)perly.h : perly.h
1045 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1046 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1047$(ARCHCORE)pp.h : pp.h
1048 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1049 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245 1050$(ARCHCORE)pp_proto.h : pp_proto.h
1051 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1052 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1053$(ARCHCORE)proto.h : proto.h
1054 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1055 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1056$(ARCHCORE)regcomp.h : regcomp.h
1057 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1058 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1059$(ARCHCORE)regexp.h : regexp.h
1060 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1061 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1062$(ARCHCORE)regnodes.h : regnodes.h
1063 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1064 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1065$(ARCHCORE)scope.h : scope.h
1066 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1067 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1068$(ARCHCORE)sv.h : sv.h
1069 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1070 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1071$(ARCHCORE)thrdvar.h : thrdvar.h
1072 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1073 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1074$(ARCHCORE)thread.h : thread.h
1075 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1076 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1077$(ARCHCORE)utf8.h : utf8.h
97abc6ad 1078 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1079 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1080$(ARCHCORE)util.h : util.h
3937c24e 1081 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1082 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1083$(ARCHCORE)vmsish.h : vmsish.h
1084 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1085 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1086$(ARCHCORE)warnings.h : warnings.h
cc391245 1087 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1088 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1089$(ARCHCORE)xsub.h : xsub.h
97abc6ad 1090 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1091 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 1092$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1093 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1094 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1095$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1096 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1097 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1098$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1099 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1100 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1101$(ARCHAUTO)time.stamp :
1102 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1103 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1104
1105.ifdef LINK_ONLY
1106.else
1107# We need an action line here for broken older versions of MMS which
1108# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817 1109#util$(O) : util.c
1110# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1111# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
b0d5070b 1112.ifdef SOCKET
787c52d8 1113$(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 1114 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0d5070b 1115.endif
787c52d8 1116av$(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 1117 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1118deb$(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 1119 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1120doio$(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 1121 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1122doop$(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 1123 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1124dump$(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 1125 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1126globals$(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 1127 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1128gv$(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 1129 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1130hv$(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 1131 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
cfbf4ea5 1132locale$(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
1133 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279 1134malloc$(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
1135 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1136mg$(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 1137 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1138miniperlmain$(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 1139 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
cfbf4ea5 1140numeric$(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
1141 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1142op$(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 1143 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1144perl$(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 1145 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279 1146perlapi$(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
1147 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1148perlio$(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 1149 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1150perlmain$(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 1151 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1152perly$(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 1153 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1154pp$(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 1155 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1156pp_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 1157 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1158pp_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 1159 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
a6ec74c1 1160pp_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 1161pp_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
787c52d8 1162pp_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 1163 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1164regcomp$(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 1165 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1166regexec$(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 1167 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1168run$(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 1169 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1170scope$(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 1171 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1172sv$(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 1173 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1174taint$(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 1175 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1176toke$(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 1177 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
acfe0abc 1178universal$(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 1179 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1180utf8$(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 1181 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1182util$(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 1183 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1184vms$(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 1185 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
acfe0abc 1186xsutils$(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 1187 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
3a385817 1188
b0d5070b 1189[.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 1190 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1191
b0d5070b 1192[.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 1193 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1194
b0d5070b 1195[.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 1196 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1197
b0d5070b 1198[.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 1199 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1200
97abc6ad 1201# End of automatically generated make dependencies
1202.endif # !LINK_ONLY
1203
1204vmsish.h : [.vms]vmsish.h
1205 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1206
1207vms.c : [.vms]vms.c
1208 Copy/Log/Noconfirm [.vms]vms.c []
1209
1210$(CRTL) : $(MAKEFILE)
9ef4b0a6 1211 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad 1212
1213
dfe814dc 1214ok : $(utils)
1215 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)"
1216
1217okfile : $(utils)
1218 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok
1219
1220nok : $(utils)
1221 @ write sys$output " "
1222 @ write sys$output " Please type the command:"
1223 @ write sys$output " "
1224 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"""
1225
1226nokfile : $(utils)
1227 @ write sys$output " "
1228 @ write sys$output " Please type the command:"
1229 @ write sys$output " "
1230 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok"
1231
1232
97abc6ad 1233cleanlis :
1234 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1235 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1236 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1237
59d8d783 1238cleantest :
1239 - If F$Search("[.t]Perl.").nes."" Then Delete/NoConfirm/Log [.t]Perl.;*
1240 - If F$Search("[.t]VMSPIPE.COM").nes."" Then Delete/NoConfirm/Log [.t]VMSPIPE.COM;*
1241 - If F$Search("[.t]Echo.exe").nes."" Then Delete/NoConfirm/Log [.t]Echo.exe;*
1242
97abc6ad 1243tidy : cleanlis
1244 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1245 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1246 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1247 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1248 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1249 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1250 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1251 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1252 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1253 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad 1254 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1255 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1256 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
97abc6ad 1257 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1258 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1259 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1260 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1261 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1262 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
25ea24bb 1263 - If F$Search("[.Lib]XSLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]XSLoader.pm
97abc6ad 1264 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1265 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1266 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1267 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1268 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1269 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1270 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1271 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1272 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1273 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1274 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1275 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1276
59d8d783 1277clean : tidy cleantest
a3bd614a 1278 - @make_ext "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad 1279 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1280 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad 1281 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1282 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1283 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
52a043e6 1284 - Copy [.vms]perly_c.vms []perly.c
97abc6ad 1285 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
52a043e6 1286 - Copy [.vms]perly_h.vms []perly.h
97abc6ad 1287 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1288 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1289 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
97abc6ad 1290 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1291 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1292 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1293 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
52a043e6 1294 - If F$Search("[.Ext.DynaLoader]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DynaLoader.pm;*
25ea24bb 1295 - If F$Search("[.Ext.DynaLoader]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]XSLoader.pm;*
97abc6ad 1296 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1297 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1298 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
414b89cc 1299 - @extra_pods CLEAN
97abc6ad 1300
cc391245 1301realclean : clean
a3bd614a 1302 - @make_ext "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad 1303 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1304 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d 1305 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1306 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
52a043e6 1307 - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
cc391245 1308 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
7558ebc2 1309 - If F$Search("make_ext.Com").nes."" Then Delete/NoConfirm/Log make_ext.Com;*
414b89cc 1310 - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;*
97abc6ad 1311 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
25ea24bb 1312 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
97abc6ad 1313 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
25ea24bb 1314 - If F$Search("[.Lib]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]XSLoader.pm;*
97abc6ad 1315 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1316 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
52a043e6 1317 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
97abc6ad 1318 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1319 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1320 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1321 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1322 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1323 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1324 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
cdf8b154 1325 - If F$Search("[.utils]perlivp.com").nes."" Then Delete/NoConfirm/Log [.utils]perlivp.com;*
97abc6ad 1326 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1327 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1328 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
52a043e6 1329 - If F$Search("[.vms]Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log [.vms]Perl_Setup.Com;*
dfe814dc 1330 - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;*
493ba88a 1331 - If F$Search("[.t.lib]vmsfspec.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsfspec.t;*
1332 - If F$Search("[.t.lib]vmsish.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsish.t;*
1333 - If F$Search("[.t.lib]vms_dclsym.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms_dclsym.t;*
1334 - If F$Search("[.t.lib]vms_stdio.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms_stdio.t;*
97abc6ad 1335
1336cleansrc : clean
1337 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1338 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1339 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1340 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1341 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1342 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1343 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1344 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1345 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1346 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs
12bc563b 1347!GROK!THIS!