This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PerlIO::scalar wasn't able to read from non-string
[perl5.git] / vms / descrip_mms.template
CommitLineData
97abc6ad
HM
1!GROK!THIS!
2# Descrip.MMS for perl5 on VMS
787c52d8 3# Last revised 01-Mar-2000 by Charles Bailey bailey@newman.upenn.edu
97abc6ad
HM
4#
5#: This file uses MMS syntax, and can be processed using DEC's MMS product,
6#: or the free MMK clone (available by ftp at ftp.spc.edu). If you want to
7#: a Unix-style MAKE tool, run this file through mms2make.pl, which should
b4bc034f 8#: be found in the same directory as this file.
97abc6ad
HM
9#:
10#: Lines beginning with "#:" will be removed by mms2make.pl when converting
11#: this file to MAKE syntax.
97abc6ad
HM
12#
13# tidy -- purge files generated by executing this file
14# clean -- remove all intermediate (e.g. object files, C files generated
15# during build) files generated by executing this file,
16# but leave `installable' files (images, library) intact
17# realclean -- remove all files generated by executing this file
18# cleansrc -- `realclean' + purge *.c,*.h,descrip.mms
19# crtl.opt -- compiler-specific linker options file (made automatically)
20#
21
22#### Start of system configuration section. ####
23
24~DECC~
7558ebc2 25~DECCXX~
97abc6ad
HM
26~GNUC~
27~ARCH-TYPE~ = 1
28~THREAD~
29~SOCKET~
429a5e67
DS
30~MALLOC~
31~CC~
32~MT~
498336ed 33~FLAGS~
97abc6ad
HM
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
HM
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
CB
63MALLOC_O = malloc$(O)
64MALLOC_C = malloc$(C)
429a5e67
DS
65.endif
66
97abc6ad
HM
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
HM
113XTRAOBJS =
114LIBS1 = GNU_CC:[000000]GCCLIB.OLB/Library
115LIBS2 = Sys$Share:VAXCRTL/Shareable
116POSIX =
117.else
118XTRAOBJS =
119LIBS1 = $(XTRAOBJS)
120DBGSPECFLAGS = /Show=All
97abc6ad
HM
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
HM
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
HM
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
PP
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
HM
140XTRADEF =
141POSIX = POSIX
97abc6ad
HM
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
HM
163SOCKLIB =
164.else
429a5e67 165SOCKDEF =
97abc6ad
HM
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
HM
175SOCKPM = [.lib]Socket.pm
176.else
177SOCKDEF =
178SOCKLIB =
179SOCKC =
180SOCKH =
b0d5070b 181SOCKARCH =
787c52d8 182SOCKO =
97abc6ad
HM
183SOCKPM =
184.endif
185
97abc6ad
HM
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
HM
197.endif
198.endif
199
200.ifdef FAKETHREADED
429a5e67 201THREADDEF =
97abc6ad
HM
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
GS
212# Flags for a core compile
213X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
214# Flags for an x2p compile
215CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
97abc6ad
HM
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
HM
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
HM
240EXT = $(MYEXT)
241extobj = $(myextobj)
97abc6ad 242
429a5e67
DS
243.ifdef LIBS2
244.else
245LIBS2=
246.endif
97abc6ad 247
9ef4b0a6
BH
248.ifdef THRLIBS1
249.else
250THRLIBS1=
251.endif
252
253.ifdef THRLIBS2
254.else
255THRLIBS2=
256.endif
257
258FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
259
97abc6ad
HM
260#### End of system configuration section. ####
261
a6ec74c1
JH
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
10bc17b6 264c2 = 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 265c3 = run.c scope.c sv.c taint.c toke.c universal.c utf8.c util.c vms.c xsutils.c
b0d5070b
CB
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)
10bc17b6 270obj2 = op$(O) perl$(O) perlapi$(O) perlio$(O) perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) reentr$(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
CB
273obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
274
787c52d8
CB
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
CB
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
CB
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
CB
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
PP
298.else
299ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h
300.endif
787c52d8
CB
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
HM
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
CB
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
14d70106 333utils4 = [.utils]enc2xs.com [.utils]piconv.com
97abc6ad
HM
334
335.ifdef NOX2P
336all : base extras archcorefiles preplibrary perlpods
dfe814dc
PP
337 @ write sys$output " "
338 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad
HM
339.else
340all : base extras x2p archcorefiles preplibrary perlpods
dfe814dc
PP
341 @ write sys$output " "
342 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad
HM
343.endif
344base : miniperl perl
345 @ $(NOOP)
414b89cc 346extras : dynext libmods utils podxform extra.pods
97abc6ad
HM
347 @ $(NOOP)
348libmods : $(LIBPREREQ)
349 @ $(NOOP)
14d70106 350utils : $(utils1) $(utils2) $(utils3) $(utils4)
97abc6ad 351 @ $(NOOP)
c93fa817 352podxform : [.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
HM
353 @ $(NOOP)
354x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
355 @ $(NOOP)
414b89cc
CB
356extra.pods : miniperl
357 @ @extra_pods.com
97abc6ad 358
787c52d8
CB
359pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod
360pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod
361pod2 = [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod [.lib.pod]perlcompile.pod
362pod3 = [.lib.pod]perldata.pod [.lib.pod]perldbmfilter.pod [.lib.pod]perldebug.pod
363pod4 = [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
364pod5 = [.lib.pod]perlembed.pod [.lib.pod]perlfaq.pod [.lib.pod]perlfaq1.pod
365pod6 = [.lib.pod]perlfaq2.pod [.lib.pod]perlfaq3.pod [.lib.pod]perlfaq4.pod
366pod7 = [.lib.pod]perlfaq5.pod [.lib.pod]perlfaq6.pod [.lib.pod]perlfaq7.pod
367pod8 = [.lib.pod]perlfaq8.pod [.lib.pod]perlfaq9.pod [.lib.pod]perlfilter.pod
368pod9 = [.lib.pod]perlfork.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod
369pod10 = [.lib.pod]perlguts.pod [.lib.pod]perlhack.pod [.lib.pod]perlhist.pod
370pod11 = [.lib.pod]perlintern.pod [.lib.pod]perlipc.pod [.lib.pod]perllexwarn.pod
371pod12 = [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod
372pod13 = [.lib.pod]perlmodinstall.pod [.lib.pod]perlmodlib.pod [.lib.pod]perlobj.pod
373pod14 = [.lib.pod]perlop.pod [.lib.pod]perlopentut.pod [.lib.pod]perlpod.pod
374pod15 = [.lib.pod]perlport.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod
375pod16 = [.lib.pod]perlreftut.pod [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod
376pod17 = [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
377pod18 = [.lib.pod]perlthrtut.pod [.lib.pod]perltie.pod [.lib.pod]perltoc.pod
afdf8da6 378pod19 = [.lib.pod]perltodo.pod [.lib.pod]perltoot.pod [.lib.pod]perltooc.pod
12bc563b 379pod20 = [.lib.pod]perltrap.pod [.lib.pod]perlunicode.pod [.lib.pod]perluniintro.pod [.lib.pod]perlvar.pod
787c52d8 380pod21 = [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod [.lib.pod]win32.pod [.lib.pod]perlvms.pod
a3bd614a
PP
381pod22 = [.lib.pod]perldebguts.pod [.lib.pod]perldebtut.pod [.lib.pod]perlebcdic.pod [.lib.pod]perliol.pod
382pod23 = [.lib.pod]perlnewmod.pod [.lib.pod]perlnumber.pod [.lib.pod]perlrequick.pod [.lib.pod]perlretut.pod [.lib.pod]perlutil.pod
383pod = $(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
CB
384
385perlpods : $(pod)
97abc6ad
HM
386 @ $(NOOP)
387
8f9bf0bf 388archcorefiles : $(ac) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
389 @ $(NOOP)
390
dfe814dc
PP
391[.lib]re.pm : [.ext.re]re.pm
392 copy/log $(MMS$SOURCE) $(MMS$TARGET)
393
93d6612c 394vmspipe.com : [.vms]vmspipe.com
dfe814dc 395 copy/log $(MMS$SOURCE) $(MMS$TARGET)
93d6612c
CB
396
397miniperl : $(DBG)miniperl$(E) vmspipe.com
97abc6ad
HM
398 @ Continue
399$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
400 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
401$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
402 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
403
404$(DBG)libperl$(OLB) : $(obj)
405 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
8f9bf0bf 406 Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
97abc6ad
HM
407
408perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
409 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
410
97abc6ad
HM
411.ifdef __DEBUG__
412# Link an extra perl that doesn't invoke the debugger
1f052492 413perl : $(DBG)perl$(E)
97abc6ad 414 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 415.else
1f052492 416perl : $(DBG)perl$(E)
97abc6ad
HM
417 @ Continue
418.endif
419
420$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
421 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
422.ifdef MT
423 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
424.else
97abc6ad 425 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 426.endif
97abc6ad 427
97abc6ad
HM
428$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
429 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
430
431# The following files are built in one go by gen_shrfls.pl:
432# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
433# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
8f9bf0bf 434# The song and dance with gen_shrfls.opt accommodates DCL's 255 character
97abc6ad
HM
435# line length limit.
436.ifdef PIPES_BROKEN
437# This is a backup target used only with older versions of the DECCRTL which
438# can't deal with pipes properly. See ReadMe.VMS for details.
439$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
440 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
441 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
442 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
443 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
444 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
445 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
446 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
447.else
448$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
449 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
450 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
451 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
452 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
453 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
454 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
455.endif
456
457$(ARCHDIR)config.pm : [.lib]config.pm
458 Create/Directory $(ARCHDIR)
459 Copy $(MMS$SOURCE) $(MMS$TARGET)
460
cc391245 461[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad
HM
462 $(MINIPERL) ConfigPM.
463
93d6612c
CB
464$(ARCHDIR)vmspipe.com : vmspipe.com
465 Copy $(MMS$SOURCE) $(MMS$TARGET)
466
429a5e67 467[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
468 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
469
470[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
471 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
472
473[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
474 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
475 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
476 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
477
25ea24bb
GS
478[.lib]XSLoader.pm : [.ext.dynaloader]xsloader.pm
479 Copy/Log/NoConfirm [.ext.dynaloader]xsloader.pm [.lib]XSLoader.pm
480 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
481 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]XSLoader.pm
482
429a5e67 483[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
484 $(MINIPERL) $(MMS$SOURCE)
485 @ Rename/Log dynaloader.pm [.ext.dynaloader]
486
25ea24bb
GS
487[.ext.dynaloader]xsloader.pm : [.ext.dynaloader]xsloader_pm.pl
488 $(MINIPERL) $(MMS$SOURCE)
489 @ Rename/Log xsloader.pm [.ext.dynaloader]
490
bd2a5e79 491dynext : $(LIBPREREQ) $(DBG)perlshr$(E) preplibrary
6796b73c 492 @make_ext "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad 493
5723c3d7
JH
494[.lib]lib.pm : [.lib]lib_pm.PL
495 $(MINIPERL) $(MMS$SOURCE)
496
97abc6ad
HM
497[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
498 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
499 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
500
501[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
502 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
503 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
504
505[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
506 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
507 $(MINIPERL) $(MMS$SOURCE)
508 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
509
510[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
511 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
512
cdf8b154
PK
513[.utils]perlivp.com : [.utils]perlivp.PL $(ARCHDIR)Config.pm
514 $(MINIPERL) $(MMS$SOURCE)
515
97abc6ad
HM
516[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
517 $(MINIPERL) $(MMS$SOURCE)
518
95667ae4
GS
519[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
520 $(MINIPERL) $(MMS$SOURCE)
521
14d70106
CB
522[.utils]enc2xs.com : [.utils]enc2xs.PL $(ARCHDIR)Config.pm
523 $(MINIPERL) $(MMS$SOURCE)
524
97abc6ad
HM
525[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
526 $(MINIPERL) $(MMS$SOURCE)
527
528[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
529 $(MINIPERL) $(MMS$SOURCE)
530
5fa137f1
CB
531[.utils]libnetcfg.com : [.utils]libnetcfg.PL $(ARCHDIR)Config.pm
532 $(MINIPERL) $(MMS$SOURCE)
533
97abc6ad
HM
534[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
535 $(MINIPERL) $(MMS$SOURCE)
536 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
537
be46aa5a
HM
538[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
539 $(MINIPERL) $(MMS$SOURCE)
540 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
541
14d70106
CB
542[.utils]piconv.com : [.utils]piconv.PL $(ARCHDIR)Config.pm
543 $(MINIPERL) $(MMS$SOURCE)
544
97abc6ad
HM
545[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
546 $(MINIPERL) $(MMS$SOURCE)
547
548[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
549 $(MINIPERL) $(MMS$SOURCE)
550 Copy/Log [.utils]splain.com $(MMS$TARGET)
551
552[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
553 $(MINIPERL) $(MMS$SOURCE)
554
555[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
556 $(MINIPERL) $(MMS$SOURCE)
557
5fa137f1
CB
558[.lib.ExtUtils]xsubpp.com : [.lib.ExtUtils]xsubpp
559 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
560
97abc6ad
HM
561# Rename catches problem with some DECC versions in which object file is
562# placed in current default dir, not same one as source file.
563[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
564 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
565 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
566
8f9bf0bf 567# Accommodate buggy cpp in some version of DECC, which chokes on illegal
97abc6ad
HM
568# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
569# search in same dir as source file
b0d5070b 570[.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 571 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 572 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
573 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
574
575# gcc cpp broken -- doesn't look in directory of source file for #include ""
576.ifdef GNUC
577[.x2p]hash$(O) : [.x2p]hash.c
3a385817 578 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
579
580[.x2p]str$(O) : [.x2p]str.c
3a385817 581 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
582
583[.x2p]util$(O) : [.x2p]util.c
3a385817 584 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
585
586[.x2p]walk$(O) : [.x2p]walk.c
3a385817 587 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
588.endif
589
590[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
591 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
592 $(MINIPERL) $(MMS$SOURCE)
593 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
594
595[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
596 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
597 $(MINIPERL) $(MMS$SOURCE)
598 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
599
600[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
601 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
602 $(MINIPERL) $(MMS$SOURCE)
603 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
604
605[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
606 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
607 $(MINIPERL) $(MMS$SOURCE)
608 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
609
b4bc034f
GS
610[.lib.pod]podchecker.com : [.pod]podchecker.PL $(ARCHDIR)Config.pm
611 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
612 $(MINIPERL) $(MMS$SOURCE)
613 Copy/Log [.pod]podchecker.com $(MMS$TARGET)
614
c93fa817
GS
615[.lib.pod]pod2usage.com : [.pod]pod2usage.PL $(ARCHDIR)Config.pm
616 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
617 $(MINIPERL) $(MMS$SOURCE)
618 Copy/Log [.pod]pod2usage.com $(MMS$TARGET)
619
620[.lib.pod]podselect.com : [.pod]podselect.PL $(ARCHDIR)Config.pm
621 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
622 $(MINIPERL) $(MMS$SOURCE)
623 Copy/Log [.pod]podselect.com $(MMS$TARGET)
624
9b5878df 625preplibrary : $(MINIPERL_EXE) $(LIBPREREQ)
97abc6ad
HM
626 @ Write Sys$Output "Autosplitting Perl library . . ."
627 @ Create/Directory [.lib.auto]
628 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
629
630[.lib.pod]perl.pod : [.pod]perl.pod
631 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 632 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
633[.lib.pod]perl5004delta.pod : [.pod]perl5004delta.pod
634 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 635 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
636[.lib.pod]perl5005delta.pod : [.pod]perl5005delta.pod
637 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 638 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
639[.lib.pod]perlapi.pod : [.pod]perlapi.pod
640 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 641 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
642[.lib.pod]perlapio.pod : [.pod]perlapio.pod
643 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 644 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
645[.lib.pod]perlbook.pod : [.pod]perlbook.pod
646 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 647 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
648[.lib.pod]perlbot.pod : [.pod]perlbot.pod
649 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 650 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
651[.lib.pod]perlcall.pod : [.pod]perlcall.pod
652 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 653 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
654[.lib.pod]perlcompile.pod : [.pod]perlcompile.pod
655 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 656 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
657[.lib.pod]perldata.pod : [.pod]perldata.pod
658 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 659 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
660[.lib.pod]perldbmfilter.pod : [.pod]perldbmfilter.pod
661 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 662 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
663[.lib.pod]perldebug.pod : [.pod]perldebug.pod
664 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 665 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
666[.lib.pod]perldebguts.pod : [.pod]perldebguts.pod
667 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
668 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
669[.lib.pod]perldebtut.pod : [.pod]perldebtut.pod
670 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
671 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
672[.lib.pod]perldelta.pod : [.pod]perldelta.pod
673 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 674 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
675[.lib.pod]perldiag.pod : [.pod]perldiag.pod
676 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 677 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
678[.lib.pod]perldsc.pod : [.pod]perldsc.pod
679 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 680 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
681[.lib.pod]perlebcdic.pod : [.pod]perlebcdic.pod
682 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
683 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
684[.lib.pod]perlembed.pod : [.pod]perlembed.pod
685 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 686 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
687[.lib.pod]perlfaq.pod : [.pod]perlfaq.pod
688 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 689 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
690[.lib.pod]perlfaq1.pod : [.pod]perlfaq1.pod
691 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 692 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
693[.lib.pod]perlfaq2.pod : [.pod]perlfaq2.pod
694 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 695 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
696[.lib.pod]perlfaq3.pod : [.pod]perlfaq3.pod
697 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 698 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
699[.lib.pod]perlfaq4.pod : [.pod]perlfaq4.pod
700 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 701 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
702[.lib.pod]perlfaq5.pod : [.pod]perlfaq5.pod
703 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 704 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
705[.lib.pod]perlfaq6.pod : [.pod]perlfaq6.pod
706 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 707 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
708[.lib.pod]perlfaq7.pod : [.pod]perlfaq7.pod
709 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 710 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
711[.lib.pod]perlfaq8.pod : [.pod]perlfaq8.pod
712 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 713 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
714[.lib.pod]perlfaq9.pod : [.pod]perlfaq9.pod
715 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 716 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
717[.lib.pod]perlfilter.pod : [.pod]perlfilter.pod
718 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 719 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
720[.lib.pod]perlfork.pod : [.pod]perlfork.pod
721 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 722 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
723[.lib.pod]perlform.pod : [.pod]perlform.pod
724 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 725 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
726[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
727 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 728 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
729[.lib.pod]perlguts.pod : [.pod]perlguts.pod
730 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 731 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
732[.lib.pod]perlhack.pod : [.pod]perlhack.pod
733 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 734 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
735[.lib.pod]perlhist.pod : [.pod]perlhist.pod
736 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 737 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 738[.lib.pod]perlintern.pod : [.pod]perlintern.pod
97abc6ad 739 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 740 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
741[.lib.pod]perliol.pod : [.pod]perliol.pod
742 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
743 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
744[.lib.pod]perlipc.pod : [.pod]perlipc.pod
745 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 746 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
747[.lib.pod]perllexwarn.pod : [.pod]perllexwarn.pod
748 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 749 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
750[.lib.pod]perllocale.pod : [.pod]perllocale.pod
751 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 752 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
753[.lib.pod]perllol.pod : [.pod]perllol.pod
754 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 755 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
756[.lib.pod]perlmod.pod : [.pod]perlmod.pod
757 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 758 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
759[.lib.pod]perlmodinstall.pod : [.pod]perlmodinstall.pod
760 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 761 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
762[.lib.pod]perlmodlib.pod : [.pod]perlmodlib.pod
763 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 764 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
765[.lib.pod]perlnewmod.pod : [.pod]perlnewmod.pod
766 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
767 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
768[.lib.pod]perlnumber.pod : [.pod]perlnumber.pod
769 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
770 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
771[.lib.pod]perlobj.pod : [.pod]perlobj.pod
772 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 773 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
774[.lib.pod]perlop.pod : [.pod]perlop.pod
775 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 776 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
777[.lib.pod]perlopentut.pod : [.pod]perlopentut.pod
778 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 779 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
780[.lib.pod]perlpod.pod : [.pod]perlpod.pod
781 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 782 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
783[.lib.pod]perlport.pod : [.pod]perlport.pod
784 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 785 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
786[.lib.pod]perlre.pod : [.pod]perlre.pod
787 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 788 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
789[.lib.pod]perlref.pod : [.pod]perlref.pod
790 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 791 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
792[.lib.pod]perlreftut.pod : [.pod]perlreftut.pod
793 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 794 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
795[.lib.pod]perlrequick.pod : [.pod]perlrequick.pod
796 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
797 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
798[.lib.pod]perlretut.pod : [.pod]perlretut.pod
799 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
800 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
801[.lib.pod]perlrun.pod : [.pod]perlrun.pod
802 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 803 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
804[.lib.pod]perlsec.pod : [.pod]perlsec.pod
805 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 806 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
807[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
808 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 809 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
810[.lib.pod]perlsub.pod : [.pod]perlsub.pod
811 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 812 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
813[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
814 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 815 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
816[.lib.pod]perlthrtut.pod : [.pod]perlthrtut.pod
817 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 818 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
819[.lib.pod]perltie.pod : [.pod]perltie.pod
820 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 821 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
822[.lib.pod]perltoc.pod : [.pod]perltoc.pod
823 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 824 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
825[.lib.pod]perltodo.pod : [.pod]perltodo.pod
826 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 827 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
828[.lib.pod]perltoot.pod : [.pod]perltoot.pod
829 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 830 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
afdf8da6 831[.lib.pod]perltooc.pod : [.pod]perltooc.pod
3937c24e 832 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 833 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
834[.lib.pod]perltrap.pod : [.pod]perltrap.pod
835 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 836 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
5af06f0d
DS
837[.lib.pod]perlunicode.pod : [.pod]perlunicode.pod
838 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 839 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
12bc563b
PP
840[.lib.pod]perluniintro.pod : [.pod]perluniintro.pod
841 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
842 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
a3bd614a
PP
843[.lib.pod]perlutil.pod : [.pod]perlutil.pod
844 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
845 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
846[.lib.pod]perlvar.pod : [.pod]perlvar.pod
847 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
848 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
849[.lib.pod]perlxs.pod : [.pod]perlxs.pod
850 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 851 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
852[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
853 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 854 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
94d4630c 855[.lib.pod]win32.pod : [.lib]win32.pod
787c52d8
CB
856 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
857 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
858[.lib.pod]perlvms.pod : [.vms]perlvms.pod
859 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 860 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 861
c645ec3f
GS
862install.html : $(perlpods)
863 @ @perl_setup.com
864 @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html]
865 $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose"
b4bc034f 866
97abc6ad
HM
867printconfig :
868 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 869 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
870
871.ifdef SOCKET
872
97abc6ad
HM
873vmsish.h : $(SOCKH)
874
787c52d8 875$(SOCKO) : $(SOCKC) EXTERN.h perl.h config.h embed.h perlsdio.h handy.h vmsish.h regexp.h sv.h util.h form.h gv.h cv.h opcode.h opnames.h op.h cop.h av.h hv.h mg.h scope.h perly.h thread.h pp.h proto.h embedvar.h perlvars.h thrdvar.h intrpvar.h perlio.h
97abc6ad
HM
876
877$(SOCKC) : [.vms]$(SOCKC)
878 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
879
880$(SOCKH) : [.vms]$(SOCKH)
881 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
882
97abc6ad
HM
883.endif
884
424a8fe9
CB
885# The following files are generated automatically
886# keywords.h: keywords.pl
887# opcode.h: opcode.pl
888# opnames.h: opcode.pl
889# pp_proto.h: opcode.pl
890# pp.sym: opcode.pl
891# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
892# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
893# ext/ByteLoader/byterun.h: bytecode.pl
894# ext/ByteLoader/byterun.c: bytecode.pl
895# ext/B/Asmdata.pm: bytecode.pl
896# global.sym: embed.pl
897# regnodes.h: regcomp.pl
898# warnings.h lib/warnings.pm: warnings.pl
97abc6ad
HM
899# The correct versions should be already supplied with the perl kit,
900# in case you don't have perl available.
901# To force them to run, type
902# MMS regen_headers
903regen_headers :
904 $(INSTPERL) keywords.pl
905 $(INSTPERL) opcode.pl
906 $(INSTPERL) embed.pl
cc391245
CB
907 $(INSTPERL) bytecode.pl
908 $(INSTPERL) regcomp.pl
424a8fe9 909 $(INSTPERL) warnings.pl
97abc6ad
HM
910
911# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
912perly.c : [.vms]perly_c.vms
913 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
914perly.h : [.vms]perly_h.vms
915 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
916
97abc6ad
HM
917.ifdef LINK_ONLY
918.else
787c52d8 919perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
920.endif
921
922[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
923 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
924
493ba88a
PP
925[.t.lib]vms_dclsym.t : [.vms.ext.DCLsym]test.pl
926 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
927
928[.t.lib]vms_stdio.t : [.vms.ext.Stdio]test.pl
929 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
930
7558ebc2
PP
931check : test
932 @ Continue
933
9f84c005 934test : all [.t.lib]vmsfspec.t [.t.lib]vms_dclsym.t [.t.lib]vms_stdio.t
3eeba6fb 935 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
dfe814dc 936 @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests.
97abc6ad 937
3a385817
GS
938# install ought not need a source, but it doesn't work if one's not
939# there. Go figure...
940install : $(MINIPERL_EXE)
c645ec3f 941 @ @perl_setup.com
29637182 942 If F$TrnLnm("Sys") .nes. "" Then Deass SYS
97abc6ad
HM
943 $(MINIPERL) installperl
944
945archify : all
946 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
947 archroot = "$(ARCHAUTO)" - "]" + "...]"
948 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
949 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
950 Delete/Log/NoConfirm [.lib]Config.pm;*
951 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
952 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
953 @ Write Sys$Output "Architecture-specific setup completed."
954 @ Write Sys$Output "Before building for another architecture, be sure to"
955 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
956 @ Write Sys$Output " 2. Delete Miniperl$(E)"
957
958# CORE subset for MakeMaker, so we can build Perl without sources
959# Should move to VMS installperl when we get one
b0d5070b 960.ifdef SOCKET
787c52d8 961$(SOCKARCH) : $(SOCKH)
9b5878df
CB
962 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
963 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
964.endif
965$(ARCHCORE)av.h : av.h
97abc6ad
HM
966 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
967 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 968$(ARCHCORE)cc_runtime.h : cc_runtime.h
97abc6ad
HM
969 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
970 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
971$(ARCHCORE)config.h : config.h
972 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
973 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
974$(ARCHCORE)cop.h : cop.h
975 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
976 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
977$(ARCHCORE)cv.h : cv.h
978 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
979 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
980$(ARCHCORE)embed.h : embed.h
981 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
982 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
983$(ARCHCORE)embedvar.h : embedvar.h
984 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
985 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
986$(ARCHCORE)extern.h : extern.h
987 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
988 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
989.ifdef FAKETHREADED
990$(ARCHCORE)fakethr.h : fakethr.h
991 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
992 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
993.endif
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)
b0d5070b
CB
1006$(ARCHCORE)intern.h : intern.h
1007 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1008 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
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
CB
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
HM
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
CB
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
HM
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
CB
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
HM
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
CB
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
GS
1043 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1044 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
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)
97abc6ad
HM
1048$(ARCHCORE)perlvars.h : perlvars.h
1049 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1050 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1051$(ARCHCORE)perly.h : perly.h
1052 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1053 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1054$(ARCHCORE)pp.h : pp.h
1055 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1056 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
1057$(ARCHCORE)pp_proto.h : pp_proto.h
1058 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1059 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1060$(ARCHCORE)proto.h : proto.h
1061 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1062 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1063$(ARCHCORE)regcomp.h : regcomp.h
1064 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1065 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1066$(ARCHCORE)regexp.h : regexp.h
1067 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1068 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
1069$(ARCHCORE)regnodes.h : regnodes.h
1070 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1071 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1072$(ARCHCORE)scope.h : scope.h
1073 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1074 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1075$(ARCHCORE)sv.h : sv.h
1076 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1077 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1078$(ARCHCORE)thrdvar.h : thrdvar.h
1079 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1080 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1081$(ARCHCORE)thread.h : thread.h
1082 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1083 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1084$(ARCHCORE)utf8.h : utf8.h
97abc6ad
HM
1085 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1086 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1087$(ARCHCORE)util.h : util.h
3937c24e
HM
1088 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1089 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1090$(ARCHCORE)vmsish.h : vmsish.h
1091 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1092 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1093$(ARCHCORE)warnings.h : warnings.h
cc391245
CB
1094 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1095 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1096$(ARCHCORE)xsub.h : xsub.h
97abc6ad
HM
1097 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1098 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1099$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1100 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1101 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1102$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1103 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1104 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1105$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1106 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1107 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1108$(ARCHAUTO)time.stamp :
1109 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1110 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1111
1112.ifdef LINK_ONLY
1113.else
1114# We need an action line here for broken older versions of MMS which
1115# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
1116#util$(O) : util.c
1117# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1118# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
b0d5070b 1119.ifdef SOCKET
787c52d8 1120$(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 1121 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0d5070b 1122.endif
787c52d8 1123av$(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 1124 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1125deb$(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 1126 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1127doio$(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 1128 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1129doop$(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 1130 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1131dump$(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 1132 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1133globals$(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 1134 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1135gv$(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 1136 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1137hv$(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 1138 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
cfbf4ea5
CB
1139locale$(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
1140 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1141malloc$(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
1142 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1143mg$(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 1144 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1145miniperlmain$(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 1146 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
cfbf4ea5
CB
1147numeric$(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
1148 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1149op$(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 1150 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1151perl$(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 1152 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1153perlapi$(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
1154 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1155perlio$(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 1156 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1157perlmain$(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 1158 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1159perly$(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 1160 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1161pp$(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 1162 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1163pp_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 1164 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1165pp_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 1166 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
a6ec74c1 1167pp_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 1168pp_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 1169pp_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 1170 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
10bc17b6 1171reentr(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 1172regcomp$(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 1173 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1174regexec$(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 1175 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1176run$(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 1177 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1178scope$(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 1179 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1180sv$(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 1181 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1182taint$(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 1183 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1184toke$(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 1185 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
acfe0abc 1186universal$(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 1187 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1188utf8$(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 1189 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1190util$(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 1191 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1192vms$(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 1193 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
acfe0abc 1194xsutils$(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 1195 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
3a385817 1196
b0d5070b 1197[.x2p]hash$(O) : [.x2p]hash.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1198 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1199
b0d5070b 1200[.x2p]str$(O) : [.x2p]str.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1201 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1202
b0d5070b 1203[.x2p]util$(O) : [.x2p]util.c [.x2p]EXTERN.h [.x2p]INTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1204 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1205
b0d5070b 1206[.x2p]walk$(O) : [.x2p]walk.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1207 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1208
97abc6ad
HM
1209# End of automatically generated make dependencies
1210.endif # !LINK_ONLY
1211
1212vmsish.h : [.vms]vmsish.h
1213 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1214
1215vms.c : [.vms]vms.c
1216 Copy/Log/Noconfirm [.vms]vms.c []
1217
1218$(CRTL) : $(MAKEFILE)
9ef4b0a6 1219 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1220
1221
dfe814dc
PP
1222ok : $(utils)
1223 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)"
1224
1225okfile : $(utils)
1226 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok
1227
1228nok : $(utils)
1229 @ write sys$output " "
1230 @ write sys$output " Please type the command:"
1231 @ write sys$output " "
1232 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"""
1233
1234nokfile : $(utils)
1235 @ write sys$output " "
1236 @ write sys$output " Please type the command:"
1237 @ write sys$output " "
1238 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok"
1239
1240
97abc6ad
HM
1241cleanlis :
1242 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1243 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1244 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1245
59d8d783
CL
1246cleantest :
1247 - If F$Search("[.t]Perl.").nes."" Then Delete/NoConfirm/Log [.t]Perl.;*
1248 - If F$Search("[.t]VMSPIPE.COM").nes."" Then Delete/NoConfirm/Log [.t]VMSPIPE.COM;*
1249 - If F$Search("[.t]Echo.exe").nes."" Then Delete/NoConfirm/Log [.t]Echo.exe;*
1250
97abc6ad
HM
1251tidy : cleanlis
1252 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1253 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1254 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1255 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1256 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1257 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1258 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1259 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1260 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1261 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad
HM
1262 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1263 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1264 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
97abc6ad
HM
1265 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1266 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1267 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1268 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1269 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1270 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
25ea24bb 1271 - If F$Search("[.Lib]XSLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]XSLoader.pm
97abc6ad
HM
1272 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1273 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1274 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1275 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1276 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1277 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1278 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1279 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1280 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1281 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1282 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1283 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1284
59d8d783 1285clean : tidy cleantest
a3bd614a 1286 - @make_ext "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad
HM
1287 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1288 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1289 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1290 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1291 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
52a043e6 1292 - Copy [.vms]perly_c.vms []perly.c
97abc6ad 1293 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
52a043e6 1294 - Copy [.vms]perly_h.vms []perly.h
97abc6ad
HM
1295 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1296 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1297 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
97abc6ad
HM
1298 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1299 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1300 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1301 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
52a043e6 1302 - If F$Search("[.Ext.DynaLoader]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DynaLoader.pm;*
25ea24bb 1303 - If F$Search("[.Ext.DynaLoader]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]XSLoader.pm;*
97abc6ad
HM
1304 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1305 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1306 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
414b89cc 1307 - @extra_pods CLEAN
97abc6ad 1308
cc391245 1309realclean : clean
a3bd614a 1310 - @make_ext "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad
HM
1311 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1312 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1313 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1314 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
52a043e6 1315 - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
cc391245 1316 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
7558ebc2 1317 - If F$Search("make_ext.Com").nes."" Then Delete/NoConfirm/Log make_ext.Com;*
414b89cc 1318 - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;*
97abc6ad 1319 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
25ea24bb 1320 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
97abc6ad 1321 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
25ea24bb 1322 - If F$Search("[.Lib]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]XSLoader.pm;*
97abc6ad
HM
1323 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1324 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
52a043e6 1325 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
97abc6ad
HM
1326 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1327 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1328 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1329 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1330 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1331 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1332 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
cdf8b154 1333 - If F$Search("[.utils]perlivp.com").nes."" Then Delete/NoConfirm/Log [.utils]perlivp.com;*
97abc6ad
HM
1334 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1335 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1336 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
52a043e6 1337 - If F$Search("[.vms]Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log [.vms]Perl_Setup.Com;*
dfe814dc 1338 - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;*
493ba88a
PP
1339 - If F$Search("[.t.lib]vmsfspec.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsfspec.t;*
1340 - If F$Search("[.t.lib]vmsish.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsish.t;*
1341 - If F$Search("[.t.lib]vms_dclsym.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms_dclsym.t;*
1342 - If F$Search("[.t.lib]vms_stdio.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms_stdio.t;*
97abc6ad
HM
1343
1344cleansrc : clean
1345 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1346 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1347 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1348 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1349 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1350 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1351 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1352 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1353 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1354 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs
12bc563b 1355!GROK!THIS!