This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make eq work again with utf8 (disabling the upgrading
[perl5.git] / vms / descrip_mms.template
CommitLineData
97abc6ad
HM
1!GROK!THIS!
2# Descrip.MMS for perl5 on VMS
787c52d8 3# Last revised 01-Mar-2000 by Charles Bailey bailey@newman.upenn.edu
97abc6ad
HM
4#
5#: This file uses MMS syntax, and can be processed using DEC's MMS product,
6#: or the free MMK clone (available by ftp at ftp.spc.edu). If you want to
7#: a Unix-style MAKE tool, run this file through mms2make.pl, which should
b4bc034f 8#: be found in the same directory as this file.
97abc6ad
HM
9#:
10#: Lines beginning with "#:" will be removed by mms2make.pl when converting
11#: this file to MAKE syntax.
97abc6ad
HM
12#
13# tidy -- purge files generated by executing this file
14# clean -- remove all intermediate (e.g. object files, C files generated
15# during build) files generated by executing this file,
16# but leave `installable' files (images, library) intact
17# realclean -- remove all files generated by executing this file
18# cleansrc -- `realclean' + purge *.c,*.h,descrip.mms
19# crtl.opt -- compiler-specific linker options file (made automatically)
20#
21
22#### Start of system configuration section. ####
23
24~DECC~
25~GNUC~
26~ARCH-TYPE~ = 1
27~THREAD~
28~SOCKET~
429a5e67
DS
29~MALLOC~
30~CC~
31~MT~
498336ed 32~FLAGS~
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 61.ifdef MALLOC
b0d5070b
CB
62MALLOC_O = malloc$(O)
63MALLOC_C = malloc$(C)
429a5e67
DS
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
97abc6ad
HM
120# Some versions of DECCRTL on AXP have a bug in chdir() which causes the change
121# to persist after the image exits, even when this was not requested, iff
122# SYSNAM is enabled. This is fixed in CSC Patch # AXPACRT04_061, but turning
123# off SYSNAM for the MM[SK] subprocess doesn't hurt anything, so we do it
124# just in case.
125.first
97abc6ad
HM
126 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include
127.ifdef __AXP__
787c52d8 128 @ Set Process/Privilege=(NoSYSNAM)
97abc6ad
HM
129 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS Sys$Library
130.else
131 @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS DECC$Library_Include
132.endif
133
97abc6ad
HM
134XTRACCFLAGS = /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=$(OBJVAL)
135XTRADEF =
136POSIX = POSIX
97abc6ad
HM
137.endif
138
139
140#: >>>>> Configuration options <<<<<
141#: __DEBUG__: builds images with full VMS debugger support
142.ifdef __DEBUG__
143DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS)
144DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross
145DBG = DBG
146.else
147DBGCCFLAGS = /NoList
148DBGLINKFLAGS = /NoTrace/NoMap
149DBG =
150.endif
151
152#: SOCKET: build in support for TCP/IP sockets
153#: By default, used SOCKETSHR library; see ReadMe.VMS
154#: for information on changing socket support
155.ifdef SOCKET
156.ifdef DECC_SOCKETS
429a5e67 157SOCKDEF =
97abc6ad
HM
158SOCKLIB =
159.else
429a5e67 160SOCKDEF =
97abc6ad
HM
161SOCKLIB = SocketShr/Share
162.endif
163# N.B. the targets for $(SOCKC) and $(SOCKH) assume that the permanent
164# copies live in [.vms], and the `clean' target will delete copies of
165# these files in the current default directory.
166SOCKC = sockadapt.c
167SOCKH = sockadapt.h
b0d5070b 168SOCKARCH = $(ARCHCORE)$(SOCKH)
787c52d8 169SOCKO = sockadapt$(O)
97abc6ad
HM
170SOCKPM = [.lib]Socket.pm
171.else
172SOCKDEF =
173SOCKLIB =
174SOCKC =
175SOCKH =
b0d5070b 176SOCKARCH =
787c52d8 177SOCKO =
97abc6ad
HM
178SOCKPM =
179.endif
180
97abc6ad
HM
181.ifdef THREADED
182THREADDEF =
183THREAD = THREAD
184.endif
185
186.ifdef OLDTHREADED
429a5e67 187THREADDEF =
97abc6ad 188THREAD = THREAD
9ef4b0a6 189THRLIBS1 = sys$share:cma$lib_shr/share|sys$share:cma$rtl/share
97abc6ad 190.ifdef __AXP__
9ef4b0a6 191THRLIBS2 = sys$share:cma$open_lib_shr/share|sys$share:cma$open_rtl/share
97abc6ad
HM
192.endif
193.endif
194
195.ifdef FAKETHREADED
429a5e67 196THREADDEF =
97abc6ad
HM
197THREADH = fakethr.h
198acth = $(ARCHCORE)fakethr.h
199THREAD = THREAD
200.else
201THREADH =
202acth =
203.endif
204
205# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
498336ed 206CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)
3a385817
GS
207# Flags for a core compile
208X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
209# Flags for an x2p compile
210CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
97abc6ad
HM
211LINKFLAGS = $(DBGLINKFLAGS)
212
213MAKE = $(MMS)
214MAKEFILE = Descrip.MMS # this file
215NOOP = continue
216
217# Macros to invoke a copy of miniperl during the build. Targets which
218# are built using these macros should depend on $(MINIPERL_EXE)
219MINIPERL_EXE = Sys$Disk:[]miniperl$(E)
220MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]"
dfe814dc 221MINIPERLQ = MCR $(MINIPERL_EXE) ""-I[.lib]""
29637182 222XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
97abc6ad
HM
223# Macro to invoke a preexisting copy of Perl. This is used to regenerate
224# some header files when rebuilding Perl, but premade versions are provided
225# in the distribution, so it's OK if this doesn't work; it's here to make
226# life easier for those who modify Perl and rebuild it.
227INSTPERL = perl
228
cc391245
CB
229# Space-separated list of "dynamic" extensions which should be built for
230# run-time dynamic loading.
cc077a9f 231dynamic_ext = $extensions
cc391245 232
97abc6ad
HM
233# Space-separated list of "static" extensions to build into perlshr (case counts).
234MYEXT = DynaLoader
235# object files for these extensions; the trailing comma is required if
236# there are any object files specified
237# These must be built separately, or you must add rules below to build them
238myextobj = [.ext.dynaloader]dl_vms$(O),
239#: We include the Socket extension by default if we're building with socket
240#: support, since it's small and not really worth bothering to keep track
241#: of separately.
242.ifdef SOCKET
243EXT = $(MYEXT) Socket
244extobj = $(myextobj) [.ext.socket]socket$(O),
245.else
246EXT = $(MYEXT)
247extobj = $(myextobj)
248.endif
249
429a5e67
DS
250.ifdef LIBS2
251.else
252LIBS2=
253.endif
97abc6ad 254
9ef4b0a6
BH
255.ifdef THRLIBS1
256.else
257THRLIBS1=
258.endif
259
260.ifdef THRLIBS2
261.else
262THRLIBS2=
263.endif
264
265FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
266
97abc6ad
HM
267#### End of system configuration section. ####
268
b0d5070b 269c0 = $(MALLOC_C) $(SOCKC) av.c deb.c doio.c doop.c dump.c globals.c gv.c
b0bfe279 270c1 = hv.c mg.c miniperlmain.c op.c perl.c perlapi.c perlio.c perly.c pp.c pp_ctl.c
787c52d8
CB
271c2 = pp_hot.c pp_sys.c regcomp.c regexec.c run.c scope.c sv.c taint.c
272c3 = toke.c universal.c utf8.c util.c vms.c xsutils.c
b0d5070b
CB
273c = $(c0) $(c1) $(c2) $(c3)
274
787c52d8 275obj0 = $(MALLOC_O) $(SOCKO) av$(O) deb$(O) doio$(O) doop$(O) dump$(O)
b0bfe279 276obj1 = globals$(O) gv$(O) hv$(O) mg$(O) miniperlmain$(O) op$(O) perl$(O) perlapi$(O)
787c52d8
CB
277obj2 = perlio$(O) perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) pp_sys$(O) regcomp$(O)
278obj3 = regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O) universal$(O)
279obj4 = utf8$(O) util$(O) vms$(O) xsutils$(O)
b0d5070b
CB
280obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
281
787c52d8
CB
282h0 = av.h cc_runtime.h config.h cop.h cv.h embed.h embedvar.h
283h1 = extern.h form.h gv.h handy.h hv.h intern.h intrpvar.h
284h2 = iperlsys.h keywords.h mg.h nostdio.h objxsub.h op.h opcode.h opnames.h
285h3 = patchlevel.h perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h
286h4 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h
287h5 = sv.h thrdvar.h thread.h utf8.h util.h vmsish.h warnings.h
288h6 = xsub.h $(SOCKH) $(THREADH)
289h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6)
290
291ac0 = $(ARCHCORE)$(sockh) $(ARCHCORE)av.h $(ARCHCORE)cc_runtime.h
b0d5070b
CB
292ac1 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
293ac2 = $(ARCHCORE)embedvar.h $(ARCHCORE)extern.h $(acth)
294ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h
295ac4 = $(ARCHCORE)intern.h $(ARCHCORE)intrpvar.h $(ARCHCORE)iperlsys.h
296ac5 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)nostdio.h
787c52d8
CB
297ac6 = $(ARCHCORE)objxsub.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
298ac7 = $(ARCHCORE)opnames.h $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h
299ac8 = $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h
300ac9 = $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h
301ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h
302ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h
303ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h $(SOCKARCH)
304ac13 = $(ARCHCORE)thread.h $(ARCHCORE)utf8.h $(ARCHCORE)util.h
305ac14 = $(ARCHCORE)vmsish.h $(ARCHCORE)warnings.h $(ARCHCORE)xsub.h
306acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt
307ac = $(ac0) $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(ac11) $(ac12) $(ac13) $(ac14) $(acopt)
c05f8f3d 308
97abc6ad
HM
309CRTL = []crtl.opt
310CRTLOPTS =,$(CRTL)/Options
311
312.SUFFIXES
313
314.ifdef LINK_ONLY
315.else
316.SUFFIXES $(O) .c .xs
317
318.xs.c :
319 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
320
321
322.c$(O) :
323 $(CC) $(CFLAGS) $(MMS$SOURCE)
324
325.xs$(O) :
326 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
327 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
328.endif
329
330# Modules which must be installed before we can build extensions
dfe814dc 331LIBPREREQ = $(ARCHDIR)Config.pm [.lib.VMS]Filespec.pm [.lib]DynaLoader.pm [.lib]XSLoader.pm [.lib]lib.pm [.lib]vmsish.pm [.lib.ExtUtils]XSSymSet.pm $(ARCHDIR)vmspipe.com [.lib]re.pm
97abc6ad 332
95667ae4 333utils1 = [.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
334utils2 = [.lib]splain.com [.utils]pl2pm.com
335
336.ifdef NOX2P
337all : base extras archcorefiles preplibrary perlpods
dfe814dc
PP
338 @ write sys$output " "
339 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad
HM
340.else
341all : base extras x2p archcorefiles preplibrary perlpods
dfe814dc
PP
342 @ write sys$output " "
343 @ write sys$output " Everything is up to date. '$(MMS)$(MMSQUALIFIERS) test' to run test suite."
97abc6ad
HM
344.endif
345base : miniperl perl
346 @ $(NOOP)
cc391245 347extras : dynext libmods utils podxform
97abc6ad
HM
348 @ $(NOOP)
349libmods : $(LIBPREREQ)
350 @ $(NOOP)
351utils : $(utils1) $(utils2)
352 @ $(NOOP)
c93fa817 353podxform : [.lib.pod]pod2text.com [.lib.pod]pod2html.com [.lib.pod]pod2latex.com [.lib.pod]pod2man.com [.lib.pod]podchecker.com [.lib.pod]pod2usage.com [.lib.pod]podselect.com
97abc6ad
HM
354 @ $(NOOP)
355x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
356 @ $(NOOP)
357
787c52d8
CB
358pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod
359pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod
360pod2 = [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod [.lib.pod]perlcompile.pod
361pod3 = [.lib.pod]perldata.pod [.lib.pod]perldbmfilter.pod [.lib.pod]perldebug.pod
362pod4 = [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
363pod5 = [.lib.pod]perlembed.pod [.lib.pod]perlfaq.pod [.lib.pod]perlfaq1.pod
364pod6 = [.lib.pod]perlfaq2.pod [.lib.pod]perlfaq3.pod [.lib.pod]perlfaq4.pod
365pod7 = [.lib.pod]perlfaq5.pod [.lib.pod]perlfaq6.pod [.lib.pod]perlfaq7.pod
366pod8 = [.lib.pod]perlfaq8.pod [.lib.pod]perlfaq9.pod [.lib.pod]perlfilter.pod
367pod9 = [.lib.pod]perlfork.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod
368pod10 = [.lib.pod]perlguts.pod [.lib.pod]perlhack.pod [.lib.pod]perlhist.pod
369pod11 = [.lib.pod]perlintern.pod [.lib.pod]perlipc.pod [.lib.pod]perllexwarn.pod
370pod12 = [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod
371pod13 = [.lib.pod]perlmodinstall.pod [.lib.pod]perlmodlib.pod [.lib.pod]perlobj.pod
372pod14 = [.lib.pod]perlop.pod [.lib.pod]perlopentut.pod [.lib.pod]perlpod.pod
373pod15 = [.lib.pod]perlport.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod
374pod16 = [.lib.pod]perlreftut.pod [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod
375pod17 = [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
376pod18 = [.lib.pod]perlthrtut.pod [.lib.pod]perltie.pod [.lib.pod]perltoc.pod
377pod19 = [.lib.pod]perltodo.pod [.lib.pod]perltoot.pod [.lib.pod]perltootc.pod
378pod20 = [.lib.pod]perltrap.pod [.lib.pod]perlunicode.pod [.lib.pod]perlvar.pod
379pod21 = [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod [.lib.pod]win32.pod [.lib.pod]perlvms.pod
380pod = $(pod0) $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) $(pod9) $(pod10) $(pod11) $(pod12) $(pod13) $(pod14) $(pod15) $(pod16) $(pod17) $(pod18) $(pod19) $(pod20) $(pod21)
381
382perlpods : $(pod)
97abc6ad
HM
383 @ $(NOOP)
384
8f9bf0bf 385archcorefiles : $(ac) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
386 @ $(NOOP)
387
dfe814dc
PP
388[.lib]re.pm : [.ext.re]re.pm
389 copy/log $(MMS$SOURCE) $(MMS$TARGET)
390
93d6612c 391vmspipe.com : [.vms]vmspipe.com
dfe814dc 392 copy/log $(MMS$SOURCE) $(MMS$TARGET)
93d6612c
CB
393
394miniperl : $(DBG)miniperl$(E) vmspipe.com
97abc6ad
HM
395 @ Continue
396$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
397 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
398$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
399 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
400
401$(DBG)libperl$(OLB) : $(obj)
402 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
8f9bf0bf 403 Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
97abc6ad
HM
404
405perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
406 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
407
97abc6ad
HM
408.ifdef __DEBUG__
409# Link an extra perl that doesn't invoke the debugger
1f052492 410perl : $(DBG)perl$(E)
97abc6ad 411 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 412.else
1f052492 413perl : $(DBG)perl$(E)
97abc6ad
HM
414 @ Continue
415.endif
416
417$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
418 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
419.ifdef MT
420 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
421.else
97abc6ad 422 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 423.endif
97abc6ad 424
97abc6ad
HM
425$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
426 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
427
428# The following files are built in one go by gen_shrfls.pl:
429# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
430# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
8f9bf0bf 431# The song and dance with gen_shrfls.opt accommodates DCL's 255 character
97abc6ad
HM
432# line length limit.
433.ifdef PIPES_BROKEN
434# This is a backup target used only with older versions of the DECCRTL which
435# can't deal with pipes properly. See ReadMe.VMS for details.
436$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
437 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
438 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
439 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
440 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
441 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
442 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
443 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
444.else
445$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
446 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
447 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
448 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
449 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
450 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
451 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
452.endif
453
454$(ARCHDIR)config.pm : [.lib]config.pm
455 Create/Directory $(ARCHDIR)
456 Copy $(MMS$SOURCE) $(MMS$TARGET)
457
cc391245 458[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad
HM
459 $(MINIPERL) ConfigPM.
460
93d6612c
CB
461$(ARCHDIR)vmspipe.com : vmspipe.com
462 Copy $(MMS$SOURCE) $(MMS$TARGET)
463
429a5e67 464[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
465 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
466
467[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
468 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
469
470[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
471 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
472 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
473 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
474
25ea24bb
GS
475[.lib]XSLoader.pm : [.ext.dynaloader]xsloader.pm
476 Copy/Log/NoConfirm [.ext.dynaloader]xsloader.pm [.lib]XSLoader.pm
477 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
478 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]XSLoader.pm
479
429a5e67 480[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
481 $(MINIPERL) $(MMS$SOURCE)
482 @ Rename/Log dynaloader.pm [.ext.dynaloader]
483
25ea24bb
GS
484[.ext.dynaloader]xsloader.pm : [.ext.dynaloader]xsloader_pm.pl
485 $(MINIPERL) $(MMS$SOURCE)
486 @ Rename/Log xsloader.pm [.ext.dynaloader]
487
cc391245
CB
488dynext : $(LIBPREREQ) $(DBG)perlshr$(E)
489 @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad
HM
490
491[.lib]vmsish.pm : [.vms.ext]vmsish.pm
492 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
493
5723c3d7
JH
494[.lib]lib.pm : [.lib]lib_pm.PL
495 $(MINIPERL) $(MMS$SOURCE)
496
97abc6ad
HM
497[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
498 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
499 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
500
501[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
502 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
503 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
504
505[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
506 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
507 $(MINIPERL) $(MMS$SOURCE)
508 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
509
510[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
511 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
512
513[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
514 $(MINIPERL) $(MMS$SOURCE)
515
95667ae4
GS
516[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
517 $(MINIPERL) $(MMS$SOURCE)
518
97abc6ad
HM
519[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
520 $(MINIPERL) $(MMS$SOURCE)
521
522[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
523 $(MINIPERL) $(MMS$SOURCE)
524
525[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
526 $(MINIPERL) $(MMS$SOURCE)
527 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
528
be46aa5a
HM
529[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
530 $(MINIPERL) $(MMS$SOURCE)
531 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
532
97abc6ad
HM
533[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
534 $(MINIPERL) $(MMS$SOURCE)
535
536[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
537 $(MINIPERL) $(MMS$SOURCE)
538 Copy/Log [.utils]splain.com $(MMS$TARGET)
539
540[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
541 $(MINIPERL) $(MMS$SOURCE)
542
543[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
544 $(MINIPERL) $(MMS$SOURCE)
545
546# Rename catches problem with some DECC versions in which object file is
547# placed in current default dir, not same one as source file.
548[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
549 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
550 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
551
8f9bf0bf 552# Accommodate buggy cpp in some version of DECC, which chokes on illegal
97abc6ad
HM
553# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
554# search in same dir as source file
b0d5070b 555[.x2p]a2p$(O) : [.x2p]a2p.c [.x2p]a2py.c [.x2p]INTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h config.h handy.h vmsish.h $(SOCKH) $(MINIPERL_EXE)
97abc6ad 556 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 557 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
558 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
559
560# gcc cpp broken -- doesn't look in directory of source file for #include ""
561.ifdef GNUC
562[.x2p]hash$(O) : [.x2p]hash.c
3a385817 563 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
564
565[.x2p]str$(O) : [.x2p]str.c
3a385817 566 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
567
568[.x2p]util$(O) : [.x2p]util.c
3a385817 569 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
570
571[.x2p]walk$(O) : [.x2p]walk.c
3a385817 572 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
573.endif
574
575[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
576 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
577 $(MINIPERL) $(MMS$SOURCE)
578 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
579
580[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
581 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
582 $(MINIPERL) $(MMS$SOURCE)
583 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
584
585[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
586 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
587 $(MINIPERL) $(MMS$SOURCE)
588 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
589
590[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
591 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
592 $(MINIPERL) $(MMS$SOURCE)
593 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
594
b4bc034f
GS
595[.lib.pod]podchecker.com : [.pod]podchecker.PL $(ARCHDIR)Config.pm
596 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
597 $(MINIPERL) $(MMS$SOURCE)
598 Copy/Log [.pod]podchecker.com $(MMS$TARGET)
599
c93fa817
GS
600[.lib.pod]pod2usage.com : [.pod]pod2usage.PL $(ARCHDIR)Config.pm
601 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
602 $(MINIPERL) $(MMS$SOURCE)
603 Copy/Log [.pod]pod2usage.com $(MMS$TARGET)
604
605[.lib.pod]podselect.com : [.pod]podselect.PL $(ARCHDIR)Config.pm
606 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
607 $(MINIPERL) $(MMS$SOURCE)
608 Copy/Log [.pod]podselect.com $(MMS$TARGET)
609
97abc6ad
HM
610preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
611 @ Write Sys$Output "Autosplitting Perl library . . ."
612 @ Create/Directory [.lib.auto]
613 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
614
615[.lib.pod]perl.pod : [.pod]perl.pod
616 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 617 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
618[.lib.pod]perl5004delta.pod : [.pod]perl5004delta.pod
619 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 620 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
621[.lib.pod]perl5005delta.pod : [.pod]perl5005delta.pod
622 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 623 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
624[.lib.pod]perlapi.pod : [.pod]perlapi.pod
625 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 626 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
627[.lib.pod]perlapio.pod : [.pod]perlapio.pod
628 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 629 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
630[.lib.pod]perlbook.pod : [.pod]perlbook.pod
631 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 632 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
633[.lib.pod]perlbot.pod : [.pod]perlbot.pod
634 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 635 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
636[.lib.pod]perlcall.pod : [.pod]perlcall.pod
637 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 638 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
639[.lib.pod]perlcompile.pod : [.pod]perlcompile.pod
640 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 641 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
642[.lib.pod]perldata.pod : [.pod]perldata.pod
643 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 644 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
645[.lib.pod]perldbmfilter.pod : [.pod]perldbmfilter.pod
646 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 647 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
648[.lib.pod]perldebug.pod : [.pod]perldebug.pod
649 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 650 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
651[.lib.pod]perldelta.pod : [.pod]perldelta.pod
652 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 653 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
654[.lib.pod]perldiag.pod : [.pod]perldiag.pod
655 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 656 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
657[.lib.pod]perldsc.pod : [.pod]perldsc.pod
658 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 659 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
660[.lib.pod]perlembed.pod : [.pod]perlembed.pod
661 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 662 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
663[.lib.pod]perlfaq.pod : [.pod]perlfaq.pod
664 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 665 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
666[.lib.pod]perlfaq1.pod : [.pod]perlfaq1.pod
667 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 668 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
669[.lib.pod]perlfaq2.pod : [.pod]perlfaq2.pod
670 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 671 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
672[.lib.pod]perlfaq3.pod : [.pod]perlfaq3.pod
673 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 674 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
675[.lib.pod]perlfaq4.pod : [.pod]perlfaq4.pod
676 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 677 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
678[.lib.pod]perlfaq5.pod : [.pod]perlfaq5.pod
679 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 680 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
681[.lib.pod]perlfaq6.pod : [.pod]perlfaq6.pod
682 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 683 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
684[.lib.pod]perlfaq7.pod : [.pod]perlfaq7.pod
685 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 686 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
687[.lib.pod]perlfaq8.pod : [.pod]perlfaq8.pod
688 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 689 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
690[.lib.pod]perlfaq9.pod : [.pod]perlfaq9.pod
691 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 692 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
693[.lib.pod]perlfilter.pod : [.pod]perlfilter.pod
694 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 695 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
696[.lib.pod]perlfork.pod : [.pod]perlfork.pod
697 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 698 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
699[.lib.pod]perlform.pod : [.pod]perlform.pod
700 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 701 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
702[.lib.pod]perlfunc.pod : [.pod]perlfunc.pod
703 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 704 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
705[.lib.pod]perlguts.pod : [.pod]perlguts.pod
706 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 707 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
708[.lib.pod]perlhack.pod : [.pod]perlhack.pod
709 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 710 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
711[.lib.pod]perlhist.pod : [.pod]perlhist.pod
712 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 713 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 714[.lib.pod]perlintern.pod : [.pod]perlintern.pod
97abc6ad 715 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 716 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
717[.lib.pod]perlipc.pod : [.pod]perlipc.pod
718 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 719 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
720[.lib.pod]perllexwarn.pod : [.pod]perllexwarn.pod
721 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 722 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
723[.lib.pod]perllocale.pod : [.pod]perllocale.pod
724 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 725 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
726[.lib.pod]perllol.pod : [.pod]perllol.pod
727 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 728 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
729[.lib.pod]perlmod.pod : [.pod]perlmod.pod
730 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 731 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
732[.lib.pod]perlmodinstall.pod : [.pod]perlmodinstall.pod
733 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 734 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
735[.lib.pod]perlmodlib.pod : [.pod]perlmodlib.pod
736 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 737 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
738[.lib.pod]perlobj.pod : [.pod]perlobj.pod
739 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 740 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
741[.lib.pod]perlop.pod : [.pod]perlop.pod
742 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 743 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
744[.lib.pod]perlopentut.pod : [.pod]perlopentut.pod
745 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 746 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
747[.lib.pod]perlpod.pod : [.pod]perlpod.pod
748 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 749 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
750[.lib.pod]perlport.pod : [.pod]perlport.pod
751 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 752 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
753[.lib.pod]perlre.pod : [.pod]perlre.pod
754 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 755 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
756[.lib.pod]perlref.pod : [.pod]perlref.pod
757 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 758 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
759[.lib.pod]perlreftut.pod : [.pod]perlreftut.pod
760 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 761 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
762[.lib.pod]perlrun.pod : [.pod]perlrun.pod
763 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 764 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
765[.lib.pod]perlsec.pod : [.pod]perlsec.pod
766 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 767 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
768[.lib.pod]perlstyle.pod : [.pod]perlstyle.pod
769 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 770 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
771[.lib.pod]perlsub.pod : [.pod]perlsub.pod
772 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 773 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
774[.lib.pod]perlsyn.pod : [.pod]perlsyn.pod
775 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 776 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
777[.lib.pod]perlthrtut.pod : [.pod]perlthrtut.pod
778 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 779 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
780[.lib.pod]perltie.pod : [.pod]perltie.pod
781 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 782 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
783[.lib.pod]perltoc.pod : [.pod]perltoc.pod
784 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 785 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
786[.lib.pod]perltodo.pod : [.pod]perltodo.pod
787 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 788 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
789[.lib.pod]perltoot.pod : [.pod]perltoot.pod
790 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 791 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 792[.lib.pod]perltootc.pod : [.pod]perltootc.pod
3937c24e 793 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 794 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
795[.lib.pod]perltrap.pod : [.pod]perltrap.pod
796 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 797 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
5af06f0d
DS
798[.lib.pod]perlunicode.pod : [.pod]perlunicode.pod
799 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8
CB
800 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
801[.lib.pod]perlvar.pod : [.pod]perlvar.pod
802 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
803 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
804[.lib.pod]perlxs.pod : [.pod]perlxs.pod
805 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 806 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
807[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
808 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 809 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
94d4630c 810[.lib.pod]win32.pod : [.lib]win32.pod
787c52d8
CB
811 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
812 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
813[.lib.pod]perlvms.pod : [.vms]perlvms.pod
814 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 815 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 816
c645ec3f
GS
817install.html : $(perlpods)
818 @ @perl_setup.com
819 @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html]
820 $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose"
b4bc034f 821
97abc6ad
HM
822printconfig :
823 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 824 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
825
826.ifdef SOCKET
827
828.ifdef LINK_ONLY
829.else
830[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
831 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
832
833[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
834 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
835.endif # !LINK_ONLY
836
837vmsish.h : $(SOCKH)
838
787c52d8 839$(SOCKO) : $(SOCKC) EXTERN.h perl.h config.h embed.h perlsdio.h handy.h vmsish.h regexp.h sv.h util.h form.h gv.h cv.h opcode.h opnames.h op.h cop.h av.h hv.h mg.h scope.h perly.h thread.h pp.h proto.h embedvar.h perlvars.h thrdvar.h intrpvar.h perlio.h
97abc6ad
HM
840
841$(SOCKC) : [.vms]$(SOCKC)
842 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
843
844$(SOCKH) : [.vms]$(SOCKH)
845 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
846
847[.lib]Socket.pm : [.ext.Socket]Socket.pm
848 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
849.endif
850
424a8fe9
CB
851# The following files are generated automatically
852# keywords.h: keywords.pl
853# opcode.h: opcode.pl
854# opnames.h: opcode.pl
855# pp_proto.h: opcode.pl
856# pp.sym: opcode.pl
857# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
858# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
859# ext/ByteLoader/byterun.h: bytecode.pl
860# ext/ByteLoader/byterun.c: bytecode.pl
861# ext/B/Asmdata.pm: bytecode.pl
862# global.sym: embed.pl
863# regnodes.h: regcomp.pl
864# warnings.h lib/warnings.pm: warnings.pl
97abc6ad
HM
865# The correct versions should be already supplied with the perl kit,
866# in case you don't have perl available.
867# To force them to run, type
868# MMS regen_headers
869regen_headers :
870 $(INSTPERL) keywords.pl
871 $(INSTPERL) opcode.pl
872 $(INSTPERL) embed.pl
cc391245
CB
873 $(INSTPERL) bytecode.pl
874 $(INSTPERL) regcomp.pl
424a8fe9 875 $(INSTPERL) warnings.pl
97abc6ad
HM
876
877# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
878perly.c : [.vms]perly_c.vms
879 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
880perly.h : [.vms]perly_h.vms
881 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
882
97abc6ad
HM
883.ifdef LINK_ONLY
884.else
787c52d8 885perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
886.endif
887
888[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
889 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
890
891[.t.lib]vmsish.t : [.vms.ext]vmsish.t
892 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
893
894test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
3eeba6fb 895 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
dfe814dc 896 @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests.
97abc6ad 897
3a385817
GS
898# install ought not need a source, but it doesn't work if one's not
899# there. Go figure...
900install : $(MINIPERL_EXE)
c645ec3f 901 @ @perl_setup.com
29637182 902 If F$TrnLnm("Sys") .nes. "" Then Deass SYS
97abc6ad
HM
903 $(MINIPERL) installperl
904
905archify : all
906 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
907 archroot = "$(ARCHAUTO)" - "]" + "...]"
908 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
909 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
910 Delete/Log/NoConfirm [.lib]Config.pm;*
911 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
912 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
913 @ Write Sys$Output "Architecture-specific setup completed."
914 @ Write Sys$Output "Before building for another architecture, be sure to"
915 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
916 @ Write Sys$Output " 2. Delete Miniperl$(E)"
917
918# CORE subset for MakeMaker, so we can build Perl without sources
919# Should move to VMS installperl when we get one
b0d5070b 920.ifdef SOCKET
787c52d8 921$(SOCKARCH) : $(SOCKH)
97abc6ad
HM
922 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
923 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
924.endif
925$(ARCHCORE)av.h : av.h
97abc6ad
HM
926 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
927 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 928$(ARCHCORE)cc_runtime.h : cc_runtime.h
97abc6ad
HM
929 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
930 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
931$(ARCHCORE)config.h : config.h
932 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
933 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
934$(ARCHCORE)cop.h : cop.h
935 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
936 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
937$(ARCHCORE)cv.h : cv.h
938 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
939 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
940$(ARCHCORE)embed.h : embed.h
941 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
942 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
943$(ARCHCORE)embedvar.h : embedvar.h
944 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
945 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
946$(ARCHCORE)extern.h : extern.h
947 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
948 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
949.ifdef FAKETHREADED
950$(ARCHCORE)fakethr.h : fakethr.h
951 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
952 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
953.endif
954$(ARCHCORE)form.h : form.h
955 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
956 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
957$(ARCHCORE)gv.h : gv.h
958 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
959 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
960$(ARCHCORE)handy.h : handy.h
961 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
962 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
963$(ARCHCORE)hv.h : hv.h
964 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
965 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
966$(ARCHCORE)intern.h : intern.h
967 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
968 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
969$(ARCHCORE)intrpvar.h : intrpvar.h
970 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
971 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
972$(ARCHCORE)iperlsys.h : iperlsys.h
973 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
974 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
975$(ARCHCORE)keywords.h : keywords.h
976 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
977 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
978$(ARCHCORE)mg.h : mg.h
979 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
980 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
981$(ARCHCORE)nostdio.h : nostdio.h
982 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
983 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
984$(ARCHCORE)objxsub.h : objxsub.h
985 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
986 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
987$(ARCHCORE)op.h : op.h
988 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
989 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
990$(ARCHCORE)opcode.h : opcode.h
991 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
992 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9
CB
993$(ARCHCORE)opnames.h : opnames.h
994 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
995 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
996$(ARCHCORE)patchlevel.h : patchlevel.h
997 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
998 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
999$(ARCHCORE)perl.h : perl.h
1000 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1001 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
1002$(ARCHCORE)perlapi.h : perlapi.h
1003 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1004 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1005$(ARCHCORE)perlio.h : perlio.h
3a385817
GS
1006 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1007 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1008$(ARCHCORE)perlsdio.h : perlsdio.h
1009 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1010 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1011$(ARCHCORE)perlvars.h : perlvars.h
1012 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1013 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1014$(ARCHCORE)perly.h : perly.h
1015 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1016 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1017$(ARCHCORE)pp.h : pp.h
1018 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1019 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
1020$(ARCHCORE)pp_proto.h : pp_proto.h
1021 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1022 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1023$(ARCHCORE)proto.h : proto.h
1024 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1025 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1026$(ARCHCORE)regcomp.h : regcomp.h
1027 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1028 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1029$(ARCHCORE)regexp.h : regexp.h
1030 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1031 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
1032$(ARCHCORE)regnodes.h : regnodes.h
1033 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1034 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1035$(ARCHCORE)scope.h : scope.h
1036 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1037 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1038$(ARCHCORE)sv.h : sv.h
1039 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1040 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1041$(ARCHCORE)thrdvar.h : thrdvar.h
1042 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1043 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1044$(ARCHCORE)thread.h : thread.h
1045 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1046 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1047$(ARCHCORE)utf8.h : utf8.h
97abc6ad
HM
1048 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1049 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1050$(ARCHCORE)util.h : util.h
3937c24e
HM
1051 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1052 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1053$(ARCHCORE)vmsish.h : vmsish.h
1054 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1055 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1056$(ARCHCORE)warnings.h : warnings.h
cc391245
CB
1057 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1058 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1059$(ARCHCORE)xsub.h : xsub.h
97abc6ad
HM
1060 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1061 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1062$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1063 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1064 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1065$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1066 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1067 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1068$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1069 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1070 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1071$(ARCHAUTO)time.stamp :
1072 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1073 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1074
1075.ifdef LINK_ONLY
1076.else
1077# We need an action line here for broken older versions of MMS which
1078# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
1079#util$(O) : util.c
1080# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1081# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
b0d5070b 1082.ifdef SOCKET
787c52d8 1083$(SOCKO) : $(SOCKC) extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1084 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0d5070b 1085.endif
787c52d8 1086av$(O) : av.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1087 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1088deb$(O) : deb.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1089 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1090doio$(O) : doio.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1091 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1092doop$(O) : doop.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1093 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1094dump$(O) : dump.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h regcomp.h regnodes.h
3a385817 1095 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1096globals$(O) : globals.c intern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h perlapi.h
3a385817 1097 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1098gv$(O) : gv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1099 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1100hv$(O) : hv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1101 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1102malloc$(O) : malloc.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
1103 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1104mg$(O) : mg.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1105 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1106miniperlmain$(O) : miniperlmain.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1107 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1108op$(O) : op.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h keywords.h
3a385817 1109 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1110perl$(O) : perl.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h patchlevel.h intrpvar.h thrdvar.h
3a385817 1111 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1112perlapi$(O) : perlapi.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h patchlevel.h intrpvar.h thrdvar.h
1113 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1114perlio$(O) : perlio.c config.h extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1115 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1116perlmain$(O) : perlmain.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1117 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1118perly$(O) : perly.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1119 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1120pp$(O) : pp.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1121 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1122pp_ctl$(O) : pp_ctl.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1123 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1124pp_hot$(O) : pp_hot.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1125 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1126pp_sys$(O) : pp_sys.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1127 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1128regcomp$(O) : regcomp.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h intern.h regcomp.h regnodes.h
3a385817 1129 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1130regexec$(O) : regexec.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h regcomp.h regnodes.h
3a385817 1131 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1132run$(O) : run.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1133 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1134scope$(O) : scope.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1135 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1136sv$(O) : sv.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1137 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1138taint$(O) : taint.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1139 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1140toke$(O) : toke.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h keywords.h
3a385817 1141 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1142universal$(O) : universal.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h xsub.h perlapi.h objxsub.h
3a385817 1143 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1144utf8$(O) : utf8.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1145 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1146util$(O) : util.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3937c24e 1147 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1148vms$(O) : vms.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h
3a385817 1149 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1150xsutils$(O) : xsutils.c extern.h perl.h config.h embed.h handy.h vmsish.h $(SOCKH) iperlsys.h perlsdio.h perl.h regexp.h sv.h util.h form.h gv.h cv.h opnames.h op.h cop.h av.h hv.h mg.h scope.h warnings.h utf8.h perly.h thread.h pp.h proto.h pp_proto.h opcode.h embedvar.h intrpvar.h thrdvar.h perlvars.h patchlevel.h xsub.h perlapi.h objxsub.h
498336ed 1151 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
3a385817 1152
b0d5070b 1153[.x2p]hash$(O) : [.x2p]hash.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1154 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1155
b0d5070b 1156[.x2p]str$(O) : [.x2p]str.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1157 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1158
b0d5070b 1159[.x2p]util$(O) : [.x2p]util.c [.x2p]EXTERN.h [.x2p]INTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1160 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1161
b0d5070b 1162[.x2p]walk$(O) : [.x2p]walk.c [.x2p]EXTERN.h [.x2p]a2p.h [.x2p]hash.h [.x2p]str.h [.x2p]util.h config.h handy.h vmsish.h $(SOCKH)
3a385817
GS
1163 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1164
97abc6ad
HM
1165# End of automatically generated make dependencies
1166.endif # !LINK_ONLY
1167
1168vmsish.h : [.vms]vmsish.h
1169 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1170
1171vms.c : [.vms]vms.c
1172 Copy/Log/Noconfirm [.vms]vms.c []
1173
1174$(CRTL) : $(MAKEFILE)
9ef4b0a6 1175 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1176
1177
dfe814dc
PP
1178ok : $(utils)
1179 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)"
1180
1181okfile : $(utils)
1182 $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok
1183
1184nok : $(utils)
1185 @ write sys$output " "
1186 @ write sys$output " Please type the command:"
1187 @ write sys$output " "
1188 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"""
1189
1190nokfile : $(utils)
1191 @ write sys$output " "
1192 @ write sys$output " Please type the command:"
1193 @ write sys$output " "
1194 @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok"
1195
1196
97abc6ad
HM
1197cleanlis :
1198 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1199 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1200 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1201
1202tidy : cleanlis
1203 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1204 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1205 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1206 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1207 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1208 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1209 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1210 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1211 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1212 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad
HM
1213 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1214 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1215 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1216 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1217 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1218 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1219 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1220 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1221 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1222 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
25ea24bb 1223 - If F$Search("[.Lib]XSLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]XSLoader.pm
97abc6ad
HM
1224 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1225 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1226 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1227 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1228 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1229 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1230 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1231 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1232 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1233 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1234 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1235 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1236 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1237
1238clean : tidy
cc391245 1239 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad
HM
1240 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1241 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1242 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1243 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1244 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
52a043e6 1245 - Copy [.vms]perly_c.vms []perly.c
97abc6ad 1246 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
52a043e6 1247 - Copy [.vms]perly_h.vms []perly.h
97abc6ad
HM
1248 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1249 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1250 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
97abc6ad
HM
1251 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1252 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1253 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1254 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
52a043e6 1255 - If F$Search("[.Ext.DynaLoader]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DynaLoader.pm;*
25ea24bb 1256 - If F$Search("[.Ext.DynaLoader]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]XSLoader.pm;*
97abc6ad
HM
1257 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1258 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1259 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1260 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1261 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1262
cc391245
CB
1263realclean : clean
1264 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad
HM
1265 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1266 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1267 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1268 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
52a043e6 1269 - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
cc391245
CB
1270 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
1271 - If F$Search("Build_Ext.Com").nes."" Then Delete/NoConfirm/Log Build_Ext.Com;*
97abc6ad 1272 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
25ea24bb 1273 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
97abc6ad 1274 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
25ea24bb 1275 - If F$Search("[.Lib]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]XSLoader.pm;*
97abc6ad
HM
1276 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1277 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1278 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
52a043e6 1279 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
97abc6ad
HM
1280 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1281 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1282 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1283 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1284 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1285 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1286 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1287 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1288 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1289 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
52a043e6 1290 - If F$Search("[.vms]Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log [.vms]Perl_Setup.Com;*
dfe814dc 1291 - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;*
97abc6ad
HM
1292
1293cleansrc : clean
cc391245 1294!GROK!THIS!
97abc6ad
HM
1295 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1296 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1297 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1298 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1299 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1300 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1301 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1302 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1303 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1304 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs