This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix prototypes in perlapi.c (64-bit?)
[perl5.git] / vms / descrip_mms.template
CommitLineData
97abc6ad
HM
1!GROK!THIS!
2# Descrip.MMS for perl5 on VMS
cc391245 3# Last revised 18-Oct-1998 by Charles Bailey bailey@newman.upenn.edu
97abc6ad
HM
4#
5#: This file uses MMS syntax, and can be processed using DEC's MMS product,
6#: or the free MMK clone (available by ftp at ftp.spc.edu). If you want to
7#: a Unix-style MAKE tool, run this file through mms2make.pl, which should
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
cc391245
CB
241# Space-separated list of "dynamic" extensions which should be built for
242# run-time dynamic loading.
cc077a9f 243dynamic_ext = $extensions
cc391245 244
97abc6ad
HM
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 266
9ef4b0a6
BH
267.ifdef THRLIBS1
268.else
269THRLIBS1=
270.endif
271
272.ifdef THRLIBS2
273.else
274THRLIBS2=
275.endif
276
277FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
278
97abc6ad
HM
279#### End of system configuration section. ####
280
281
282h1 = EXTERN.h, INTERN.h, XSUB.h, av.h, bytecode.h, byterun.h, config.h, cop.h, cv.h
283h2 = embed.h, form.h, gv.h, handy.h, hv.h, keywords.h, mg.h, op.h, thread.h
284h3 = opcode.h, patchlevel.h, perl.h, perly.h, pp.h, proto.h, regcomp.h
9ef4b0a6 285h4 = regexp.h, scope.h, sv.h, vmsish.h, util.h, perlsdio.h, perlio.h
3a385817 286h5 = embedvar.h, intrpvar.h, perlvars.h, thrdvar.h, iperlsys.h
cc391245
CB
287h6 = pp_proto.h, regnodes.h, warning.h
288h = $(h1), $(h2), $(h3), $(h4), $(h5), $(h6) $(SOCKHLIS) $(THREADH)
97abc6ad 289
3937c24e 290c1 = av.c, scope.c, op.c, doop.c, doio.c, dump.c, hv.c, mg.c, universal.c, perlio.c, utf8.c
429a5e67 291c2 = perl.c, perly.c, pp.c, pp_hot.c, pp_ctl.c, pp_sys.c, regcomp.c, regexec.c $(MALLOC_C)
cc391245 292c3 = gv.c, sv.c, taint.c, toke.c, utf8.c, util.c, deb.c, run.c, globals.c, vms.c, byterun.c $(SOCKCLIS)
97abc6ad
HM
293
294c = $(c1), $(c2), $(c3), miniperlmain.c, perlmain.c, byteperl.c
295
cc391245 296obj1 = perl$(O), gv$(O), toke$(O), perly$(O), op$(O), regcomp$(O), dump$(O), utf8$(O), util$(O), mg$(O), perlio$(O) $(MALLOC_O)
3937c24e 297obj2 = 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
298obj3 = doop$(O), doio$(O), regexec$(O), taint$(O), deb$(O), universal$(O), globals$(O), vms$(O), byterun$(O) $(SOCKOBJ)
299
300obj = $(obj1), $(obj2), $(obj3)
301
302ac1 = $(ARCHCORE)EXTERN.h $(ARCHCORE)INTERN.h $(ARCHCORE)XSUB.h $(ARCHCORE)av.h
303ac2 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
3937c24e 304ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h $(ARCHCORE)utf8.h
97abc6ad 305ac4 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
3a385817 306ac5 = $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h $(ARCHCORE)perly.h $(ARCHCORE)thread.h $(ARCHCORE)iperlsys.h
caa4726a 307ac6 = $(ARCHCORE)pp.h $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h $(ARCHCORE)perlsdio.h $(ARCHCORE)perlio.h
c05f8f3d
HM
308ac7 = $(ARCHCORE)regexp.h $(ARCHCORE)scope.h $(ARCHCORE)sv.h $(ARCHCORE)util.h
309ac8 = $(ARCHCORE)embedvar.h $(ARCHCORE)intrpvar.h $(ARCHCORE)perlvars.h $(ARCHCORE)thrdvar.h
caa4726a 310ac9 = $(ARCHCORE)vmsish.h $(ARCHCORE)warning.h $(ARCHCORE)$(DBG)libperl$(OLB) $(ARCHCORE)perlshr_attr.opt
c05f8f3d 311ac10 = $(ARCHCORE)$(DBG)perlshr_bld.opt $(ARCHCORE)bytecode.h $(ARCHCORE)byterun.h
cc391245 312ac11 = $(ARCHCORE)cc_runtime.h
97abc6ad
HM
313.ifdef SOCKET
314acs = $(ARCHCORE)$(SOCKH)
315.else
316acs =
317.endif
318
c05f8f3d 319
97abc6ad
HM
320CRTL = []crtl.opt
321CRTLOPTS =,$(CRTL)/Options
322
323.SUFFIXES
324
325.ifdef LINK_ONLY
326.else
327.SUFFIXES $(O) .c .xs
328
329.xs.c :
330 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
331
332
333.c$(O) :
334 $(CC) $(CFLAGS) $(MMS$SOURCE)
335
336.xs$(O) :
337 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
338 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
339.endif
340
341# Modules which must be installed before we can build extensions
342LIBPREREQ = $(ARCHDIR)Config.pm [.lib]DynaLoader.pm [.lib]vmsish.pm [.lib.VMS]Filespec.pm [.lib.ExtUtils]XSSymSet.pm
343
95667ae4 344utils1 = [.lib.pod]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com [.utils]h2xs.com [.lib]perlbug.com [.lib]perlcc.com [.utils]dprofpp.com
97abc6ad
HM
345utils2 = [.lib]splain.com [.utils]pl2pm.com
346
347.ifdef NOX2P
348all : base extras archcorefiles preplibrary perlpods
349 @ $(NOOP)
350.else
351all : base extras x2p archcorefiles preplibrary perlpods
352 @ $(NOOP)
353.endif
354base : miniperl perl
355 @ $(NOOP)
cc391245 356extras : dynext libmods utils podxform
97abc6ad
HM
357 @ $(NOOP)
358libmods : $(LIBPREREQ)
359 @ $(NOOP)
360utils : $(utils1) $(utils2)
361 @ $(NOOP)
362podxform : [.lib.pod]pod2text.com [.lib.pod]pod2html.com [.lib.pod]pod2latex.com [.lib.pod]pod2man.com
363 @ $(NOOP)
364x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
365 @ $(NOOP)
366
367pod1 = [.lib.pod]perl.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod
368pod2 = [.lib.pod]perldata.pod [.lib.pod]perldebug.pod [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
369pod3 = [.lib.pod]perlembed.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod [.lib.pod]perlguts.pod
370pod4 = [.lib.pod]perlipc.pod [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod [.lib.pod]perlobj.pod
a1e2a320
GS
371pod5 = [.lib.pod]perlop.pod [.lib.pod]perlpod.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod [.lib.pod]perlreftut.pod
372pod6 = [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
97abc6ad
HM
373pod7 = [.lib.pod]perltie.pod [.lib.pod]perltoc.pod [.lib.pod]perltoot.pod
374pod8 = [.lib.pod]perltrap.pod [.lib.pod]perlvar.pod [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod
375
376perlpods : $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) [.lib.pod]perlvms.pod
377 @ $(NOOP)
378
c05f8f3d 379archcorefiles : $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(acs) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
380 @ $(NOOP)
381
382miniperl : $(DBG)miniperl$(E)
383 @ Continue
384$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
385 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
386$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
387 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
388
389$(DBG)libperl$(OLB) : $(obj)
390 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
391 Library/Object/Replace $(MMS$TARGET) $(obj1)
392 Library/Object/Replace $(MMS$TARGET) $(obj2)
393 Library/Object/Replace $(MMS$TARGET) $(obj3)
394
395perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
396 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
397
97abc6ad
HM
398.ifdef __DEBUG__
399# Link an extra perl that doesn't invoke the debugger
1f052492 400perl : $(DBG)perl$(E)
97abc6ad 401 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 402.else
1f052492 403perl : $(DBG)perl$(E)
97abc6ad
HM
404 @ Continue
405.endif
406
407$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
408 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
409.ifdef MT
410 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
411.else
97abc6ad 412 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 413.endif
97abc6ad 414
97abc6ad
HM
415$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
416 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
417
418# The following files are built in one go by gen_shrfls.pl:
419# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
420# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
421# The song and dance with gen_shrfls.opt accomodates DCL's 255 character
422# line length limit.
423.ifdef PIPES_BROKEN
424# This is a backup target used only with older versions of the DECCRTL which
425# can't deal with pipes properly. See ReadMe.VMS for details.
426$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
427 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
428 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
429 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
430 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
431 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
432 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
433 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
434.else
435$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
436 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
437 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
438 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
439 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
440 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
441 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
442.endif
443
444$(ARCHDIR)config.pm : [.lib]config.pm
445 Create/Directory $(ARCHDIR)
446 Copy $(MMS$SOURCE) $(MMS$TARGET)
447
cc391245 448[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad
HM
449 $(MINIPERL) ConfigPM.
450
429a5e67 451[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
452 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
453
454[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
455 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
456
457[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
458 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
459 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
460 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
461
429a5e67 462[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
463 $(MINIPERL) $(MMS$SOURCE)
464 @ Rename/Log dynaloader.pm [.ext.dynaloader]
465
cc391245
CB
466dynext : $(LIBPREREQ) $(DBG)perlshr$(E)
467 @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad
HM
468
469[.lib]vmsish.pm : [.vms.ext]vmsish.pm
470 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
471
472[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
473 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
474 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
475
476[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
477 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
478 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
479
480[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
481 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
482 $(MINIPERL) $(MMS$SOURCE)
483 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
484
485[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
486 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
487
488[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
489 $(MINIPERL) $(MMS$SOURCE)
490
95667ae4
GS
491[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
492 $(MINIPERL) $(MMS$SOURCE)
493
97abc6ad
HM
494[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
495 $(MINIPERL) $(MMS$SOURCE)
496
497[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
498 $(MINIPERL) $(MMS$SOURCE)
499
500[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
501 $(MINIPERL) $(MMS$SOURCE)
502 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
503
be46aa5a
HM
504[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
505 $(MINIPERL) $(MMS$SOURCE)
506 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
507
97abc6ad
HM
508[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
509 $(MINIPERL) $(MMS$SOURCE)
510
511[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
512 $(MINIPERL) $(MMS$SOURCE)
513 Copy/Log [.utils]splain.com $(MMS$TARGET)
514
515[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
516 $(MINIPERL) $(MMS$SOURCE)
517
518[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
519 $(MINIPERL) $(MMS$SOURCE)
520
521# Rename catches problem with some DECC versions in which object file is
522# placed in current default dir, not same one as source file.
523[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
524 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
525 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
526
527# Accomodate buggy cpp in some version of DECC, which chokes on illegal
528# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
529# search in same dir as source file
530[.x2p]a2p$(O) : [.x2p]a2p.c $(MINIPERL_EXE)
531 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 532 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
533 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
534
535# gcc cpp broken -- doesn't look in directory of source file for #include ""
536.ifdef GNUC
537[.x2p]hash$(O) : [.x2p]hash.c
3a385817 538 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
539
540[.x2p]str$(O) : [.x2p]str.c
3a385817 541 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
542
543[.x2p]util$(O) : [.x2p]util.c
3a385817 544 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
545
546[.x2p]walk$(O) : [.x2p]walk.c
3a385817 547 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
548.endif
549
550[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
551 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
552 $(MINIPERL) $(MMS$SOURCE)
553 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
554
555[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
556 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
557 $(MINIPERL) $(MMS$SOURCE)
558 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
559
560[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
561 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
562 $(MINIPERL) $(MMS$SOURCE)
563 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
564
565[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
566 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
567 $(MINIPERL) $(MMS$SOURCE)
568 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
569
570preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
571 @ Write Sys$Output "Autosplitting Perl library . . ."
572 @ Create/Directory [.lib.auto]
573 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
574
575[.lib.pod]perl.pod : [.pod]perl.pod
576 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
577 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
578
579[.lib.pod]perlapio.pod : [.pod]perlapio.pod
580 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
581 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
582
583[.lib.pod]perlbook.pod : [.pod]perlbook.pod
584 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
585 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
586
587[.lib.pod]perlbot.pod : [.pod]perlbot.pod
588 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
589 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
590
591[.lib.pod]perlcall.pod : [.pod]perlcall.pod
592 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
593 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
594
595[.lib.pod]perldata.pod : [.pod]perldata.pod
596 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
597 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
598
599[.lib.pod]perldebug.pod : [.pod]perldebug.pod
600 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
601 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
602
603[.lib.pod]perldelta.pod : [.pod]perldelta.pod
604 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
605 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
606
607[.lib.pod]perldiag.pod : [.pod]perldiag.pod
608 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
609 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
610
611[.lib.pod]perldsc.pod : [.pod]perldsc.pod
612 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
613 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
614
615[.lib.pod]perlembed.pod : [.pod]perlembed.pod
616 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
617 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
618
619[.lib.pod]perlform.pod : [.pod]perlform.pod
620 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
621 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
622
623[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
624 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
625 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
626
627[.lib.pod]perlguts.pod : [.pod]perlguts.pod
628 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
629 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
630
631[.lib.pod]perllocale.pod : [.pod]perllocale.pod
632 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
633 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
634
635[.lib.pod]perlipc.pod : [.pod]perlipc.pod
636 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
637 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
638
639[.lib.pod]perllol.pod : [.pod]perllol.pod
640 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
641 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
642
643[.lib.pod]perlmod.pod : [.pod]perlmod.pod
644 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
645 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
646
647[.lib.pod]perlobj.pod : [.pod]perlobj.pod
648 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
649 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
650
651[.lib.pod]perlop.pod : [.pod]perlop.pod
652 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
653 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
654
655[.lib.pod]perlpod.pod : [.pod]perlpod.pod
656 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
657 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
658
659[.lib.pod]perlre.pod : [.pod]perlre.pod
660 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
661 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
662
663[.lib.pod]perlref.pod : [.pod]perlref.pod
664 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
665 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
666
667[.lib.pod]perlrun.pod : [.pod]perlrun.pod
668 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
669 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
670
671[.lib.pod]perlsec.pod : [.pod]perlsec.pod
672 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
673 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
674
675[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
676 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
677 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
678
679[.lib.pod]perlsub.pod : [.pod]perlsub.pod
680 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
681 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
682
683[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
684 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
685 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
686
687[.lib.pod]perltie.pod : [.pod]perltie.pod
688 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
689 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
690
691[.lib.pod]perltoc.pod : [.pod]perltoc.pod
692 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
693 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
694
695[.lib.pod]perltoot.pod : [.pod]perltoot.pod
696 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
697 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
698
3937c24e
HM
699[.lib.pod]perlreftut.pod : [.pod]perlreftut.pod
700 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
701 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
702
97abc6ad
HM
703[.lib.pod]perltrap.pod : [.pod]perltrap.pod
704 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
705 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
706
707[.lib.pod]perlvar.pod : [.pod]perlvar.pod
708 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
709 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
710
711[.lib.pod]perlxs.pod : [.pod]perlxs.pod
712 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
713 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
714
715[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
716 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
717 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
718
719[.lib.pod]perlvms.pod : [.vms]perlvms.pod
720 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
721 @ Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
722
723printconfig :
724 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 725 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
726
727.ifdef SOCKET
728
729.ifdef LINK_ONLY
730.else
731[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
732 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
733
734[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
735 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
736.endif # !LINK_ONLY
737
738vmsish.h : $(SOCKH)
739
9ef4b0a6 740$(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
741
742$(SOCKC) : [.vms]$(SOCKC)
743 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
744
745$(SOCKH) : [.vms]$(SOCKH)
746 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
747
748[.lib]Socket.pm : [.ext.Socket]Socket.pm
749 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
750.endif
751
752# The following three header files are generated automatically
753# keywords.h : keywords.pl
754# opcode.h : opcode.pl
755# embed.h : embed.pl global.sym interp.sym
756# The correct versions should be already supplied with the perl kit,
757# in case you don't have perl available.
758# To force them to run, type
759# MMS regen_headers
760regen_headers :
761 $(INSTPERL) keywords.pl
762 $(INSTPERL) opcode.pl
763 $(INSTPERL) embed.pl
cc391245
CB
764 $(INSTPERL) bytecode.pl
765 $(INSTPERL) regcomp.pl
766 $(INSTPERL) warning.pl
97abc6ad
HM
767
768# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
769perly.c : [.vms]perly_c.vms
770 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
771perly.h : [.vms]perly_h.vms
772 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
773
97abc6ad
HM
774.ifdef LINK_ONLY
775.else
776perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
777.endif
778
779[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
780 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
781
782[.t.lib]vmsish.t : [.vms.ext]vmsish.t
783 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
784
785test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
3eeba6fb 786 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
97abc6ad 787
3a385817
GS
788# install ought not need a source, but it doesn't work if one's not
789# there. Go figure...
790install : $(MINIPERL_EXE)
97abc6ad
HM
791 $(MINIPERL) installperl
792
793archify : all
794 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
795 archroot = "$(ARCHAUTO)" - "]" + "...]"
796 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
797 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
798 Delete/Log/NoConfirm [.lib]Config.pm;*
799 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
800 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
801 @ Write Sys$Output "Architecture-specific setup completed."
802 @ Write Sys$Output "Before building for another architecture, be sure to"
803 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
804 @ Write Sys$Output " 2. Delete Miniperl$(E)"
805
806# CORE subset for MakeMaker, so we can build Perl without sources
807# Should move to VMS installperl when we get one
808$(ARCHCORE)EXTERN.h : EXTERN.h
809 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
810 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
811$(ARCHCORE)INTERN.h : INTERN.h
812 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
813 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
814$(ARCHCORE)XSUB.h : XSUB.h
815 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
816 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
817$(ARCHCORE)bytecode.h : bytecode.h
818 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
819 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
820$(ARCHCORE)byterun.h : byterun.h
821 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
822 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
823$(ARCHCORE)av.h : av.h
824 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
825 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
826$(ARCHCORE)config.h : config.h
827 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
828 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
829$(ARCHCORE)cop.h : cop.h
830 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
831 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
832$(ARCHCORE)cc_runtime.h : cc_runtime.h
833 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
834 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
835$(ARCHCORE)cv.h : cv.h
836 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
837 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
838$(ARCHCORE)embed.h : embed.h
839 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
840 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
841$(ARCHCORE)embedvar.h : embedvar.h
842 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
843 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
844.ifdef FAKETHREADED
845$(ARCHCORE)fakethr.h : fakethr.h
846 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
847 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
848.endif
849$(ARCHCORE)form.h : form.h
850 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
851 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
852$(ARCHCORE)gv.h : gv.h
853 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
854 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
855$(ARCHCORE)handy.h : handy.h
856 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
857 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
858$(ARCHCORE)hv.h : hv.h
859 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
860 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
861$(ARCHCORE)intrpvar.h : intrpvar.h
862 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
863 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
864$(ARCHCORE)keywords.h : keywords.h
865 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
866 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
867$(ARCHCORE)mg.h : mg.h
868 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
869 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
870$(ARCHCORE)op.h : op.h
871 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
872 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
873$(ARCHCORE)opcode.h : opcode.h
874 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
875 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
876$(ARCHCORE)patchlevel.h : patchlevel.h
877 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
878 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
879$(ARCHCORE)perl.h : perl.h
880 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
881 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
3a385817
GS
882$(ARCHCORE)iperlsys.h : iperlsys.h
883 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
884 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
885$(ARCHCORE)perlsdio.h : perlsdio.h
886 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
887 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
9ef4b0a6
BH
888$(ARCHCORE)perlio.h : perlio.h
889 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
890 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
891$(ARCHCORE)perlvars.h : perlvars.h
892 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
893 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
894$(ARCHCORE)perly.h : perly.h
895 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
896 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
897$(ARCHCORE)pp.h : pp.h
898 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
899 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
900$(ARCHCORE)pp_proto.h : pp_proto.h
901 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
902 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
903$(ARCHCORE)proto.h : proto.h
904 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
905 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
906$(ARCHCORE)regcomp.h : regcomp.h
907 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
908 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
909$(ARCHCORE)regexp.h : regexp.h
910 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
911 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
912$(ARCHCORE)scope.h : scope.h
913 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
914 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
915$(ARCHCORE)sv.h : sv.h
916 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
917 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
918$(ARCHCORE)thrdvar.h : thrdvar.h
919 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
920 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
921$(ARCHCORE)thread.h : thread.h
922 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
923 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
924$(ARCHCORE)util.h : util.h
925 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
926 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
3937c24e
HM
927$(ARCHCORE)utf8.h : utf8.h
928 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
929 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
930$(ARCHCORE)vmsish.h : vmsish.h
931 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
932 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
933$(ARCHCORE)warning.h : warning.h
934 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
935 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
936.ifdef SOCKET
937$(ARCHCORE)$(SOCKH) : $(SOCKH)
938 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
939 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
940.endif
941$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
942 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
943 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
944$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
945 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
946 Copy/Log perlshr_attr.opt $(MMS$TARGET)
947$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
948 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
949 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
950$(ARCHAUTO)time.stamp :
951 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
952 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
953
954.ifdef LINK_ONLY
955.else
956# We need an action line here for broken older versions of MMS which
957# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
958#util$(O) : util.c
959# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 960# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
cc391245 961av$(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 pp_proto.h warning.h
3a385817
GS
962 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
963
cc391245 964byterun$(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 pp_proto.h warning.h
3a385817
GS
965 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
966
cc391245 967deb$(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 pp_proto.h warning.h
3a385817
GS
968 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
969
cc391245 970doio$(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 pp_proto.h warning.h
3a385817
GS
971 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
972
cc391245 973doop$(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 pp_proto.h warning.h
3a385817
GS
974 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
975
cc391245 976dump$(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 pp_proto.h warning.h
3a385817
GS
977 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
978
cc391245 979globals$(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 pp_proto.h warning.h
3a385817
GS
980 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
981
cc391245 982gv$(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 pp_proto.h warning.h
3a385817
GS
983 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
984
cc391245 985hv$(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 pp_proto.h warning.h
3a385817
GS
986 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
987
cc391245 988malloc$(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 pp_proto.h warning.h
3a385817
GS
989 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
990
cc391245 991mg$(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 pp_proto.h warning.h
3a385817
GS
992 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
993
cc391245 994miniperlmain$(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 pp_proto.h warning.h
3a385817
GS
995 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
996
cc391245 997op$(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 pp_proto.h warning.h
3a385817
GS
998 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
999
cc391245 1000perl$(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 pp_proto.h warning.h
3a385817
GS
1001 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1002
cc391245 1003perlio$(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 pp_proto.h warning.h
3a385817
GS
1004 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1005
cc391245 1006perlmain$(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 pp_proto.h warning.h
3a385817
GS
1007 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1008
cc391245 1009byteperl$(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 pp_proto.h warning.h
3a385817
GS
1010 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1011
cc391245 1012perly$(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 pp_proto.h warning.h
3a385817
GS
1013 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1014
cc391245 1015pp$(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 pp_proto.h warning.h
3a385817
GS
1016 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1017
cc391245 1018pp_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 pp_proto.h warning.h
3a385817
GS
1019 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1020
cc391245 1021pp_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 pp_proto.h warning.h
3a385817
GS
1022 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1023
cc391245 1024pp_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 pp_proto.h warning.h
3a385817
GS
1025 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1026
cc391245 1027regcomp$(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 regnodes.h iperlsys.h pp_proto.h warning.h
3a385817
GS
1028 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1029
cc391245 1030regexec$(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 regnodes.h iperlsys.h pp_proto.h warning.h
3a385817
GS
1031 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1032
cc391245 1033run$(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 pp_proto.h warning.h
3a385817
GS
1034 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1035
cc391245 1036scope$(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 pp_proto.h warning.h
3a385817
GS
1037 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1038
cc391245 1039sv$(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 pp_proto.h warning.h
3a385817
GS
1040 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1041
cc391245 1042taint$(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 pp_proto.h warning.h
3a385817
GS
1043 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1044
cc391245 1045toke$(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 pp_proto.h warning.h
3a385817
GS
1046 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1047
cc391245 1048universal$(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 pp_proto.h warning.h
3937c24e
HM
1049 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1050
cc391245 1051utf8$(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 iperlsys.h pp_proto.h warning.h
3a385817
GS
1052 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1053
cc391245 1054util$(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 pp_proto.h warning.h
3a385817
GS
1055 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1056
cc391245 1057vms$(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 pp_proto.h warning.h
3a385817
GS
1058 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
1059
1060#[.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
1061# $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1062
97abc6ad 1063[.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
1064 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1065
97abc6ad 1066[.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
1067 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1068
97abc6ad 1069[.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
1070 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1071
97abc6ad 1072[.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
1073 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1074
97abc6ad
HM
1075# End of automatically generated make dependencies
1076.endif # !LINK_ONLY
1077
1078vmsish.h : [.vms]vmsish.h
1079 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1080
1081vms.c : [.vms]vms.c
1082 Copy/Log/Noconfirm [.vms]vms.c []
1083
1084$(CRTL) : $(MAKEFILE)
9ef4b0a6 1085 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1086
1087
1088cleanlis :
1089 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1090 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1091 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1092
1093tidy : cleanlis
1094 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1095 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1096 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1097 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1098 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1099 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1100 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1101 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1102 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1103 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad
HM
1104 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1105 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1106 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1107 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1108 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1109 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1110 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1111 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1112 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1113 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
1114 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1115 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1116 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1117 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1118 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1119 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1120 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1121 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1122 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1123 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1124 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1125 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1126 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1127
1128clean : tidy
cc391245 1129 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad
HM
1130 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1131 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1132 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1133 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1134 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
1135 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
1136 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1137 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1138 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
1139 - If F$Search("byteperl.C") .nes."" Then Delete/NoConfirm/Log byteperl.C;*
1140 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1141 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1142 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1143 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
1144 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1145 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1146 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1147 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1148 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1149
cc391245
CB
1150realclean : clean
1151 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad
HM
1152 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1153 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1154 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1155 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
cc391245
CB
1156 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
1157 - If F$Search("Build_Ext.Com").nes."" Then Delete/NoConfirm/Log Build_Ext.Com;*
97abc6ad
HM
1158 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
1159 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
1160 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1161 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1162 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
1163 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1164 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1165 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1166 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1167 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1168 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1169 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1170 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1171 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1172 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
1173
1174cleansrc : clean
cc391245 1175!GROK!THIS!
97abc6ad
HM
1176 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1177 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1178 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1179 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1180 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1181 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1182 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1183 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1184 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1185 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs