This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tweaks to VMS configuration procedure
[perl5.git] / vms / descrip_mms.template
CommitLineData
97abc6ad
HM
1!GROK!THIS!
2# Descrip.MMS for perl5 on VMS
3# Last revised 27-Feb-1998 by Charles Bailey bailey@genetics.upenn.edu
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
8#: be found in the same directory as this file. (There should be a pre-made
9#: copy of Makefile for VAXC in this directory to allow you to build perl.)
10#:
11#: Lines beginning with "#:" will be removed by mms2make.pl when converting
12#: this file to MAKE syntax.
97abc6ad
HM
13#
14# tidy -- purge files generated by executing this file
15# clean -- remove all intermediate (e.g. object files, C files generated
16# during build) files generated by executing this file,
17# but leave `installable' files (images, library) intact
18# realclean -- remove all files generated by executing this file
19# cleansrc -- `realclean' + purge *.c,*.h,descrip.mms
20# crtl.opt -- compiler-specific linker options file (made automatically)
21#
22
23#### Start of system configuration section. ####
24
25~DECC~
26~GNUC~
27~ARCH-TYPE~ = 1
28~THREAD~
29~SOCKET~
429a5e67
DS
30~MALLOC~
31~CC~
32~MT~
97abc6ad
HM
33
34#: >>>>> Architecture-specific options <<<<<
35.ifdef AXE
36# File type to use for object files
37O = .abj
38# File type to use for object libraries
39OLB = .alb
40# File type to use for executable images
41E = .axe
42.else
43# File type to use for object files
44O = .obj
45# File type to use for object libraries
46OLB = .olb
47# File type to use for executable images
48E = .exe
49.endif
50
51.ifdef __AXP__
97abc6ad
HM
52ARCH = VMS_AXP
53OBJVAL = $(O)
54.else
55ARCH = VMS_VAX
56OBJVAL = $(MMS$TARGET_NAME)$(O)
57.endif
58
97abc6ad
HM
59PERL_VERSION = 5_00$PATCHLEVEL$SUBVERSION
60
429a5e67
DS
61.ifdef MALLOC
62MALLOC_O = ,malloc$(O)
63MALLOC_C = ,malloc$(C)
64.endif
65
97abc6ad
HM
66.ifdef DECC_SOCKETS
67SOCKET=1
68.endif
69
70.ifdef SOCKETSHR_SOCKETS
71SOCKET=1
72.endif
73
74# If they defined SOCKET but didn't choose a stack, default to SOCKETSHR
75.ifdef DECC_SOCKETS
76.else
77.ifdef SOCKETSHR_SOCKETS
78.else
79.ifdef SOCKET
80SOCKETSHR_SOCKETS=1
81.endif
82.endif
83.endif
84
85
86ARCHDIR = [.lib.$(ARCH).$(PERL_VERSION)]
87ARCHCORE = [.lib.$(ARCH).$(PERL_VERSION).CORE]
88ARCHAUTO = [.lib.$(ARCH).$(PERL_VERSION).auto]
89
90
91#: Backwards compatibility
92.ifdef DECC_PIPES_BROKEN
93PIPES_BROKEN = 1
94.endif
95
96.ifdef __DEBUG__
97NOX2P = 1
98.endif
99
100#: >>>>>Compiler-specific options <<<<<
101.ifdef GNUC
102.first
103 @ If F$TrnLnm("Sys").eqs."" Then Define/NoLog SYS GNU_CC_Include:[VMS]
104CC = gcc
105PIPES_BROKEN = 1
106# -fno-builtin avoids bug in gcc up to version 2.6.2 which can destroy
107# data when memcpy() is called on large (>64 kB) blocks of memory
108# (fixed in gcc 2.6.3)
109XTRACCFLAGS = /Obj=$(MMS$TARGET_NAME)$(O)/NoCase_Hack/Optimize=2
110DBGSPECFLAGS =
429a5e67 111XTRADEF =
97abc6ad
HM
112XTRAOBJS =
113LIBS1 = GNU_CC:[000000]GCCLIB.OLB/Library
114LIBS2 = Sys$Share:VAXCRTL/Shareable
115POSIX =
116.else
117XTRAOBJS =
118LIBS1 = $(XTRAOBJS)
119DBGSPECFLAGS = /Show=All
120.ifdef decc
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
127 @ Set Process/Privilege=(NoSYSNAM)
128 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include
129.ifdef __AXP__
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
97abc6ad
HM
135XTRACCFLAGS = /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=$(OBJVAL)
136XTRADEF =
137POSIX = POSIX
138.else # VAXC
139.first
140 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("VAXC$Include").eqs."" Then Define/NoLog SYS Sys$Library
141 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("VAXC$Include").nes."" Then Define/NoLog SYS VAXC$Include
142
143XTRACCFLAGS = /Include=[]/Object=$(O)
144XTRADEF =
145LIBS2 = Sys$Share:VAXCRTL/Shareable
146POSIX =
147.endif
148.endif
149
150
151#: >>>>> Configuration options <<<<<
152#: __DEBUG__: builds images with full VMS debugger support
153.ifdef __DEBUG__
154DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS)
155DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross
156DBG = DBG
157.else
158DBGCCFLAGS = /NoList
159DBGLINKFLAGS = /NoTrace/NoMap
160DBG =
161.endif
162
163#: SOCKET: build in support for TCP/IP sockets
164#: By default, used SOCKETSHR library; see ReadMe.VMS
165#: for information on changing socket support
166.ifdef SOCKET
167.ifdef DECC_SOCKETS
429a5e67 168SOCKDEF =
97abc6ad
HM
169SOCKLIB =
170.else
429a5e67 171SOCKDEF =
97abc6ad
HM
172SOCKLIB = SocketShr/Share
173.endif
174# N.B. the targets for $(SOCKC) and $(SOCKH) assume that the permanent
175# copies live in [.vms], and the `clean' target will delete copies of
176# these files in the current default directory.
177SOCKC = sockadapt.c
178SOCKH = sockadapt.h
179SOCKCLIS = ,$(SOCKC)
180SOCKHLIS = ,$(SOCKH)
181SOCKOBJ = ,sockadapt$(O)
182SOCKPM = [.lib]Socket.pm
183.else
184SOCKDEF =
185SOCKLIB =
186SOCKC =
187SOCKH =
188SOCKCLIS =
189SOCKHLIS =
190SOCKOBJ =
191SOCKPM =
192.endif
193
97abc6ad
HM
194.ifdef THREADED
195THREADDEF =
196THREAD = THREAD
197.endif
198
199.ifdef OLDTHREADED
429a5e67 200THREADDEF =
97abc6ad 201THREAD = THREAD
429a5e67
DS
202.ifdef LIBS2
203LIBS2 = $(LIBS2),sys$share:cma$lib_shr/share,cma$rtl/share
204.else
97abc6ad 205LIBS2 = sys$share:cma$lib_shr/share,cma$rtl/share
429a5e67 206.endif
97abc6ad
HM
207.ifdef __AXP__
208LIBS2 = $(LIBS2),sys$share:cma$open_lib_shr/share,cma$open_rtl/share
209.endif
210.endif
211
212.ifdef FAKETHREADED
429a5e67 213THREADDEF =
97abc6ad
HM
214THREADH = fakethr.h
215acth = $(ARCHCORE)fakethr.h
216THREAD = THREAD
217.else
218THREADH =
219acth =
220.endif
221
222# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
429a5e67 223CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)
97abc6ad
HM
224LINKFLAGS = $(DBGLINKFLAGS)
225
226MAKE = $(MMS)
227MAKEFILE = Descrip.MMS # this file
228NOOP = continue
229
230# Macros to invoke a copy of miniperl during the build. Targets which
231# are built using these macros should depend on $(MINIPERL_EXE)
232MINIPERL_EXE = Sys$Disk:[]miniperl$(E)
233MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]"
234XSUBPP = $(MINIPERL) [.lib.extutils]xsubpp -noprototypes
235# Macro to invoke a preexisting copy of Perl. This is used to regenerate
236# some header files when rebuilding Perl, but premade versions are provided
237# in the distribution, so it's OK if this doesn't work; it's here to make
238# life easier for those who modify Perl and rebuild it.
239INSTPERL = perl
240
241# Space-separated list of "static" extensions to build into perlshr (case counts).
242MYEXT = DynaLoader
243# object files for these extensions; the trailing comma is required if
244# there are any object files specified
245# These must be built separately, or you must add rules below to build them
246myextobj = [.ext.dynaloader]dl_vms$(O),
247#: We include the Socket extension by default if we're building with socket
248#: support, since it's small and not really worth bothering to keep track
249#: of separately.
250.ifdef SOCKET
251EXT = $(MYEXT) Socket
252extobj = $(myextobj) [.ext.socket]socket$(O),
253.else
254EXT = $(MYEXT)
255extobj = $(myextobj)
256.endif
257
429a5e67
DS
258.ifdef LIBS2
259.else
260LIBS2=
261.endif
97abc6ad
HM
262
263#### End of system configuration section. ####
264
265
266h1 = EXTERN.h, INTERN.h, XSUB.h, av.h, bytecode.h, byterun.h, config.h, cop.h, cv.h
267h2 = embed.h, form.h, gv.h, handy.h, hv.h, keywords.h, mg.h, op.h, thread.h
268h3 = opcode.h, patchlevel.h, perl.h, perly.h, pp.h, proto.h, regcomp.h
c05f8f3d
HM
269h4 = regexp.h, scope.h, sv.h, vmsish.h, util.h, perlsdio.h
270h5 = embedvar.h, intrpvar.h, perlvars.h, thrdvar.h
97abc6ad
HM
271h = $(h1), $(h2), $(h3), $(h4), $(h5) $(SOCKHLIS) $(THREADH)
272
273c1 = av.c, scope.c, op.c, doop.c, doio.c, dump.c, hv.c, mg.c, universal.c, perlio.c
429a5e67 274c2 = perl.c, perly.c, pp.c, pp_hot.c, pp_ctl.c, pp_sys.c, regcomp.c, regexec.c $(MALLOC_C)
97abc6ad
HM
275c3 = gv.c, sv.c, taint.c, toke.c, util.c, deb.c, run.c, globals.c, vms.c, byterun.c $(SOCKCLIS)
276
277c = $(c1), $(c2), $(c3), miniperlmain.c, perlmain.c, byteperl.c
278
429a5e67 279obj1 = perl$(O), gv$(O), toke$(O), perly$(O), op$(O), regcomp$(O), dump$(O), util$(O), mg$(O), perlio$(O) $(MALLOC_O)
97abc6ad
HM
280obj2 = hv$(O), av$(O), run$(O), pp_hot$(O), sv$(O), pp$(O), scope$(O), pp_ctl$(O), pp_sys$(O)
281obj3 = doop$(O), doio$(O), regexec$(O), taint$(O), deb$(O), universal$(O), globals$(O), vms$(O), byterun$(O) $(SOCKOBJ)
282
283obj = $(obj1), $(obj2), $(obj3)
284
285ac1 = $(ARCHCORE)EXTERN.h $(ARCHCORE)INTERN.h $(ARCHCORE)XSUB.h $(ARCHCORE)av.h
286ac2 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
287ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h
288ac4 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
289ac5 = $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h $(ARCHCORE)perly.h $(ARCHCORE)thread.h
c05f8f3d
HM
290ac6 = $(ARCHCORE)pp.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h $(ARCHCORE)perlsdio.h
291ac7 = $(ARCHCORE)regexp.h $(ARCHCORE)scope.h $(ARCHCORE)sv.h $(ARCHCORE)util.h
292ac8 = $(ARCHCORE)embedvar.h $(ARCHCORE)intrpvar.h $(ARCHCORE)perlvars.h $(ARCHCORE)thrdvar.h
293ac9 = $(ARCHCORE)vmsish.h $(ARCHCORE)$(DBG)libperl$(OLB) $(ARCHCORE)perlshr_attr.opt
294ac10 = $(ARCHCORE)$(DBG)perlshr_bld.opt $(ARCHCORE)bytecode.h $(ARCHCORE)byterun.h
97abc6ad
HM
295.ifdef SOCKET
296acs = $(ARCHCORE)$(SOCKH)
297.else
298acs =
299.endif
300
c05f8f3d 301
97abc6ad
HM
302CRTL = []crtl.opt
303CRTLOPTS =,$(CRTL)/Options
304
305.SUFFIXES
306
307.ifdef LINK_ONLY
308.else
309.SUFFIXES $(O) .c .xs
310
311.xs.c :
312 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
313
314
315.c$(O) :
316 $(CC) $(CFLAGS) $(MMS$SOURCE)
317
318.xs$(O) :
319 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
320 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
321.endif
322
323# Modules which must be installed before we can build extensions
324LIBPREREQ = $(ARCHDIR)Config.pm [.lib]DynaLoader.pm [.lib]vmsish.pm [.lib.VMS]Filespec.pm [.lib.ExtUtils]XSSymSet.pm
325
326utils1 = [.lib.pod]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com [.utils]h2xs.com [.lib]perlbug.com
327utils2 = [.lib]splain.com [.utils]pl2pm.com
328
329.ifdef NOX2P
330all : base extras archcorefiles preplibrary perlpods
331 @ $(NOOP)
332.else
333all : base extras x2p archcorefiles preplibrary perlpods
334 @ $(NOOP)
335.endif
336base : miniperl perl
337 @ $(NOOP)
338#extras : Fcntl IO Opcode attrs Stdio DCLsym B $(POSIX) $(THREAD) SDBM_File libmods utils podxform
339extras : $extensions libmods utils podxform
340 @ $(NOOP)
341libmods : $(LIBPREREQ)
342 @ $(NOOP)
343utils : $(utils1) $(utils2)
344 @ $(NOOP)
345podxform : [.lib.pod]pod2text.com [.lib.pod]pod2html.com [.lib.pod]pod2latex.com [.lib.pod]pod2man.com
346 @ $(NOOP)
347x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
348 @ $(NOOP)
349
350pod1 = [.lib.pod]perl.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod
351pod2 = [.lib.pod]perldata.pod [.lib.pod]perldebug.pod [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
352pod3 = [.lib.pod]perlembed.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod [.lib.pod]perlguts.pod
353pod4 = [.lib.pod]perlipc.pod [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod [.lib.pod]perlobj.pod
354pod5 = [.lib.pod]perlop.pod [.lib.pod]perlpod.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod [.lib.pod]perlrun.pod
355pod6 = [.lib.pod]perlsec.pod [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
356pod7 = [.lib.pod]perltie.pod [.lib.pod]perltoc.pod [.lib.pod]perltoot.pod
357pod8 = [.lib.pod]perltrap.pod [.lib.pod]perlvar.pod [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod
358
359perlpods : $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) [.lib.pod]perlvms.pod
360 @ $(NOOP)
361
c05f8f3d 362archcorefiles : $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(acs) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
363 @ $(NOOP)
364
365miniperl : $(DBG)miniperl$(E)
366 @ Continue
367$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
368 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
369$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
370 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
371
372$(DBG)libperl$(OLB) : $(obj)
373 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
374 Library/Object/Replace $(MMS$TARGET) $(obj1)
375 Library/Object/Replace $(MMS$TARGET) $(obj2)
376 Library/Object/Replace $(MMS$TARGET) $(obj3)
377
378perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
379 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
380
381byteperl.c : [.ext.B]byteperl.c
382 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
383
384.ifdef __DEBUG__
385# Link an extra perl that doesn't invoke the debugger
386perl : $(DBG)perl$(E) $(DBG)byteperl$(E)
387 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
388 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)byteperl$(E) byteperl$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
389.else
390perl : $(DBG)perl$(E) $(DBG)byteperl$(E)
391 @ Continue
392.endif
393
394$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
395 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
396.ifdef MT
397 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
398.else
97abc6ad 399 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 400.endif
97abc6ad
HM
401
402$(DBG)byteperl$(E) : byteperl$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
403 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
404 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) byteperl$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
405
406$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
407 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
408
409# The following files are built in one go by gen_shrfls.pl:
410# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
411# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
412# The song and dance with gen_shrfls.opt accomodates DCL's 255 character
413# line length limit.
414.ifdef PIPES_BROKEN
415# This is a backup target used only with older versions of the DECCRTL which
416# can't deal with pipes properly. See ReadMe.VMS for details.
417$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
418 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
419 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
420 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
421 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
422 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
423 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
424 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
425.else
426$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
427 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
428 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
429 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
430 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
431 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
432 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
433.endif
434
435$(ARCHDIR)config.pm : [.lib]config.pm
436 Create/Directory $(ARCHDIR)
437 Copy $(MMS$SOURCE) $(MMS$TARGET)
438
439[.lib]config.pm : config.h $(MINIPERL_EXE)
440 $(MINIPERL) ConfigPM.
441
429a5e67 442[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
443 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
444
445[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
446 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
447
448[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
449 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
450 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
451 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
452
429a5e67 453[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
454 $(MINIPERL) $(MMS$SOURCE)
455 @ Rename/Log dynaloader.pm [.ext.dynaloader]
456
457Opcode : [.lib]Opcode.pm [.lib]ops.pm [.lib]Safe.pm [.lib.auto.Opcode]Opcode$(E)
458 @ $(NOOP)
459
460[.lib]Opcode.pm : [.ext.Opcode]Descrip.MMS
461 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
462 @ Set Default [.ext.Opcode]
463 $(MMS)
464 @ Set Default [--]
465
466[.lib]ops.pm : [.ext.Opcode]Descrip.MMS
467 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
468 @ Set Default [.ext.Opcode]
469 $(MMS)
470 @ Set Default [--]
471
472[.lib]Safe.pm : [.ext.Opcode]Descrip.MMS
473 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
474 @ Set Default [.ext.Opcode]
475 $(MMS)
476 @ Set Default [--]
477
478[.lib.auto.Opcode]Opcode$(E) : [.ext.Opcode]Descrip.MMS
479 @ Set Default [.ext.Opcode]
480 $(MMS)
481 @ Set Default [--]
482
483# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
484# ${@} necessary to distract different versions of MM[SK]/make
485[.ext.Opcode]Descrip.MMS : [.ext.Opcode]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
486 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Opcode]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
487
488Fcntl : [.lib]Fcntl.pm [.lib.auto.Fcntl]Fcntl$(E)
489 @ $(NOOP)
490
491[.lib]Fcntl.pm : [.ext.Fcntl]Descrip.MMS
492 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
493 @ Set Default [.ext.Fcntl]
494 $(MMS)
495 @ Set Default [--]
496
497[.lib.auto.Fcntl]Fcntl$(E) : [.ext.Fcntl]Descrip.MMS
498 @ Set Default [.ext.Fcntl]
499 $(MMS)
500 @ Set Default [--]
501
502# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
503# ${@} necessary to distract different versions of MM[SK]/make
504[.ext.Fcntl]Descrip.MMS : [.ext.Fcntl]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
505 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Fcntl]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
506
507Stdio : [.lib.vms]Stdio.pm [.lib.auto.vms.Stdio]Stdio$(E) [.t.lib]vms_stdio.t
508 @ $(NOOP)
509
510[.lib.vms]Stdio.pm : [.vms.ext.stdio]Descrip.MMS
511 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
512 @ Set Default [.vms.ext.Stdio]
513 $(MMS)
514 @ Set Default [---]
515
516[.lib.auto.vms.Stdio]Stdio$(E) : [.vms.ext.Stdio]Descrip.MMS
517 @ Set Default [.vms.ext.Stdio]
518 $(MMS)
519 @ Set Default [---]
520
521[.t.lib]vms_stdio.t : [.vms.ext.Stdio]test.pl
522 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
523
524# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
525# ${@} necessary to distract different versions of MM[SK]/make
526[.vms.ext.stdio]Descrip.MMS : [.vms.ext.Stdio]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
527 $(MINIPERL) "-I[---.lib]" -e "chdir('[.vms.ext.Stdio]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
528
529DCLsym : [.lib.vms]DCLsym.pm [.lib.auto.vms.DCLsym]DCLsym$(E) [.t.lib]vms_dclsym.t
530 @ $(NOOP)
531
532[.lib.vms]DCLsym.pm : [.vms.ext.dclsym]Descrip.MMS
533 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
534 @ Set Default [.vms.ext.DCLsym]
535 $(MMS)
536 @ Set Default [---]
537
538[.lib.auto.vms.DCLsym]DCLsym$(E) : [.vms.ext.DCLsym]Descrip.MMS
539 @ Set Default [.vms.ext.DCLsym]
540 $(MMS)
541 @ Set Default [---]
542
543[.t.lib]vms_dclsym.t : [.vms.ext.DCLsym]test.pl
544 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
545
546# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
547# ${@} necessary to distract different versions of MM[SK]/make
548[.vms.ext.DCLsym]Descrip.MMS : [.vms.ext.DCLsym]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
549 $(MINIPERL) "-I[---.lib]" -e "chdir('[.vms.ext.DCLsym]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
550
551attrs : [.lib]attrs.pm [.lib.auto.attrs]attrs$(E)
552 @ $(NOOP)
553
554[.lib]attrs.pm : [.ext.attrs]Descrip.MMS
555 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
556 @ Set Default [.ext.attrs]
557 $(MMS)
558 @ Set Default [--]
559
560[.lib.auto.attrs]attrs$(E) : [.ext.attrs]Descrip.MMS
561 @ Set Default [.ext.attrs]
562 $(MMS)
563 @ Set Default [--]
564
565# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
566# ${@} necessary to distract different versions of MM[SK]/make
567[.ext.attrs]Descrip.MMS : [.ext.Fcntl]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
568 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.attrs]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
569
570POSIX : [.lib]POSIX.pm [.lib.auto.POSIX]POSIX$(E)
571 @ $(NOOP)
572
573[.lib]POSIX.pm : [.ext.POSIX]Descrip.MMS
574 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
575 @ Set Default [.ext.POSIX]
576 $(MMS)
577 @ Set Default [--]
578
579[.lib.auto.POSIX]POSIX$(E) : [.ext.POSIX]Descrip.MMS
580 @ Set Default [.ext.POSIX]
581 $(MMS)
582 @ Set Default [--]
583
584# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
585# ${@} necessary to distract different versions of MM[SK]/make
586[.ext.POSIX]Descrip.MMS : [.ext.POSIX]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
587 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.POSIX]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
588
589THREAD : [.lib]THREAD.pm [.lib.auto.THREAD]THREAD$(E)
590 @ $(NOOP)
591
592[.lib]THREAD.pm : [.ext.THREAD]Descrip.MMS
593 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
594 @ Set Default [.ext.THREAD]
595 $(MMS)
596 @ Set Default [--]
597
598[.lib.auto.THREAD]THREAD$(E) : [.ext.THREAD]Descrip.MMS
599 @ Set Default [.ext.THREAD]
600 $(MMS)
601 @ Set Default [--]
602
603# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
604# ${@} necessary to distract different versions of MM[SK]/make
605[.ext.THREAD]Descrip.MMS : [.ext.THREAD]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
606 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.THREAD]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
607
c05f8f3d
HM
608Errno : [.lib]Errno.pm
609 @ $(NOOP)
610
611[.lib]Errno.pm : [.ext.Errno]Descrip.MMS
612 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
613 @ Set Default [.ext.Errno]
614 $(MMS)
615 @ Set Default [--]
616
617# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
618# ${@} necessary to distract different versions of MM[SK]/make
619[.ext.Errno]Descrip.MMS : [.ext.Errno]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
620 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Errno]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
621
97abc6ad
HM
622SDBM_File : [.lib]SDBM_File.pm [.lib.auto.SDBM_File]SDBM_File$(E)
623 @ $(NOOP)
624
625[.lib]SDBM_File.pm : [.ext.SDBM_File]Descrip.MMS
626 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
627 @ If F$Search("[.lib.auto]sdbm.dir").eqs."" Then Create/Directory [.lib.auto.sdbm]
628 @ Set Default [.ext.SDBM_File]
629 $(MMS)
630 @ Set Default [--]
631
632[.lib.auto.SDBM_File]SDBM_File$(E) : [.ext.SDBM_File]Descrip.MMS
633 @ Set Default [.ext.SDBM_File]
634 $(MMS)
635 @ Set Default [--]
636
637# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
638# ${@} necessary to distract different versions of MM[SK]/make
639[.ext.SDBM_File]Descrip.MMS : [.ext.SDBM_File]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
640 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.SDBM_File]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
641
642IO : [.lib]IO.pm [.lib.IO]File.pm [.lib.IO]Handle.pm [.lib.IO]Pipe.pm [.lib.IO]Seekable.pm [.lib.IO]Socket.pm [.lib.auto.IO]IO$(E)
643 @ $(NOOP)
644
645[.lib]IO.pm : [.ext.IO]Descrip.MMS
646 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
647 @ Set Default [.ext.IO]
648 $(MMS)
649 @ Set Default [--]
650
651[.lib.IO]File.pm : [.ext.IO]Descrip.MMS
652 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
653 @ Set Default [.ext.IO]
654 $(MMS)
655 @ Set Default [--]
656
657[.lib.IO]Handle.pm : [.ext.IO]Descrip.MMS
658 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
659 @ Set Default [.ext.IO]
660 $(MMS)
661 @ Set Default [--]
662
663[.lib.IO]Pipe.pm : [.ext.IO]Descrip.MMS
664 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
665 @ Set Default [.ext.IO]
666 $(MMS)
667 @ Set Default [--]
668
669[.lib.IO]Seekable.pm : [.ext.IO]Descrip.MMS
670 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
671 @ Set Default [.ext.IO]
672 $(MMS)
673 @ Set Default [--]
674
675[.lib.IO]Socket.pm : [.ext.IO]Descrip.MMS
676 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
677 @ Set Default [.ext.IO]
678 $(MMS)
679 @ Set Default [--]
680
681[.lib.auto.IO]IO$(E) : [.ext.IO]Descrip.MMS
682 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
683 @ Set Default [.ext.IO]
684 $(MMS)
685 @ Set Default [--]
686
687# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
688# ${@} necessary to distract different versions of MM[SK]/make
689[.ext.IO]Descrip.MMS : [.ext.IO]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
690 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.IO]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
691
692B : [.lib]B.pm [.lib]O.pm [.lib.B]Asmdata.pm [.lib.B]Assembler.pm [.lib.B]Bblock.pm [.lib.B]Bytecode.pm [.lib.B]C.pm [.lib.B]CC.pm [.lib.B]Debug.pm [.lib.B]Deparse.pm [.lib.B]Disassembler.pm [.lib.B]Lint.pm [.lib.B]Showlex.pm [.lib.B]Stackobj.pm [.lib.B]Terse.pm [.lib.B]Xref.pm [.lib.auto.B]B$(E)
693 @ $(NOOP)
694
695[.lib]B.pm : [.ext.B]Descrip.MMS
696 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
697 @ Set Default [.ext.B]
698 $(MMS)
699 @ Set Default [--]
700
701[.lib]O.pm : [.ext.B]Descrip.MMS
702 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
703 @ Set Default [.ext.B]
704 $(MMS)
705 @ Set Default [--]
706
707[.lib.B]Asmdata.pm : [.ext.B]Descrip.MMS
708 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
709 @ Set Default [.ext.B]
710 $(MMS)
711 @ Set Default [--]
712
713[.lib.B]Assembler.pm : [.ext.B]Descrip.MMS
714 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
715 @ Set Default [.ext.B]
716 $(MMS)
717 @ Set Default [--]
718
719[.lib.B]Bblock.pm : [.ext.B]Descrip.MMS
720 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
721 @ Set Default [.ext.B]
722 $(MMS)
723 @ Set Default [--]
724
725[.lib.B]Bytecode.pm : [.ext.B]Descrip.MMS
726 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
727 @ Set Default [.ext.B]
728 $(MMS)
729 @ Set Default [--]
730
731[.lib.B]C.pm : [.ext.B]Descrip.MMS
732 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
733 @ Set Default [.ext.B]
734 $(MMS)
735 @ Set Default [--]
736
737[.lib.B]CC.pm : [.ext.B]Descrip.MMS
738 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
739 @ Set Default [.ext.B]
740 $(MMS)
741 @ Set Default [--]
742
743[.lib.B]Debug.pm : [.ext.B]Descrip.MMS
744 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
745 @ Set Default [.ext.B]
746 $(MMS)
747 @ Set Default [--]
748
749[.lib.B]Deparse.pm : [.ext.B]Descrip.MMS
750 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
751 @ Set Default [.ext.B]
752 $(MMS)
753 @ Set Default [--]
754
755[.lib.B]Disassembler.pm : [.ext.B]Descrip.MMS
756 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
757 @ Set Default [.ext.B]
758 $(MMS)
759 @ Set Default [--]
760
761[.lib.B]Lint.pm : [.ext.B]Descrip.MMS
762 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
763 @ Set Default [.ext.B]
764 $(MMS)
765 @ Set Default [--]
766
767[.lib.B]Showlex.pm : [.ext.B]Descrip.MMS
768 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
769 @ Set Default [.ext.B]
770 $(MMS)
771 @ Set Default [--]
772
773[.lib.B]Stackobj.pm : [.ext.B]Descrip.MMS
774 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
775 @ Set Default [.ext.B]
776 $(MMS)
777 @ Set Default [--]
778
779[.lib.B]Terse.pm : [.ext.B]Descrip.MMS
780 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
781 @ Set Default [.ext.B]
782 $(MMS)
783 @ Set Default [--]
784
785[.lib.B]Xref.pm : [.ext.B]Descrip.MMS
786 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
787 @ Set Default [.ext.B]
788 $(MMS)
789 @ Set Default [--]
790
791[.lib.auto.B]B$(E) : [.ext.B]Descrip.MMS
792 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
793 @ Set Default [.ext.B]
794 $(MMS)
795 @ Set Default [--]
796
797# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
798# ${@} necessary to distract different versions of MM[SK]/make
799[.ext.B]Descrip.MMS : [.ext.B]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
800 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.B]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
801
802[.lib]vmsish.pm : [.vms.ext]vmsish.pm
803 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
804
805[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
806 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
807 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
808
809[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
810 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
811 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
812
813[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
814 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
815 $(MINIPERL) $(MMS$SOURCE)
816 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
817
818[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
819 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
820
821[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
822 $(MINIPERL) $(MMS$SOURCE)
823
824[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
825 $(MINIPERL) $(MMS$SOURCE)
826
827[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
828 $(MINIPERL) $(MMS$SOURCE)
829
830[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
831 $(MINIPERL) $(MMS$SOURCE)
832 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
833
834[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
835 $(MINIPERL) $(MMS$SOURCE)
836
837[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
838 $(MINIPERL) $(MMS$SOURCE)
839 Copy/Log [.utils]splain.com $(MMS$TARGET)
840
841[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
842 $(MINIPERL) $(MMS$SOURCE)
843
844[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
845 $(MINIPERL) $(MMS$SOURCE)
846
847# Rename catches problem with some DECC versions in which object file is
848# placed in current default dir, not same one as source file.
849[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
850 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
851 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
852
853# Accomodate buggy cpp in some version of DECC, which chokes on illegal
854# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
855# search in same dir as source file
856[.x2p]a2p$(O) : [.x2p]a2p.c $(MINIPERL_EXE)
857 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
858 $(CC) $(CFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
859 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
860
861# gcc cpp broken -- doesn't look in directory of source file for #include ""
862.ifdef GNUC
863[.x2p]hash$(O) : [.x2p]hash.c
864 $(CC) $(CFLAGS) /Include=[.x2p] $(MMS$SOURCE)
865
866[.x2p]str$(O) : [.x2p]str.c
867 $(CC) $(CFLAGS) /Include=[.x2p] $(MMS$SOURCE)
868
869[.x2p]util$(O) : [.x2p]util.c
870 $(CC) $(CFLAGS) /Include=[.x2p] $(MMS$SOURCE)
871
872[.x2p]walk$(O) : [.x2p]walk.c
873 $(CC) $(CFLAGS) /Include=[.x2p] $(MMS$SOURCE)
874.endif
875
876[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
877 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
878 $(MINIPERL) $(MMS$SOURCE)
879 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
880
881[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
882 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
883 $(MINIPERL) $(MMS$SOURCE)
884 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
885
886[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
887 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
888 $(MINIPERL) $(MMS$SOURCE)
889 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
890
891[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
892 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
893 $(MINIPERL) $(MMS$SOURCE)
894 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
895
896preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
897 @ Write Sys$Output "Autosplitting Perl library . . ."
898 @ Create/Directory [.lib.auto]
899 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
900
901[.lib.pod]perl.pod : [.pod]perl.pod
902 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
903 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
904
905[.lib.pod]perlapio.pod : [.pod]perlapio.pod
906 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
907 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
908
909[.lib.pod]perlbook.pod : [.pod]perlbook.pod
910 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
911 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
912
913[.lib.pod]perlbot.pod : [.pod]perlbot.pod
914 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
915 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
916
917[.lib.pod]perlcall.pod : [.pod]perlcall.pod
918 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
919 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
920
921[.lib.pod]perldata.pod : [.pod]perldata.pod
922 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
923 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
924
925[.lib.pod]perldebug.pod : [.pod]perldebug.pod
926 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
927 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
928
929[.lib.pod]perldelta.pod : [.pod]perldelta.pod
930 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
931 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
932
933[.lib.pod]perldiag.pod : [.pod]perldiag.pod
934 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
935 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
936
937[.lib.pod]perldsc.pod : [.pod]perldsc.pod
938 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
939 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
940
941[.lib.pod]perlembed.pod : [.pod]perlembed.pod
942 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
943 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
944
945[.lib.pod]perlform.pod : [.pod]perlform.pod
946 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
947 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
948
949[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
950 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
951 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
952
953[.lib.pod]perlguts.pod : [.pod]perlguts.pod
954 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
955 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
956
957[.lib.pod]perllocale.pod : [.pod]perllocale.pod
958 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
959 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
960
961[.lib.pod]perlipc.pod : [.pod]perlipc.pod
962 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
963 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
964
965[.lib.pod]perllol.pod : [.pod]perllol.pod
966 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
967 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
968
969[.lib.pod]perlmod.pod : [.pod]perlmod.pod
970 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
971 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
972
973[.lib.pod]perlobj.pod : [.pod]perlobj.pod
974 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
975 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
976
977[.lib.pod]perlop.pod : [.pod]perlop.pod
978 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
979 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
980
981[.lib.pod]perlpod.pod : [.pod]perlpod.pod
982 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
983 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
984
985[.lib.pod]perlre.pod : [.pod]perlre.pod
986 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
987 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
988
989[.lib.pod]perlref.pod : [.pod]perlref.pod
990 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
991 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
992
993[.lib.pod]perlrun.pod : [.pod]perlrun.pod
994 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
995 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
996
997[.lib.pod]perlsec.pod : [.pod]perlsec.pod
998 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
999 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1000
1001[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
1002 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1003 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1004
1005[.lib.pod]perlsub.pod : [.pod]perlsub.pod
1006 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1007 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1008
1009[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
1010 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1011 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1012
1013[.lib.pod]perltie.pod : [.pod]perltie.pod
1014 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1015 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1016
1017[.lib.pod]perltoc.pod : [.pod]perltoc.pod
1018 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1019 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1020
1021[.lib.pod]perltoot.pod : [.pod]perltoot.pod
1022 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1023 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1024
1025[.lib.pod]perltrap.pod : [.pod]perltrap.pod
1026 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1027 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1028
1029[.lib.pod]perlvar.pod : [.pod]perlvar.pod
1030 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1031 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1032
1033[.lib.pod]perlxs.pod : [.pod]perlxs.pod
1034 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1035 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1036
1037[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
1038 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1039 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1040
1041[.lib.pod]perlvms.pod : [.vms]perlvms.pod
1042 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1043 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1044
1045printconfig :
1046 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
1047 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(LIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
1048
1049.ifdef SOCKET
1050
1051.ifdef LINK_ONLY
1052.else
1053[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
1054 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
1055
1056[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
1057 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
1058.endif # !LINK_ONLY
1059
1060vmsish.h : $(SOCKH)
1061
c05f8f3d 1062$(SOCKOBJ) : $(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 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
97abc6ad
HM
1063
1064$(SOCKC) : [.vms]$(SOCKC)
1065 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
1066
1067$(SOCKH) : [.vms]$(SOCKH)
1068 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
1069
1070[.lib]Socket.pm : [.ext.Socket]Socket.pm
1071 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1072.endif
1073
1074# The following three header files are generated automatically
1075# keywords.h : keywords.pl
1076# opcode.h : opcode.pl
1077# embed.h : embed.pl global.sym interp.sym
1078# The correct versions should be already supplied with the perl kit,
1079# in case you don't have perl available.
1080# To force them to run, type
1081# MMS regen_headers
1082regen_headers :
1083 $(INSTPERL) keywords.pl
1084 $(INSTPERL) opcode.pl
1085 $(INSTPERL) embed.pl
1086
1087# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
1088perly.c : [.vms]perly_c.vms
1089 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1090perly.h : [.vms]perly_h.vms
1091 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1092
1093# I now supply perly.c with the kits, so the following section is
1094# commented out if you don't have byacc.
1095# Altered for VMS by Charles Bailey bailey@genetics.upenn.edu
1096# perly.c:
1097# @ Write Sys$Output "Expect 80 shift/reduce and 62 reduce/reduce conflicts"
1098# \$(BYACC) -d perly.y
1099# Has to be done by hand or by POSIX shell under VMS
1100# sh \$(shellflags) ./perly.fixer y.tab.c perly.c
1101# rename y.tab.h perly.h
1102# $(INSTPERL) [.vms]vms_yfix.pl perly.c perly.h [.vms]perly_c.vms [.vms]perly_h.vms
1103
1104.ifdef LINK_ONLY
1105.else
1106perly$(O) : perly.c, perly.h, $(h)
1107 $(CC) $(CFLAGS) $(MMS$SOURCE)
1108.endif
1109
1110[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
1111 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1112
1113[.t.lib]vmsish.t : [.vms.ext]vmsish.t
1114 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1115
1116test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
1117 - @[.VMS]Test.Com "$(E)"
1118
1119install :
1120 $(MINIPERL) installperl
1121
1122archify : all
1123 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
1124 archroot = "$(ARCHAUTO)" - "]" + "...]"
1125 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
1126 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
1127 Delete/Log/NoConfirm [.lib]Config.pm;*
1128 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
1129 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
1130 @ Write Sys$Output "Architecture-specific setup completed."
1131 @ Write Sys$Output "Before building for another architecture, be sure to"
1132 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
1133 @ Write Sys$Output " 2. Delete Miniperl$(E)"
1134
1135# CORE subset for MakeMaker, so we can build Perl without sources
1136# Should move to VMS installperl when we get one
1137$(ARCHCORE)EXTERN.h : EXTERN.h
1138 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1139 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1140$(ARCHCORE)INTERN.h : INTERN.h
1141 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1142 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1143$(ARCHCORE)XSUB.h : XSUB.h
1144 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1145 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1146$(ARCHCORE)bytecode.h : bytecode.h
1147 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1148 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1149$(ARCHCORE)byterun.h : byterun.h
1150 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1151 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1152$(ARCHCORE)av.h : av.h
1153 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1154 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1155$(ARCHCORE)config.h : config.h
1156 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1157 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1158$(ARCHCORE)cop.h : cop.h
1159 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1160 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1161$(ARCHCORE)cv.h : cv.h
1162 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1163 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1164$(ARCHCORE)embed.h : embed.h
1165 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1166 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1167$(ARCHCORE)embedvar.h : embedvar.h
1168 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1169 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1170.ifdef FAKETHREADED
1171$(ARCHCORE)fakethr.h : fakethr.h
1172 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1173 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1174.endif
1175$(ARCHCORE)form.h : form.h
1176 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1177 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1178$(ARCHCORE)gv.h : gv.h
1179 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1180 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1181$(ARCHCORE)handy.h : handy.h
1182 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1183 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1184$(ARCHCORE)hv.h : hv.h
1185 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1186 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1187$(ARCHCORE)intrpvar.h : intrpvar.h
1188 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1189 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1190$(ARCHCORE)keywords.h : keywords.h
1191 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1192 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1193$(ARCHCORE)mg.h : mg.h
1194 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1195 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1196$(ARCHCORE)op.h : op.h
1197 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1198 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1199$(ARCHCORE)opcode.h : opcode.h
1200 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1201 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1202$(ARCHCORE)patchlevel.h : patchlevel.h
1203 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1204 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1205$(ARCHCORE)perl.h : perl.h
1206 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1207 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1208$(ARCHCORE)perlsdio.h : perlsdio.h
1209 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1210 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1211$(ARCHCORE)perlvars.h : perlvars.h
1212 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1213 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1214$(ARCHCORE)perly.h : perly.h
1215 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1216 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1217$(ARCHCORE)pp.h : pp.h
1218 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1219 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1220$(ARCHCORE)proto.h : proto.h
1221 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1222 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1223$(ARCHCORE)regcomp.h : regcomp.h
1224 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1225 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1226$(ARCHCORE)regexp.h : regexp.h
1227 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1228 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1229$(ARCHCORE)scope.h : scope.h
1230 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1231 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1232$(ARCHCORE)sv.h : sv.h
1233 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1234 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1235$(ARCHCORE)thrdvar.h : thrdvar.h
1236 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1237 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1238$(ARCHCORE)thread.h : thread.h
1239 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1240 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1241$(ARCHCORE)util.h : util.h
1242 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1243 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1244$(ARCHCORE)vmsish.h : vmsish.h
1245 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1246 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1247.ifdef SOCKET
1248$(ARCHCORE)$(SOCKH) : $(SOCKH)
1249 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1250 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1251.endif
1252$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1253 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1254 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1255$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1256 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1257 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1258$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1259 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1260 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1261$(ARCHAUTO)time.stamp :
1262 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1263 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1264
1265.ifdef LINK_ONLY
1266.else
1267# We need an action line here for broken older versions of MMS which
1268# otherwise conclude that they should be compiling [.x2p]utils.c :-(
1269util$(O) : util.c
1270 $(CC) $(CFLAGS) util.c
1271# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
c05f8f3d
HM
1272av$(O) : av.c EXTERN.h perl.h bytecode.h byterun.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 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
1273byterun$(O) : byterun.c EXTERN.h perl.h bytecode.h byterun.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 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
1274deb$(O) : deb.c EXTERN.h perl.h bytecode.h byterun.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 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
1275doio$(O) : doio.c EXTERN.h perl.h bytecode.h byterun.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 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
1276doop$(O) : doop.c EXTERN.h perl.h bytecode.h byterun.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 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
1277dump$(O) : dump.c EXTERN.h perl.h bytecode.h byterun.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 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
1278globals$(O) : globals.c INTERN.h perl.h bytecode.h byterun.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 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
1279gv$(O) : gv.c EXTERN.h perl.h bytecode.h byterun.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 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
1280hv$(O) : hv.c EXTERN.h perl.h bytecode.h byterun.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 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
1281malloc$(O) : malloc.c EXTERN.h perl.h bytecode.h byterun.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 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
1282mg$(O) : mg.c EXTERN.h perl.h bytecode.h byterun.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 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
1283miniperlmain$(O) : miniperlmain.c EXTERN.h perl.h bytecode.h byterun.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 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
1284op$(O) : op.c EXTERN.h perl.h bytecode.h byterun.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 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
1285perl$(O) : perl.c EXTERN.h perl.h bytecode.h byterun.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 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 patchlevel.h
1286perlio$(O) : perlio.c config.h EXTERN.h perl.h bytecode.h byterun.h embed.h perlsdio.h handy.h vmsish.h regexp.h sv.h util.h form.h gv.h cv.h opcode.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
1287perlmain$(O) : perlmain.c EXTERN.h perl.h bytecode.h byterun.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 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
1288byteperl$(O) : byteperl.c EXTERN.h perl.h bytecode.h byterun.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 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
1289perly$(O) : perly.c EXTERN.h perl.h bytecode.h byterun.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 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
1290pp$(O) : pp.c EXTERN.h perl.h bytecode.h byterun.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 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
1291pp_ctl$(O) : pp_ctl.c EXTERN.h perl.h bytecode.h byterun.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 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
1292pp_hot$(O) : pp_hot.c EXTERN.h perl.h bytecode.h byterun.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 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
1293pp_sys$(O) : pp_sys.c EXTERN.h perl.h bytecode.h byterun.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 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
1294regcomp$(O) : regcomp.c EXTERN.h perl.h bytecode.h byterun.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 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 INTERN.h regcomp.h
1295regexec$(O) : regexec.c EXTERN.h perl.h bytecode.h byterun.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 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 regcomp.h
1296run$(O) : run.c EXTERN.h perl.h bytecode.h byterun.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 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
1297scope$(O) : scope.c EXTERN.h perl.h bytecode.h byterun.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 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
1298sv$(O) : sv.c EXTERN.h perl.h bytecode.h byterun.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 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
1299taint$(O) : taint.c EXTERN.h perl.h bytecode.h byterun.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 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
1300toke$(O) : toke.c EXTERN.h perl.h bytecode.h byterun.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 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 keywords.h
1301universal$(O) : universal.c EXTERN.h perl.h bytecode.h byterun.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 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 XSUB.h
1302util$(O) : util.c EXTERN.h perl.h bytecode.h byterun.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 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
1303vms$(O) : vms.c EXTERN.h perl.h bytecode.h byterun.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 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 XSUB.h
97abc6ad
HM
1304[.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
1305[.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
1306[.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
1307[.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
1308[.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
1309# End of automatically generated make dependencies
1310.endif # !LINK_ONLY
1311
1312vmsish.h : [.vms]vmsish.h
1313 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1314
1315vms.c : [.vms]vms.c
1316 Copy/Log/Noconfirm [.vms]vms.c []
1317
1318$(CRTL) : $(MAKEFILE)
1319 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(LIBS2)|$(SOCKLIB)"
1320
1321
1322cleanlis :
1323 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1324 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1325 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1326
1327tidy : cleanlis
1328 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1329 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1330 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1331 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1332 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1333 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1334 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1335 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1336 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1337 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
1338 - If F$Search("byteperl.C;-1") .nes."" Then Purge/NoConfirm/Log byteperl.C
1339 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1340 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1341 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1342 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1343 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1344 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1345 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1346 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1347 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1348 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
1349 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1350 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1351 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1352 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1353 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1354 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1355 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1356 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1357 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1358 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1359 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1360 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1361 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1362
1363clean : tidy
1364 Set Default [.ext.Fcntl]
1365 - $(MMS) clean
1366 Set Default [--]
c05f8f3d
HM
1367 Set Default [.ext.Errno]
1368 - $(MMS) clean
1369 Set Default [--]
97abc6ad
HM
1370 Set Default [.ext.IO]
1371 - $(MMS) clean
1372 Set Default [--]
1373 Set Default [.ext.Opcode]
1374 - $(MMS) clean
1375 Set Default [--]
1376 Set Default [.ext.attrs]
1377 - $(MMS) clean
1378 Set Default [--]
1379 Set Default [.ext.B]
1380 - $(MMS) clean
1381 Set Default [--]
1382.ifdef THREAD
1383 Set Default [.ext.Thread]
1384 - $(MMS) realclean
1385 Set Default [--]
1386.endif
1387.ifdef DECC
1388 Set Default [.ext.POSIX]
1389 - $(MMS) clean
1390 Set Default [--]
1391.endif
1392 Set Default [.ext.SDBM_File]
1393 - $(MMS) clean
1394 Set Default [--]
1395 Set Default [.vms.ext.Stdio]
1396 - $(MMS) clean
1397 Set Default [---]
1398 Set Default [.vms.ext.DCLsym]
1399 - $(MMS) clean
1400 Set Default [---]
1401 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1402 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
1403 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1404 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
1405 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1406 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1407 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
1408 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
1409 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1410 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1411 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
1412 - If F$Search("byteperl.C") .nes."" Then Delete/NoConfirm/Log byteperl.C;*
1413 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1414 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1415 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1416 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
1417 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1418 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1419 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1420 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1421 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1422
1423realclean : clean
1424 Set Default [.ext.Fcntl]
1425 - $(MMS) realclean
1426 Set Default [--]
c05f8f3d
HM
1427 Set Default [.ext.Errno]
1428 - $(MMS) realclean
1429 Set Default [--]
97abc6ad
HM
1430 Set Default [.ext.IO]
1431 - $(MMS) realclean
1432 Set Default [--]
1433 Set Default [.ext.Opcode]
1434 - $(MMS) realclean
1435 Set Default [--]
1436 Set Default [.ext.attrs]
1437 - $(MMS) realclean
1438 Set Default [--]
1439 Set Default [.ext.B]
1440 - $(MMS) realclean
1441 Set Default [--]
1442.ifdef THREAD
1443 Set Default [.ext.Thread]
1444 - $(MMS) realclean
1445 Set Default [--]
1446.endif
1447.ifdef DECC
1448 Set Default [.ext.POSIX]
1449 - $(MMS) realclean
1450 Set Default [--]
1451.endif
1452 Set Default [.ext.SDBM_File]
1453 - $(MMS) realclean
1454 Set Default [--]
1455 Set Default [.vms.ext.Stdio]
1456 - $(MMS) clean
1457 Set Default [---]
1458 Set Default [.vms.ext.DCLsym]
1459 - $(MMS) clean
1460 Set Default [---]
1461 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1462 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
1463 - If F$Search("descrip.mms").nes."" Then Delete/NoConfirm/Log descrip.mms;*
1464 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
1465 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
1466 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1467 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1468 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
1469 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1470 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1471 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1472 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1473 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1474 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1475 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1476 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1477 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1478 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
1479
1480cleansrc : clean
1481 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1482 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1483 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1484 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1485 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1486 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1487 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1488 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1489 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1490 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs
1491!GROK!THIS!