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