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