This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
update Changes; tweak minor regressions
[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
85988417 59PERL_VERSION = ~PV~
97abc6ad 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
9ef4b0a6 202THRLIBS1 = sys$share:cma$lib_shr/share|sys$share:cma$rtl/share
97abc6ad 203.ifdef __AXP__
9ef4b0a6 204THRLIBS2 = sys$share:cma$open_lib_shr/share|sys$share:cma$open_rtl/share
97abc6ad
HM
205.endif
206.endif
207
208.ifdef FAKETHREADED
429a5e67 209THREADDEF =
97abc6ad
HM
210THREADH = fakethr.h
211acth = $(ARCHCORE)fakethr.h
212THREAD = THREAD
213.else
214THREADH =
215acth =
216.endif
217
218# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
429a5e67 219CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)
3a385817
GS
220# Flags for a core compile
221X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
222# Flags for an x2p compile
223CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
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 262
9ef4b0a6
BH
263.ifdef THRLIBS1
264.else
265THRLIBS1=
266.endif
267
268.ifdef THRLIBS2
269.else
270THRLIBS2=
271.endif
272
273FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
274
97abc6ad
HM
275#### End of system configuration section. ####
276
277
278h1 = EXTERN.h, INTERN.h, XSUB.h, av.h, bytecode.h, byterun.h, config.h, cop.h, cv.h
279h2 = embed.h, form.h, gv.h, handy.h, hv.h, keywords.h, mg.h, op.h, thread.h
280h3 = opcode.h, patchlevel.h, perl.h, perly.h, pp.h, proto.h, regcomp.h
9ef4b0a6 281h4 = regexp.h, scope.h, sv.h, vmsish.h, util.h, perlsdio.h, perlio.h
3a385817 282h5 = embedvar.h, intrpvar.h, perlvars.h, thrdvar.h, iperlsys.h
97abc6ad
HM
283h = $(h1), $(h2), $(h3), $(h4), $(h5) $(SOCKHLIS) $(THREADH)
284
3937c24e 285c1 = av.c, scope.c, op.c, doop.c, doio.c, dump.c, hv.c, mg.c, universal.c, perlio.c, utf8.c
429a5e67 286c2 = perl.c, perly.c, pp.c, pp_hot.c, pp_ctl.c, pp_sys.c, regcomp.c, regexec.c $(MALLOC_C)
97abc6ad
HM
287c3 = gv.c, sv.c, taint.c, toke.c, util.c, deb.c, run.c, globals.c, vms.c, byterun.c $(SOCKCLIS)
288
289c = $(c1), $(c2), $(c3), miniperlmain.c, perlmain.c, byteperl.c
290
429a5e67 291obj1 = perl$(O), gv$(O), toke$(O), perly$(O), op$(O), regcomp$(O), dump$(O), util$(O), mg$(O), perlio$(O) $(MALLOC_O)
3937c24e 292obj2 = hv$(O), av$(O), run$(O), pp_hot$(O), sv$(O), pp$(O), scope$(O), pp_ctl$(O), pp_sys$(O), utf8$(O)
97abc6ad
HM
293obj3 = doop$(O), doio$(O), regexec$(O), taint$(O), deb$(O), universal$(O), globals$(O), vms$(O), byterun$(O) $(SOCKOBJ)
294
295obj = $(obj1), $(obj2), $(obj3)
296
297ac1 = $(ARCHCORE)EXTERN.h $(ARCHCORE)INTERN.h $(ARCHCORE)XSUB.h $(ARCHCORE)av.h
298ac2 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
3937c24e 299ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h $(ARCHCORE)utf8.h
97abc6ad 300ac4 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
3a385817 301ac5 = $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h $(ARCHCORE)perly.h $(ARCHCORE)thread.h $(ARCHCORE)iperlsys.h
caa4726a 302ac6 = $(ARCHCORE)pp.h $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h $(ARCHCORE)perlsdio.h $(ARCHCORE)perlio.h
c05f8f3d
HM
303ac7 = $(ARCHCORE)regexp.h $(ARCHCORE)scope.h $(ARCHCORE)sv.h $(ARCHCORE)util.h
304ac8 = $(ARCHCORE)embedvar.h $(ARCHCORE)intrpvar.h $(ARCHCORE)perlvars.h $(ARCHCORE)thrdvar.h
caa4726a 305ac9 = $(ARCHCORE)vmsish.h $(ARCHCORE)warning.h $(ARCHCORE)$(DBG)libperl$(OLB) $(ARCHCORE)perlshr_attr.opt
c05f8f3d 306ac10 = $(ARCHCORE)$(DBG)perlshr_bld.opt $(ARCHCORE)bytecode.h $(ARCHCORE)byterun.h
97abc6ad
HM
307.ifdef SOCKET
308acs = $(ARCHCORE)$(SOCKH)
309.else
310acs =
311.endif
312
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
336LIBPREREQ = $(ARCHDIR)Config.pm [.lib]DynaLoader.pm [.lib]vmsish.pm [.lib.VMS]Filespec.pm [.lib.ExtUtils]XSSymSet.pm
337
be46aa5a 338utils1 = [.lib.pod]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com [.utils]h2xs.com [.lib]perlbug.com [.lib]perlcc.com
97abc6ad
HM
339utils2 = [.lib]splain.com [.utils]pl2pm.com
340
341.ifdef NOX2P
342all : base extras archcorefiles preplibrary perlpods
343 @ $(NOOP)
344.else
345all : base extras x2p archcorefiles preplibrary perlpods
346 @ $(NOOP)
347.endif
348base : miniperl perl
349 @ $(NOOP)
350#extras : Fcntl IO Opcode attrs Stdio DCLsym B $(POSIX) $(THREAD) SDBM_File libmods utils podxform
351extras : $extensions libmods utils podxform
352 @ $(NOOP)
353libmods : $(LIBPREREQ)
354 @ $(NOOP)
355utils : $(utils1) $(utils2)
356 @ $(NOOP)
357podxform : [.lib.pod]pod2text.com [.lib.pod]pod2html.com [.lib.pod]pod2latex.com [.lib.pod]pod2man.com
358 @ $(NOOP)
359x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
360 @ $(NOOP)
361
362pod1 = [.lib.pod]perl.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod
363pod2 = [.lib.pod]perldata.pod [.lib.pod]perldebug.pod [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
364pod3 = [.lib.pod]perlembed.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod [.lib.pod]perlguts.pod
365pod4 = [.lib.pod]perlipc.pod [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod [.lib.pod]perlobj.pod
a1e2a320
GS
366pod5 = [.lib.pod]perlop.pod [.lib.pod]perlpod.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod [.lib.pod]perlreftut.pod
367pod6 = [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
97abc6ad
HM
368pod7 = [.lib.pod]perltie.pod [.lib.pod]perltoc.pod [.lib.pod]perltoot.pod
369pod8 = [.lib.pod]perltrap.pod [.lib.pod]perlvar.pod [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod
370
371perlpods : $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) [.lib.pod]perlvms.pod
372 @ $(NOOP)
373
c05f8f3d 374archcorefiles : $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(acs) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
375 @ $(NOOP)
376
377miniperl : $(DBG)miniperl$(E)
378 @ Continue
379$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
380 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
381$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
382 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
383
384$(DBG)libperl$(OLB) : $(obj)
385 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
386 Library/Object/Replace $(MMS$TARGET) $(obj1)
387 Library/Object/Replace $(MMS$TARGET) $(obj2)
388 Library/Object/Replace $(MMS$TARGET) $(obj3)
389
390perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
391 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
392
393byteperl.c : [.ext.B]byteperl.c
394 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
395
396.ifdef __DEBUG__
397# Link an extra perl that doesn't invoke the debugger
398perl : $(DBG)perl$(E) $(DBG)byteperl$(E)
399 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
400 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)byteperl$(E) byteperl$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
401.else
402perl : $(DBG)perl$(E) $(DBG)byteperl$(E)
403 @ Continue
404.endif
405
406$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
407 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
408.ifdef MT
409 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
410.else
97abc6ad 411 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 412.endif
97abc6ad
HM
413
414$(DBG)byteperl$(E) : byteperl$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
415 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
416 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) byteperl$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
417
418$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
419 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
420
421# The following files are built in one go by gen_shrfls.pl:
422# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
423# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
424# The song and dance with gen_shrfls.opt accomodates DCL's 255 character
425# line length limit.
426.ifdef PIPES_BROKEN
427# This is a backup target used only with older versions of the DECCRTL which
428# can't deal with pipes properly. See ReadMe.VMS for details.
429$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
430 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
431 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
432 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
433 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
434 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
435 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
436 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
437.else
438$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
439 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
440 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
441 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
442 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
443 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
444 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
445.endif
446
447$(ARCHDIR)config.pm : [.lib]config.pm
448 Create/Directory $(ARCHDIR)
449 Copy $(MMS$SOURCE) $(MMS$TARGET)
450
f24bbd7d 451[.lib]config.pm : config.h $(MINIPERL_EXE) [.lib]re.pm
97abc6ad
HM
452 $(MINIPERL) ConfigPM.
453
429a5e67 454[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
455 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
456
457[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
458 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
459
460[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
461 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
462 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
463 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
464
429a5e67 465[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
466 $(MINIPERL) $(MMS$SOURCE)
467 @ Rename/Log dynaloader.pm [.ext.dynaloader]
468
469Opcode : [.lib]Opcode.pm [.lib]ops.pm [.lib]Safe.pm [.lib.auto.Opcode]Opcode$(E)
470 @ $(NOOP)
471
472[.lib]Opcode.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]ops.pm : [.ext.Opcode]Descrip.MMS
479 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
480 @ Set Default [.ext.Opcode]
481 $(MMS)
482 @ Set Default [--]
483
484[.lib]Safe.pm : [.ext.Opcode]Descrip.MMS
485 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
486 @ Set Default [.ext.Opcode]
487 $(MMS)
488 @ Set Default [--]
489
490[.lib.auto.Opcode]Opcode$(E) : [.ext.Opcode]Descrip.MMS
491 @ Set Default [.ext.Opcode]
492 $(MMS)
493 @ Set Default [--]
494
495# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
496# ${@} necessary to distract different versions of MM[SK]/make
497[.ext.Opcode]Descrip.MMS : [.ext.Opcode]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
498 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Opcode]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
499
500Fcntl : [.lib]Fcntl.pm [.lib.auto.Fcntl]Fcntl$(E)
501 @ $(NOOP)
502
503[.lib]Fcntl.pm : [.ext.Fcntl]Descrip.MMS
504 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
505 @ Set Default [.ext.Fcntl]
506 $(MMS)
507 @ Set Default [--]
508
509[.lib.auto.Fcntl]Fcntl$(E) : [.ext.Fcntl]Descrip.MMS
510 @ Set Default [.ext.Fcntl]
511 $(MMS)
512 @ Set Default [--]
513
514# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
515# ${@} necessary to distract different versions of MM[SK]/make
516[.ext.Fcntl]Descrip.MMS : [.ext.Fcntl]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
517 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Fcntl]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
518
519Stdio : [.lib.vms]Stdio.pm [.lib.auto.vms.Stdio]Stdio$(E) [.t.lib]vms_stdio.t
520 @ $(NOOP)
521
522[.lib.vms]Stdio.pm : [.vms.ext.stdio]Descrip.MMS
523 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
524 @ Set Default [.vms.ext.Stdio]
525 $(MMS)
526 @ Set Default [---]
527
528[.lib.auto.vms.Stdio]Stdio$(E) : [.vms.ext.Stdio]Descrip.MMS
529 @ Set Default [.vms.ext.Stdio]
530 $(MMS)
531 @ Set Default [---]
532
533[.t.lib]vms_stdio.t : [.vms.ext.Stdio]test.pl
534 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
535
536# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
537# ${@} necessary to distract different versions of MM[SK]/make
538[.vms.ext.stdio]Descrip.MMS : [.vms.ext.Stdio]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
539 $(MINIPERL) "-I[---.lib]" -e "chdir('[.vms.ext.Stdio]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
540
541DCLsym : [.lib.vms]DCLsym.pm [.lib.auto.vms.DCLsym]DCLsym$(E) [.t.lib]vms_dclsym.t
542 @ $(NOOP)
543
544[.lib.vms]DCLsym.pm : [.vms.ext.dclsym]Descrip.MMS
545 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
546 @ Set Default [.vms.ext.DCLsym]
547 $(MMS)
548 @ Set Default [---]
549
550[.lib.auto.vms.DCLsym]DCLsym$(E) : [.vms.ext.DCLsym]Descrip.MMS
551 @ Set Default [.vms.ext.DCLsym]
552 $(MMS)
553 @ Set Default [---]
554
555[.t.lib]vms_dclsym.t : [.vms.ext.DCLsym]test.pl
556 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
557
558# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
559# ${@} necessary to distract different versions of MM[SK]/make
560[.vms.ext.DCLsym]Descrip.MMS : [.vms.ext.DCLsym]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
561 $(MINIPERL) "-I[---.lib]" -e "chdir('[.vms.ext.DCLsym]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
562
563attrs : [.lib]attrs.pm [.lib.auto.attrs]attrs$(E)
564 @ $(NOOP)
565
566[.lib]attrs.pm : [.ext.attrs]Descrip.MMS
567 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
568 @ Set Default [.ext.attrs]
569 $(MMS)
570 @ Set Default [--]
571
572[.lib.auto.attrs]attrs$(E) : [.ext.attrs]Descrip.MMS
573 @ Set Default [.ext.attrs]
574 $(MMS)
575 @ Set Default [--]
576
577# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
578# ${@} necessary to distract different versions of MM[SK]/make
579[.ext.attrs]Descrip.MMS : [.ext.Fcntl]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
580 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.attrs]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
581
582POSIX : [.lib]POSIX.pm [.lib.auto.POSIX]POSIX$(E)
583 @ $(NOOP)
584
585[.lib]POSIX.pm : [.ext.POSIX]Descrip.MMS
586 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
587 @ Set Default [.ext.POSIX]
588 $(MMS)
589 @ Set Default [--]
590
591[.lib.auto.POSIX]POSIX$(E) : [.ext.POSIX]Descrip.MMS
592 @ Set Default [.ext.POSIX]
593 $(MMS)
594 @ Set Default [--]
595
596# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
597# ${@} necessary to distract different versions of MM[SK]/make
598[.ext.POSIX]Descrip.MMS : [.ext.POSIX]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
599 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.POSIX]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
600
5facb94f
HM
601Dumper : [.lib.data]dumper.pm [.lib.auto.data.dumper]dumper$(E)
602 @ $(NOOP)
603
604[.lib.data]dumper.pm : [.ext.data.dumper]Descrip.MMS
605 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
606 @ Set Default [.ext.data.dumper]
607 $(MMS)
608 @ Set Default [---]
609
610[.lib.auto.data.dumper]dumper$(E) : [.ext.data.dumper]Descrip.MMS
611 @ Set Default [.ext.data.dumper]
612 $(MMS)
613 @ Set Default [---]
614
615# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
616# ${@} necessary to distract different versions of MM[SK]/make
617[.ext.data.dumper]Descrip.MMS : [.ext.data.dumper]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
618 $(MINIPERL) "-I[---.lib]" -e "chdir('[.ext.data.dumper]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
619
620re : [.lib]re.pm [.lib.auto.re]re$(E)
621 @ $(NOOP)
622
f24bbd7d 623[.lib]re.pm : [.ext.re]re.pm
5facb94f 624 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
f24bbd7d 625 @ copy [.ext.re]re.pm [.lib]re.pm
5facb94f
HM
626
627[.lib.auto.re]re$(E) : [.ext.re]Descrip.MMS
f24bbd7d 628 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
5facb94f
HM
629 @ Set Default [.ext.re]
630 $(MMS)
631 @ Set Default [--]
632
633# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
634# ${@} necessary to distract different versions of MM[SK]/make
635[.ext.re]Descrip.MMS : [.ext.re]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
636 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.re]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
637
97abc6ad
HM
638THREAD : [.lib]THREAD.pm [.lib.auto.THREAD]THREAD$(E)
639 @ $(NOOP)
640
641[.lib]THREAD.pm : [.ext.THREAD]Descrip.MMS
642 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
643 @ Set Default [.ext.THREAD]
644 $(MMS)
645 @ Set Default [--]
646
647[.lib.auto.THREAD]THREAD$(E) : [.ext.THREAD]Descrip.MMS
648 @ Set Default [.ext.THREAD]
649 $(MMS)
650 @ Set Default [--]
651
652# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
653# ${@} necessary to distract different versions of MM[SK]/make
654[.ext.THREAD]Descrip.MMS : [.ext.THREAD]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
655 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.THREAD]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
656
c05f8f3d
HM
657Errno : [.lib]Errno.pm
658 @ $(NOOP)
659
660[.lib]Errno.pm : [.ext.Errno]Descrip.MMS
661 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
662 @ Set Default [.ext.Errno]
663 $(MMS)
664 @ Set Default [--]
665
666# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
667# ${@} necessary to distract different versions of MM[SK]/make
668[.ext.Errno]Descrip.MMS : [.ext.Errno]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
669 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.Errno]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
670
97abc6ad
HM
671SDBM_File : [.lib]SDBM_File.pm [.lib.auto.SDBM_File]SDBM_File$(E)
672 @ $(NOOP)
673
674[.lib]SDBM_File.pm : [.ext.SDBM_File]Descrip.MMS
675 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
676 @ If F$Search("[.lib.auto]sdbm.dir").eqs."" Then Create/Directory [.lib.auto.sdbm]
677 @ Set Default [.ext.SDBM_File]
678 $(MMS)
679 @ Set Default [--]
680
681[.lib.auto.SDBM_File]SDBM_File$(E) : [.ext.SDBM_File]Descrip.MMS
682 @ Set Default [.ext.SDBM_File]
683 $(MMS)
684 @ Set Default [--]
685
686# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
687# ${@} necessary to distract different versions of MM[SK]/make
688[.ext.SDBM_File]Descrip.MMS : [.ext.SDBM_File]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
689 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.SDBM_File]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
690
691IO : [.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)
692 @ $(NOOP)
693
694[.lib]IO.pm : [.ext.IO]Descrip.MMS
695 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
696 @ Set Default [.ext.IO]
697 $(MMS)
698 @ Set Default [--]
699
700[.lib.IO]File.pm : [.ext.IO]Descrip.MMS
701 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
702 @ Set Default [.ext.IO]
703 $(MMS)
704 @ Set Default [--]
705
706[.lib.IO]Handle.pm : [.ext.IO]Descrip.MMS
707 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
708 @ Set Default [.ext.IO]
709 $(MMS)
710 @ Set Default [--]
711
712[.lib.IO]Pipe.pm : [.ext.IO]Descrip.MMS
713 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
714 @ Set Default [.ext.IO]
715 $(MMS)
716 @ Set Default [--]
717
718[.lib.IO]Seekable.pm : [.ext.IO]Descrip.MMS
719 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
720 @ Set Default [.ext.IO]
721 $(MMS)
722 @ Set Default [--]
723
724[.lib.IO]Socket.pm : [.ext.IO]Descrip.MMS
725 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
726 @ Set Default [.ext.IO]
727 $(MMS)
728 @ Set Default [--]
729
730[.lib.auto.IO]IO$(E) : [.ext.IO]Descrip.MMS
731 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
732 @ Set Default [.ext.IO]
733 $(MMS)
734 @ Set Default [--]
735
736# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
737# ${@} necessary to distract different versions of MM[SK]/make
738[.ext.IO]Descrip.MMS : [.ext.IO]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
739 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.IO]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
740
741B : [.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)
742 @ $(NOOP)
743
744[.lib]B.pm : [.ext.B]Descrip.MMS
745 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
746 @ Set Default [.ext.B]
747 $(MMS)
748 @ Set Default [--]
749
750[.lib]O.pm : [.ext.B]Descrip.MMS
751 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
752 @ Set Default [.ext.B]
753 $(MMS)
754 @ Set Default [--]
755
756[.lib.B]Asmdata.pm : [.ext.B]Descrip.MMS
757 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
758 @ Set Default [.ext.B]
759 $(MMS)
760 @ Set Default [--]
761
762[.lib.B]Assembler.pm : [.ext.B]Descrip.MMS
763 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
764 @ Set Default [.ext.B]
765 $(MMS)
766 @ Set Default [--]
767
768[.lib.B]Bblock.pm : [.ext.B]Descrip.MMS
769 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
770 @ Set Default [.ext.B]
771 $(MMS)
772 @ Set Default [--]
773
774[.lib.B]Bytecode.pm : [.ext.B]Descrip.MMS
775 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
776 @ Set Default [.ext.B]
777 $(MMS)
778 @ Set Default [--]
779
780[.lib.B]C.pm : [.ext.B]Descrip.MMS
781 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
782 @ Set Default [.ext.B]
783 $(MMS)
784 @ Set Default [--]
785
786[.lib.B]CC.pm : [.ext.B]Descrip.MMS
787 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
788 @ Set Default [.ext.B]
789 $(MMS)
790 @ Set Default [--]
791
792[.lib.B]Debug.pm : [.ext.B]Descrip.MMS
793 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
794 @ Set Default [.ext.B]
795 $(MMS)
796 @ Set Default [--]
797
798[.lib.B]Deparse.pm : [.ext.B]Descrip.MMS
799 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
800 @ Set Default [.ext.B]
801 $(MMS)
802 @ Set Default [--]
803
804[.lib.B]Disassembler.pm : [.ext.B]Descrip.MMS
805 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
806 @ Set Default [.ext.B]
807 $(MMS)
808 @ Set Default [--]
809
810[.lib.B]Lint.pm : [.ext.B]Descrip.MMS
811 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
812 @ Set Default [.ext.B]
813 $(MMS)
814 @ Set Default [--]
815
816[.lib.B]Showlex.pm : [.ext.B]Descrip.MMS
817 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
818 @ Set Default [.ext.B]
819 $(MMS)
820 @ Set Default [--]
821
822[.lib.B]Stackobj.pm : [.ext.B]Descrip.MMS
823 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
824 @ Set Default [.ext.B]
825 $(MMS)
826 @ Set Default [--]
827
828[.lib.B]Terse.pm : [.ext.B]Descrip.MMS
829 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
830 @ Set Default [.ext.B]
831 $(MMS)
832 @ Set Default [--]
833
834[.lib.B]Xref.pm : [.ext.B]Descrip.MMS
835 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
836 @ Set Default [.ext.B]
837 $(MMS)
838 @ Set Default [--]
839
840[.lib.auto.B]B$(E) : [.ext.B]Descrip.MMS
841 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
842 @ Set Default [.ext.B]
843 $(MMS)
844 @ Set Default [--]
845
846# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
847# ${@} necessary to distract different versions of MM[SK]/make
848[.ext.B]Descrip.MMS : [.ext.B]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
849 $(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.B]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
850
851[.lib]vmsish.pm : [.vms.ext]vmsish.pm
852 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
853
854[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
855 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
856 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
857
858[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
859 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
860 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
861
862[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
863 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
864 $(MINIPERL) $(MMS$SOURCE)
865 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
866
867[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
868 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
869
870[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
871 $(MINIPERL) $(MMS$SOURCE)
872
873[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
874 $(MINIPERL) $(MMS$SOURCE)
875
876[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
877 $(MINIPERL) $(MMS$SOURCE)
878
879[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
880 $(MINIPERL) $(MMS$SOURCE)
881 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
882
be46aa5a
HM
883[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
884 $(MINIPERL) $(MMS$SOURCE)
885 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
886
97abc6ad
HM
887[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
888 $(MINIPERL) $(MMS$SOURCE)
889
890[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
891 $(MINIPERL) $(MMS$SOURCE)
892 Copy/Log [.utils]splain.com $(MMS$TARGET)
893
894[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
895 $(MINIPERL) $(MMS$SOURCE)
896
897[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
898 $(MINIPERL) $(MMS$SOURCE)
899
900# Rename catches problem with some DECC versions in which object file is
901# placed in current default dir, not same one as source file.
902[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
903 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
904 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
905
906# Accomodate buggy cpp in some version of DECC, which chokes on illegal
907# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
908# search in same dir as source file
909[.x2p]a2p$(O) : [.x2p]a2p.c $(MINIPERL_EXE)
910 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 911 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
912 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
913
914# gcc cpp broken -- doesn't look in directory of source file for #include ""
915.ifdef GNUC
916[.x2p]hash$(O) : [.x2p]hash.c
3a385817 917 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
918
919[.x2p]str$(O) : [.x2p]str.c
3a385817 920 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
921
922[.x2p]util$(O) : [.x2p]util.c
3a385817 923 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
924
925[.x2p]walk$(O) : [.x2p]walk.c
3a385817 926 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
927.endif
928
929[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
930 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
931 $(MINIPERL) $(MMS$SOURCE)
932 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
933
934[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
935 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
936 $(MINIPERL) $(MMS$SOURCE)
937 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
938
939[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
940 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
941 $(MINIPERL) $(MMS$SOURCE)
942 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
943
944[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
945 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
946 $(MINIPERL) $(MMS$SOURCE)
947 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
948
949preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
950 @ Write Sys$Output "Autosplitting Perl library . . ."
951 @ Create/Directory [.lib.auto]
952 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
953
954[.lib.pod]perl.pod : [.pod]perl.pod
955 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
956 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
957
958[.lib.pod]perlapio.pod : [.pod]perlapio.pod
959 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
960 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
961
962[.lib.pod]perlbook.pod : [.pod]perlbook.pod
963 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
964 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
965
966[.lib.pod]perlbot.pod : [.pod]perlbot.pod
967 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
968 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
969
970[.lib.pod]perlcall.pod : [.pod]perlcall.pod
971 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
972 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
973
974[.lib.pod]perldata.pod : [.pod]perldata.pod
975 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
976 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
977
978[.lib.pod]perldebug.pod : [.pod]perldebug.pod
979 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
980 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
981
982[.lib.pod]perldelta.pod : [.pod]perldelta.pod
983 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
984 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
985
986[.lib.pod]perldiag.pod : [.pod]perldiag.pod
987 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
988 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
989
990[.lib.pod]perldsc.pod : [.pod]perldsc.pod
991 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
992 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
993
994[.lib.pod]perlembed.pod : [.pod]perlembed.pod
995 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
996 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
997
998[.lib.pod]perlform.pod : [.pod]perlform.pod
999 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1000 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1001
1002[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
1003 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1004 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1005
1006[.lib.pod]perlguts.pod : [.pod]perlguts.pod
1007 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1008 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1009
1010[.lib.pod]perllocale.pod : [.pod]perllocale.pod
1011 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1012 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1013
1014[.lib.pod]perlipc.pod : [.pod]perlipc.pod
1015 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1016 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1017
1018[.lib.pod]perllol.pod : [.pod]perllol.pod
1019 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1020 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1021
1022[.lib.pod]perlmod.pod : [.pod]perlmod.pod
1023 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1024 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1025
1026[.lib.pod]perlobj.pod : [.pod]perlobj.pod
1027 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1028 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1029
1030[.lib.pod]perlop.pod : [.pod]perlop.pod
1031 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1032 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1033
1034[.lib.pod]perlpod.pod : [.pod]perlpod.pod
1035 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1036 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1037
1038[.lib.pod]perlre.pod : [.pod]perlre.pod
1039 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1040 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1041
1042[.lib.pod]perlref.pod : [.pod]perlref.pod
1043 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1044 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1045
1046[.lib.pod]perlrun.pod : [.pod]perlrun.pod
1047 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1048 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1049
1050[.lib.pod]perlsec.pod : [.pod]perlsec.pod
1051 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1052 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1053
1054[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
1055 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1056 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1057
1058[.lib.pod]perlsub.pod : [.pod]perlsub.pod
1059 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1060 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1061
1062[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
1063 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1064 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1065
1066[.lib.pod]perltie.pod : [.pod]perltie.pod
1067 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1068 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1069
1070[.lib.pod]perltoc.pod : [.pod]perltoc.pod
1071 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1072 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1073
1074[.lib.pod]perltoot.pod : [.pod]perltoot.pod
1075 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1076 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1077
3937c24e
HM
1078[.lib.pod]perlreftut.pod : [.pod]perlreftut.pod
1079 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1080 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1081
97abc6ad
HM
1082[.lib.pod]perltrap.pod : [.pod]perltrap.pod
1083 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1084 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1085
1086[.lib.pod]perlvar.pod : [.pod]perlvar.pod
1087 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1088 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1089
1090[.lib.pod]perlxs.pod : [.pod]perlxs.pod
1091 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1092 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1093
1094[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
1095 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1096 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1097
1098[.lib.pod]perlvms.pod : [.vms]perlvms.pod
1099 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
1100 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1101
1102printconfig :
1103 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 1104 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
1105
1106.ifdef SOCKET
1107
1108.ifdef LINK_ONLY
1109.else
1110[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
1111 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
1112
1113[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
1114 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
1115.endif # !LINK_ONLY
1116
1117vmsish.h : $(SOCKH)
1118
9ef4b0a6 1119$(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 perlio.h
97abc6ad
HM
1120
1121$(SOCKC) : [.vms]$(SOCKC)
1122 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
1123
1124$(SOCKH) : [.vms]$(SOCKH)
1125 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
1126
1127[.lib]Socket.pm : [.ext.Socket]Socket.pm
1128 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1129.endif
1130
1131# The following three header files are generated automatically
1132# keywords.h : keywords.pl
1133# opcode.h : opcode.pl
1134# embed.h : embed.pl global.sym interp.sym
1135# The correct versions should be already supplied with the perl kit,
1136# in case you don't have perl available.
1137# To force them to run, type
1138# MMS regen_headers
1139regen_headers :
1140 $(INSTPERL) keywords.pl
1141 $(INSTPERL) opcode.pl
1142 $(INSTPERL) embed.pl
1143
1144# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
1145perly.c : [.vms]perly_c.vms
1146 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1147perly.h : [.vms]perly_h.vms
1148 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1149
1150# I now supply perly.c with the kits, so the following section is
1151# commented out if you don't have byacc.
1152# Altered for VMS by Charles Bailey bailey@genetics.upenn.edu
1153# perly.c:
1154# @ Write Sys$Output "Expect 80 shift/reduce and 62 reduce/reduce conflicts"
1155# \$(BYACC) -d perly.y
1156# Has to be done by hand or by POSIX shell under VMS
1157# sh \$(shellflags) ./perly.fixer y.tab.c perly.c
1158# rename y.tab.h perly.h
1159# $(INSTPERL) [.vms]vms_yfix.pl perly.c perly.h [.vms]perly_c.vms [.vms]perly_h.vms
1160
1161.ifdef LINK_ONLY
1162.else
1163perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
1164.endif
1165
1166[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
1167 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1168
1169[.t.lib]vmsish.t : [.vms.ext]vmsish.t
1170 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
1171
1172test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
1173 - @[.VMS]Test.Com "$(E)"
1174
3a385817
GS
1175# install ought not need a source, but it doesn't work if one's not
1176# there. Go figure...
1177install : $(MINIPERL_EXE)
97abc6ad
HM
1178 $(MINIPERL) installperl
1179
1180archify : all
1181 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
1182 archroot = "$(ARCHAUTO)" - "]" + "...]"
1183 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
1184 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
1185 Delete/Log/NoConfirm [.lib]Config.pm;*
1186 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
1187 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
1188 @ Write Sys$Output "Architecture-specific setup completed."
1189 @ Write Sys$Output "Before building for another architecture, be sure to"
1190 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
1191 @ Write Sys$Output " 2. Delete Miniperl$(E)"
1192
1193# CORE subset for MakeMaker, so we can build Perl without sources
1194# Should move to VMS installperl when we get one
1195$(ARCHCORE)EXTERN.h : EXTERN.h
1196 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1197 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1198$(ARCHCORE)INTERN.h : INTERN.h
1199 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1200 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1201$(ARCHCORE)XSUB.h : XSUB.h
1202 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1203 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1204$(ARCHCORE)bytecode.h : bytecode.h
1205 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1206 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1207$(ARCHCORE)byterun.h : byterun.h
1208 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1209 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1210$(ARCHCORE)av.h : av.h
1211 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1212 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1213$(ARCHCORE)config.h : config.h
1214 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1215 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1216$(ARCHCORE)cop.h : cop.h
1217 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1218 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1219$(ARCHCORE)cv.h : cv.h
1220 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1221 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1222$(ARCHCORE)embed.h : embed.h
1223 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1224 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1225$(ARCHCORE)embedvar.h : embedvar.h
1226 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1227 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1228.ifdef FAKETHREADED
1229$(ARCHCORE)fakethr.h : fakethr.h
1230 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1231 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1232.endif
1233$(ARCHCORE)form.h : form.h
1234 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1235 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1236$(ARCHCORE)gv.h : gv.h
1237 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1238 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1239$(ARCHCORE)handy.h : handy.h
1240 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1241 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1242$(ARCHCORE)hv.h : hv.h
1243 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1244 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1245$(ARCHCORE)intrpvar.h : intrpvar.h
1246 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1247 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1248$(ARCHCORE)keywords.h : keywords.h
1249 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1250 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1251$(ARCHCORE)mg.h : mg.h
1252 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1253 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1254$(ARCHCORE)op.h : op.h
1255 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1256 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1257$(ARCHCORE)opcode.h : opcode.h
1258 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1259 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1260$(ARCHCORE)patchlevel.h : patchlevel.h
1261 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1262 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1263$(ARCHCORE)perl.h : perl.h
1264 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1265 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
3a385817
GS
1266$(ARCHCORE)iperlsys.h : iperlsys.h
1267 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1268 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1269$(ARCHCORE)perlsdio.h : perlsdio.h
1270 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1271 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
9ef4b0a6
BH
1272$(ARCHCORE)perlio.h : perlio.h
1273 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1274 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1275$(ARCHCORE)perlvars.h : perlvars.h
1276 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1277 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1278$(ARCHCORE)perly.h : perly.h
1279 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1280 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1281$(ARCHCORE)pp.h : pp.h
1282 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1283 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1284$(ARCHCORE)proto.h : proto.h
1285 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1286 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1287$(ARCHCORE)regcomp.h : regcomp.h
1288 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1289 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1290$(ARCHCORE)regexp.h : regexp.h
1291 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1292 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1293$(ARCHCORE)scope.h : scope.h
1294 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1295 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1296$(ARCHCORE)sv.h : sv.h
1297 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1298 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1299$(ARCHCORE)thrdvar.h : thrdvar.h
1300 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1301 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1302$(ARCHCORE)thread.h : thread.h
1303 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1304 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1305$(ARCHCORE)util.h : util.h
1306 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1307 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
3937c24e
HM
1308$(ARCHCORE)utf8.h : utf8.h
1309 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1310 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1311$(ARCHCORE)vmsish.h : vmsish.h
1312 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1313 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1314.ifdef SOCKET
1315$(ARCHCORE)$(SOCKH) : $(SOCKH)
1316 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1317 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1318.endif
1319$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1320 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1321 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1322$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1323 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1324 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1325$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1326 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1327 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1328$(ARCHAUTO)time.stamp :
1329 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1330 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1331
1332.ifdef LINK_ONLY
1333.else
1334# We need an action line here for broken older versions of MMS which
1335# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
1336#util$(O) : util.c
1337# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1338# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
3a385817
GS
1339av$(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 iperlsys.h
1340 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1341
1342byterun$(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 iperlsys.h
1343 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1344
1345deb$(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 iperlsys.h
1346 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1347
1348doio$(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 iperlsys.h
1349 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1350
1351doop$(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 iperlsys.h
1352 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1353
1354dump$(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 iperlsys.h
1355 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1356
1357globals$(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 iperlsys.h
1358 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1359
1360gv$(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 iperlsys.h
1361 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1362
1363hv$(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 iperlsys.h
1364 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1365
1366malloc$(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 iperlsys.h
1367 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1368
1369mg$(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 iperlsys.h
1370 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1371
1372miniperlmain$(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 iperlsys.h
1373 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1374
1375op$(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 iperlsys.h
1376 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1377
1378perl$(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 iperlsys.h
1379 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1380
1381perlio$(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 iperlsys.h
1382 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1383
1384perlmain$(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 iperlsys.h
1385 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1386
1387byteperl$(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 iperlsys.h
1388 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1389
1390perly$(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 iperlsys.h
1391 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1392
1393pp$(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 iperlsys.h
1394 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1395
1396pp_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 iperlsys.h
1397 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1398
1399pp_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 iperlsys.h
1400 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1401
1402pp_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 iperlsys.h
1403 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1404
1405regcomp$(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 iperlsys.h
1406 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1407
1408regexec$(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 iperlsys.h
1409 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1410
1411run$(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 iperlsys.h
1412 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1413
1414scope$(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 iperlsys.h
1415 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1416
1417sv$(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 iperlsys.h
1418 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1419
1420taint$(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 iperlsys.h
1421 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1422
1423toke$(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 iperlsys.h
1424 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1425
3937c24e
HM
1426utf8$(O) : utf8.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 iperlsys.h utf8.h
1427 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1428
3a385817
GS
1429universal$(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 iperlsys.h
1430 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1431
1432util$(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 iperlsys.h
1433 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1434
1435vms$(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 iperlsys.h
1436 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1437
1438#[.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
1439# $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1440
97abc6ad 1441[.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
3a385817
GS
1442 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1443
97abc6ad 1444[.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
3a385817
GS
1445 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1446
97abc6ad 1447[.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
3a385817
GS
1448 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1449
97abc6ad 1450[.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
3a385817
GS
1451 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1452
97abc6ad
HM
1453# End of automatically generated make dependencies
1454.endif # !LINK_ONLY
1455
1456vmsish.h : [.vms]vmsish.h
1457 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1458
1459vms.c : [.vms]vms.c
1460 Copy/Log/Noconfirm [.vms]vms.c []
1461
1462$(CRTL) : $(MAKEFILE)
9ef4b0a6 1463 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1464
1465
1466cleanlis :
1467 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1468 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1469 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1470
1471tidy : cleanlis
1472 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1473 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1474 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1475 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1476 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1477 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1478 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1479 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1480 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1481 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
1482 - If F$Search("byteperl.C;-1") .nes."" Then Purge/NoConfirm/Log byteperl.C
1483 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1484 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1485 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1486 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1487 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1488 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1489 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1490 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1491 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1492 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
1493 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1494 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1495 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1496 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1497 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1498 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1499 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1500 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1501 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1502 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1503 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1504 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1505 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1506
1507clean : tidy
1508 Set Default [.ext.Fcntl]
1509 - $(MMS) clean
1510 Set Default [--]
c05f8f3d
HM
1511 Set Default [.ext.Errno]
1512 - $(MMS) clean
1513 Set Default [--]
97abc6ad
HM
1514 Set Default [.ext.IO]
1515 - $(MMS) clean
1516 Set Default [--]
1517 Set Default [.ext.Opcode]
1518 - $(MMS) clean
1519 Set Default [--]
1520 Set Default [.ext.attrs]
1521 - $(MMS) clean
1522 Set Default [--]
1523 Set Default [.ext.B]
1524 - $(MMS) clean
1525 Set Default [--]
1526.ifdef THREAD
1527 Set Default [.ext.Thread]
1528 - $(MMS) realclean
1529 Set Default [--]
1530.endif
1531.ifdef DECC
1532 Set Default [.ext.POSIX]
1533 - $(MMS) clean
1534 Set Default [--]
1535.endif
1536 Set Default [.ext.SDBM_File]
1537 - $(MMS) clean
1538 Set Default [--]
1539 Set Default [.vms.ext.Stdio]
1540 - $(MMS) clean
1541 Set Default [---]
1542 Set Default [.vms.ext.DCLsym]
1543 - $(MMS) clean
1544 Set Default [---]
3bf5f72b
GS
1545 Set Default [.ext.re]
1546 - $(MMS) clean
1547 Set Default [--]
1548 Set Default [.ext.dumper]
1549 - $(MMS) clean
1550 Set Default [--]
97abc6ad
HM
1551 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1552 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1553 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1554 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1555 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
1556 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
1557 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1558 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1559 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
1560 - If F$Search("byteperl.C") .nes."" Then Delete/NoConfirm/Log byteperl.C;*
1561 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1562 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1563 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1564 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
1565 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1566 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1567 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1568 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1569 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1570
3bf5f72b 1571realclean : tidy
97abc6ad
HM
1572 Set Default [.ext.Fcntl]
1573 - $(MMS) realclean
1574 Set Default [--]
c05f8f3d
HM
1575 Set Default [.ext.Errno]
1576 - $(MMS) realclean
1577 Set Default [--]
97abc6ad
HM
1578 Set Default [.ext.IO]
1579 - $(MMS) realclean
1580 Set Default [--]
1581 Set Default [.ext.Opcode]
1582 - $(MMS) realclean
1583 Set Default [--]
1584 Set Default [.ext.attrs]
1585 - $(MMS) realclean
1586 Set Default [--]
1587 Set Default [.ext.B]
1588 - $(MMS) realclean
1589 Set Default [--]
1590.ifdef THREAD
1591 Set Default [.ext.Thread]
1592 - $(MMS) realclean
1593 Set Default [--]
1594.endif
1595.ifdef DECC
1596 Set Default [.ext.POSIX]
1597 - $(MMS) realclean
1598 Set Default [--]
1599.endif
1600 Set Default [.ext.SDBM_File]
1601 - $(MMS) realclean
1602 Set Default [--]
1603 Set Default [.vms.ext.Stdio]
f24bbd7d 1604 - $(MMS) realclean
97abc6ad
HM
1605 Set Default [---]
1606 Set Default [.vms.ext.DCLsym]
f24bbd7d 1607 - $(MMS) realclean
97abc6ad 1608 Set Default [---]
3bf5f72b
GS
1609 Set Default [.ext.dumper]
1610 - $(MMS) realclean
1611 Set Default [--]
1612 Set Default [.ext.re]
1613 - $(MMS) realclean
1614 Set Default [--]
97abc6ad
HM
1615 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1616 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1617 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1618 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
97abc6ad
HM
1619 - If F$Search("descrip.mms").nes."" Then Delete/NoConfirm/Log descrip.mms;*
1620 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
1621 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
1622 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1623 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1624 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
1625 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1626 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1627 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1628 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1629 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1630 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1631 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1632 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1633 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1634 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
1635
1636cleansrc : clean
1637 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1638 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1639 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1640 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1641 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1642 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1643 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1644 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1645 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1646 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs
1647!GROK!THIS!