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