This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[ID 20000911.008] Not OK: perl v5.7.0 +DEVEL7048 on os2-64int-ld 2.30 (UNINSTALLED)
[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]"
29637182 221XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
97abc6ad
HM
222# Macro to invoke a preexisting copy of Perl. This is used to regenerate
223# some header files when rebuilding Perl, but premade versions are provided
224# in the distribution, so it's OK if this doesn't work; it's here to make
225# life easier for those who modify Perl and rebuild it.
226INSTPERL = perl
227
cc391245
CB
228# Space-separated list of "dynamic" extensions which should be built for
229# run-time dynamic loading.
cc077a9f 230dynamic_ext = $extensions
cc391245 231
97abc6ad
HM
232# Space-separated list of "static" extensions to build into perlshr (case counts).
233MYEXT = DynaLoader
234# object files for these extensions; the trailing comma is required if
235# there are any object files specified
236# These must be built separately, or you must add rules below to build them
237myextobj = [.ext.dynaloader]dl_vms$(O),
238#: We include the Socket extension by default if we're building with socket
239#: support, since it's small and not really worth bothering to keep track
240#: of separately.
241.ifdef SOCKET
242EXT = $(MYEXT) Socket
243extobj = $(myextobj) [.ext.socket]socket$(O),
244.else
245EXT = $(MYEXT)
246extobj = $(myextobj)
247.endif
248
429a5e67
DS
249.ifdef LIBS2
250.else
251LIBS2=
252.endif
97abc6ad 253
9ef4b0a6
BH
254.ifdef THRLIBS1
255.else
256THRLIBS1=
257.endif
258
259.ifdef THRLIBS2
260.else
261THRLIBS2=
262.endif
263
264FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2)
265
97abc6ad
HM
266#### End of system configuration section. ####
267
b0d5070b 268c0 = $(MALLOC_C) $(SOCKC) av.c deb.c doio.c doop.c dump.c globals.c gv.c
b0bfe279 269c1 = hv.c mg.c miniperlmain.c op.c perl.c perlapi.c perlio.c perly.c pp.c pp_ctl.c
787c52d8
CB
270c2 = pp_hot.c pp_sys.c regcomp.c regexec.c run.c scope.c sv.c taint.c
271c3 = toke.c universal.c utf8.c util.c vms.c xsutils.c
b0d5070b
CB
272c = $(c0) $(c1) $(c2) $(c3)
273
787c52d8 274obj0 = $(MALLOC_O) $(SOCKO) av$(O) deb$(O) doio$(O) doop$(O) dump$(O)
b0bfe279 275obj1 = globals$(O) gv$(O) hv$(O) mg$(O) miniperlmain$(O) op$(O) perl$(O) perlapi$(O)
787c52d8
CB
276obj2 = perlio$(O) perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) pp_sys$(O) regcomp$(O)
277obj3 = regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O) universal$(O)
278obj4 = utf8$(O) util$(O) vms$(O) xsutils$(O)
b0d5070b
CB
279obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4)
280
787c52d8
CB
281h0 = av.h cc_runtime.h config.h cop.h cv.h embed.h embedvar.h
282h1 = extern.h form.h gv.h handy.h hv.h intern.h intrpvar.h
283h2 = iperlsys.h keywords.h mg.h nostdio.h objxsub.h op.h opcode.h opnames.h
284h3 = patchlevel.h perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h
285h4 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h
286h5 = sv.h thrdvar.h thread.h utf8.h util.h vmsish.h warnings.h
287h6 = xsub.h $(SOCKH) $(THREADH)
288h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6)
289
290ac0 = $(ARCHCORE)$(sockh) $(ARCHCORE)av.h $(ARCHCORE)cc_runtime.h
b0d5070b
CB
291ac1 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h
292ac2 = $(ARCHCORE)embedvar.h $(ARCHCORE)extern.h $(acth)
293ac3 = $(ARCHCORE)form.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h
294ac4 = $(ARCHCORE)intern.h $(ARCHCORE)intrpvar.h $(ARCHCORE)iperlsys.h
295ac5 = $(ARCHCORE)keywords.h $(ARCHCORE)mg.h $(ARCHCORE)nostdio.h
787c52d8
CB
296ac6 = $(ARCHCORE)objxsub.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h
297ac7 = $(ARCHCORE)opnames.h $(ARCHCORE)patchlevel.h $(ARCHCORE)perl.h
298ac8 = $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h
299ac9 = $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h
300ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h
301ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h
302ac12 = $(ARCHCORE)sv.h $(ARCHCORE)thrdvar.h $(SOCKARCH)
303ac13 = $(ARCHCORE)thread.h $(ARCHCORE)utf8.h $(ARCHCORE)util.h
304ac14 = $(ARCHCORE)vmsish.h $(ARCHCORE)warnings.h $(ARCHCORE)xsub.h
305acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt
306ac = $(ac0) $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(ac11) $(ac12) $(ac13) $(ac14) $(acopt)
c05f8f3d 307
97abc6ad
HM
308CRTL = []crtl.opt
309CRTLOPTS =,$(CRTL)/Options
310
311.SUFFIXES
312
313.ifdef LINK_ONLY
314.else
315.SUFFIXES $(O) .c .xs
316
317.xs.c :
318 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
319
320
321.c$(O) :
322 $(CC) $(CFLAGS) $(MMS$SOURCE)
323
324.xs$(O) :
325 $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c
326 $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c
327.endif
328
329# Modules which must be installed before we can build extensions
93d6612c 330LIBPREREQ = $(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
97abc6ad 331
95667ae4 332utils1 = [.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
333utils2 = [.lib]splain.com [.utils]pl2pm.com
334
335.ifdef NOX2P
336all : base extras archcorefiles preplibrary perlpods
337 @ $(NOOP)
338.else
339all : base extras x2p archcorefiles preplibrary perlpods
340 @ $(NOOP)
341.endif
342base : miniperl perl
343 @ $(NOOP)
cc391245 344extras : dynext libmods utils podxform
97abc6ad
HM
345 @ $(NOOP)
346libmods : $(LIBPREREQ)
347 @ $(NOOP)
348utils : $(utils1) $(utils2)
349 @ $(NOOP)
c93fa817 350podxform : [.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
351 @ $(NOOP)
352x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com
353 @ $(NOOP)
354
787c52d8
CB
355pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod
356pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod
357pod2 = [.lib.pod]perlbot.pod [.lib.pod]perlcall.pod [.lib.pod]perlcompile.pod
358pod3 = [.lib.pod]perldata.pod [.lib.pod]perldbmfilter.pod [.lib.pod]perldebug.pod
359pod4 = [.lib.pod]perldelta.pod [.lib.pod]perldiag.pod [.lib.pod]perldsc.pod
360pod5 = [.lib.pod]perlembed.pod [.lib.pod]perlfaq.pod [.lib.pod]perlfaq1.pod
361pod6 = [.lib.pod]perlfaq2.pod [.lib.pod]perlfaq3.pod [.lib.pod]perlfaq4.pod
362pod7 = [.lib.pod]perlfaq5.pod [.lib.pod]perlfaq6.pod [.lib.pod]perlfaq7.pod
363pod8 = [.lib.pod]perlfaq8.pod [.lib.pod]perlfaq9.pod [.lib.pod]perlfilter.pod
364pod9 = [.lib.pod]perlfork.pod [.lib.pod]perlform.pod [.lib.pod]perlfunc.pod
365pod10 = [.lib.pod]perlguts.pod [.lib.pod]perlhack.pod [.lib.pod]perlhist.pod
366pod11 = [.lib.pod]perlintern.pod [.lib.pod]perlipc.pod [.lib.pod]perllexwarn.pod
367pod12 = [.lib.pod]perllocale.pod [.lib.pod]perllol.pod [.lib.pod]perlmod.pod
368pod13 = [.lib.pod]perlmodinstall.pod [.lib.pod]perlmodlib.pod [.lib.pod]perlobj.pod
369pod14 = [.lib.pod]perlop.pod [.lib.pod]perlopentut.pod [.lib.pod]perlpod.pod
370pod15 = [.lib.pod]perlport.pod [.lib.pod]perlre.pod [.lib.pod]perlref.pod
371pod16 = [.lib.pod]perlreftut.pod [.lib.pod]perlrun.pod [.lib.pod]perlsec.pod
372pod17 = [.lib.pod]perlstyle.pod [.lib.pod]perlsub.pod [.lib.pod]perlsyn.pod
373pod18 = [.lib.pod]perlthrtut.pod [.lib.pod]perltie.pod [.lib.pod]perltoc.pod
374pod19 = [.lib.pod]perltodo.pod [.lib.pod]perltoot.pod [.lib.pod]perltootc.pod
375pod20 = [.lib.pod]perltrap.pod [.lib.pod]perlunicode.pod [.lib.pod]perlvar.pod
376pod21 = [.lib.pod]perlxs.pod [.lib.pod]perlxstut.pod [.lib.pod]win32.pod [.lib.pod]perlvms.pod
377pod = $(pod0) $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) $(pod9) $(pod10) $(pod11) $(pod12) $(pod13) $(pod14) $(pod15) $(pod16) $(pod17) $(pod18) $(pod19) $(pod20) $(pod21)
378
379perlpods : $(pod)
97abc6ad
HM
380 @ $(NOOP)
381
8f9bf0bf 382archcorefiles : $(ac) $(acth) $(ARCHAUTO)time.stamp
97abc6ad
HM
383 @ $(NOOP)
384
93d6612c
CB
385vmspipe.com : [.vms]vmspipe.com
386 copy/log $(MMS$SOURCE) $(MMS$TARGET)
387
388miniperl : $(DBG)miniperl$(E) vmspipe.com
97abc6ad
HM
389 @ Continue
390$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
391 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
392$(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperl$(OLB) $(CRTL)
393 Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O),$(DBG)libperl$(OLB)/Library/Include=globals $(CRTLOPTS)
394
395$(DBG)libperl$(OLB) : $(obj)
396 @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET)
8f9bf0bf 397 Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
97abc6ad
HM
398
399perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.vms]writemain.pl
400 $(MINIPERL) [.VMS]Writemain.pl "$(EXT)"
401
97abc6ad
HM
402.ifdef __DEBUG__
403# Link an extra perl that doesn't invoke the debugger
1f052492 404perl : $(DBG)perl$(E)
97abc6ad 405 Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
97abc6ad 406.else
1f052492 407perl : $(DBG)perl$(E)
97abc6ad
HM
408 @ Continue
409.endif
410
411$(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE)
412 @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share"
429a5e67
DS
413.ifdef MT
414 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)/THREAD=(MULTI,UPCALL)
415.else
97abc6ad 416 Link $(LINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS)
429a5e67 417.endif
97abc6ad 418
97abc6ad
HM
419$(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts
420 Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option
421
422# The following files are built in one go by gen_shrfls.pl:
423# perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP
424# perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only
8f9bf0bf 425# The song and dance with gen_shrfls.opt accommodates DCL's 255 character
97abc6ad
HM
426# line length limit.
427.ifdef PIPES_BROKEN
428# This is a backup target used only with older versions of the DECCRTL which
429# can't deal with pipes properly. See ReadMe.VMS for details.
430$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
431 $(CC) $(CFLAGS)/NoObject/NoList/PreProcess=perl.i perl.h
432 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "~~NOCC~~perl.i~~$(CC)$(CFLAGS)" >gen_shrfls.opt
433 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
434 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
435 @ Delete/NoLog/NoConfirm perl.i;, gen_shrfls.opt;
436 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
437 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
438.else
439$(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL)
440 @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt
441 @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt
442 $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt
443 @ Delete/NoLog/NoConfirm gen_shrfls.opt;
444 @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;*
445 @ Copy _NLA0: $(DBG)perlshr_xtras.ts
446.endif
447
448$(ARCHDIR)config.pm : [.lib]config.pm
449 Create/Directory $(ARCHDIR)
450 Copy $(MMS$SOURCE) $(MMS$TARGET)
451
cc391245 452[.lib]config.pm : config.h $(MINIPERL_EXE)
97abc6ad
HM
453 $(MINIPERL) ConfigPM.
454
93d6612c
CB
455$(ARCHDIR)vmspipe.com : vmspipe.com
456 Copy $(MMS$SOURCE) $(MMS$TARGET)
457
429a5e67 458[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
97abc6ad
HM
459 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
460
461[.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c
462 $(CC) $(CFLAGS) /Include=([],[.ext.dynaloader])/Object=$(MMS$TARGET) $(MMS$SOURCE)
463
464[.lib]DynaLoader.pm : [.ext.dynaloader]dynaloader.pm
465 Copy/Log/NoConfirm [.ext.dynaloader]dynaloader.pm [.lib]DynaLoader.pm
466 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
467 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]DynaLoader.pm
468
25ea24bb
GS
469[.lib]XSLoader.pm : [.ext.dynaloader]xsloader.pm
470 Copy/Log/NoConfirm [.ext.dynaloader]xsloader.pm [.lib]XSLoader.pm
471 @ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
472 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]XSLoader.pm
473
429a5e67 474[.ext.dynaloader]dynaloader.pm : [.ext.dynaloader]dynaloader_pm.pl
97abc6ad
HM
475 $(MINIPERL) $(MMS$SOURCE)
476 @ Rename/Log dynaloader.pm [.ext.dynaloader]
477
25ea24bb
GS
478[.ext.dynaloader]xsloader.pm : [.ext.dynaloader]xsloader_pm.pl
479 $(MINIPERL) $(MMS$SOURCE)
480 @ Rename/Log xsloader.pm [.ext.dynaloader]
481
cc391245
CB
482dynext : $(LIBPREREQ) $(DBG)perlshr$(E)
483 @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)"
97abc6ad
HM
484
485[.lib]vmsish.pm : [.vms.ext]vmsish.pm
486 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
487
5723c3d7
JH
488[.lib]lib.pm : [.lib]lib_pm.PL
489 $(MINIPERL) $(MMS$SOURCE)
490
97abc6ad
HM
491[.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm
492 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
493 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
494
495[.lib.ExtUtils]XSSymSet.pm : [.vms.ext]XSSymSet.pm
496 @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS]
497 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
498
499[.lib.pod]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm
500 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
501 $(MINIPERL) $(MMS$SOURCE)
502 Copy/Log [.utils]perldoc.com $(MMS$TARGET)
503
504[.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm
505 $(MINIPERL) $(MMS$SOURCE) >$(MMS$TARGET)
506
507[.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm
508 $(MINIPERL) $(MMS$SOURCE)
509
95667ae4
GS
510[.utils]dprofpp.com : [.utils]dprofpp.PL $(ARCHDIR)Config.pm
511 $(MINIPERL) $(MMS$SOURCE)
512
97abc6ad
HM
513[.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm
514 $(MINIPERL) $(MMS$SOURCE)
515
516[.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm
517 $(MINIPERL) $(MMS$SOURCE)
518
519[.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm
520 $(MINIPERL) $(MMS$SOURCE)
521 Copy/Log [.utils]perlbug.com $(MMS$TARGET)
522
be46aa5a
HM
523[.lib]perlcc.com : [.utils]perlcc.PL $(ARCHDIR)Config.pm
524 $(MINIPERL) $(MMS$SOURCE)
525 Copy/Log [.utils]perlcc.com $(MMS$TARGET)
526
97abc6ad
HM
527[.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm
528 $(MINIPERL) $(MMS$SOURCE)
529
530[.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm
531 $(MINIPERL) $(MMS$SOURCE)
532 Copy/Log [.utils]splain.com $(MMS$TARGET)
533
534[.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm
535 $(MINIPERL) $(MMS$SOURCE)
536
537[.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm
538 $(MINIPERL) $(MMS$SOURCE)
539
540# Rename catches problem with some DECC versions in which object file is
541# placed in current default dir, not same one as source file.
542[.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O)
543 @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p]
544 Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS)
545
8f9bf0bf 546# Accommodate buggy cpp in some version of DECC, which chokes on illegal
97abc6ad
HM
547# filespec "y.tab.c", and broken gcc cpp, which doesn't start #include ""
548# search in same dir as source file
b0d5070b 549[.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 550 $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c
3a385817 551 $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c
97abc6ad
HM
552 Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c;
553
554# gcc cpp broken -- doesn't look in directory of source file for #include ""
555.ifdef GNUC
556[.x2p]hash$(O) : [.x2p]hash.c
3a385817 557 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
558
559[.x2p]str$(O) : [.x2p]str.c
3a385817 560 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
561
562[.x2p]util$(O) : [.x2p]util.c
3a385817 563 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
564
565[.x2p]walk$(O) : [.x2p]walk.c
3a385817 566 $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE)
97abc6ad
HM
567.endif
568
569[.lib.pod]pod2html.com : [.pod]pod2html.PL $(ARCHDIR)Config.pm
570 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
571 $(MINIPERL) $(MMS$SOURCE)
572 Copy/Log [.pod]pod2html.com $(MMS$TARGET)
573
574[.lib.pod]pod2latex.com : [.pod]pod2latex.PL $(ARCHDIR)Config.pm
575 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
576 $(MINIPERL) $(MMS$SOURCE)
577 Copy/Log [.pod]pod2latex.com $(MMS$TARGET)
578
579[.lib.pod]pod2man.com : [.pod]pod2man.PL $(ARCHDIR)Config.pm
580 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
581 $(MINIPERL) $(MMS$SOURCE)
582 Copy/Log [.pod]pod2man.com $(MMS$TARGET)
583
584[.lib.pod]pod2text.com : [.pod]pod2text.PL $(ARCHDIR)Config.pm
585 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
586 $(MINIPERL) $(MMS$SOURCE)
587 Copy/Log [.pod]pod2text.com $(MMS$TARGET)
588
b4bc034f
GS
589[.lib.pod]podchecker.com : [.pod]podchecker.PL $(ARCHDIR)Config.pm
590 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
591 $(MINIPERL) $(MMS$SOURCE)
592 Copy/Log [.pod]podchecker.com $(MMS$TARGET)
593
c93fa817
GS
594[.lib.pod]pod2usage.com : [.pod]pod2usage.PL $(ARCHDIR)Config.pm
595 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
596 $(MINIPERL) $(MMS$SOURCE)
597 Copy/Log [.pod]pod2usage.com $(MMS$TARGET)
598
599[.lib.pod]podselect.com : [.pod]podselect.PL $(ARCHDIR)Config.pm
600 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
601 $(MINIPERL) $(MMS$SOURCE)
602 Copy/Log [.pod]podselect.com $(MMS$TARGET)
603
97abc6ad
HM
604preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) $(SOCKPM)
605 @ Write Sys$Output "Autosplitting Perl library . . ."
606 @ Create/Directory [.lib.auto]
607 @ $(MINIPERL) -e "use AutoSplit; autosplit_lib_modules(@ARGV)" [.lib]*.pm [.lib.*]*.pm
608
609[.lib.pod]perl.pod : [.pod]perl.pod
610 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 611 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
612[.lib.pod]perl5004delta.pod : [.pod]perl5004delta.pod
613 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 614 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
615[.lib.pod]perl5005delta.pod : [.pod]perl5005delta.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]perlapi.pod : [.pod]perlapi.pod
619 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 620 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
621[.lib.pod]perlapio.pod : [.pod]perlapio.pod
622 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 623 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
624[.lib.pod]perlbook.pod : [.pod]perlbook.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]perlbot.pod : [.pod]perlbot.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]perlcall.pod : [.pod]perlcall.pod
631 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 632 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
633[.lib.pod]perlcompile.pod : [.pod]perlcompile.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]perldata.pod : [.pod]perldata.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]perldbmfilter.pod : [.pod]perldbmfilter.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]perldebug.pod : [.pod]perldebug.pod
643 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 644 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
645[.lib.pod]perldelta.pod : [.pod]perldelta.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]perldiag.pod : [.pod]perldiag.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]perldsc.pod : [.pod]perldsc.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]perlembed.pod : [.pod]perlembed.pod
655 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 656 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
657[.lib.pod]perlfaq.pod : [.pod]perlfaq.pod
658 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 659 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
660[.lib.pod]perlfaq1.pod : [.pod]perlfaq1.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]perlfaq2.pod : [.pod]perlfaq2.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]perlfaq3.pod : [.pod]perlfaq3.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]perlfaq4.pod : [.pod]perlfaq4.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]perlfaq5.pod : [.pod]perlfaq5.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]perlfaq6.pod : [.pod]perlfaq6.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]perlfaq7.pod : [.pod]perlfaq7.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]perlfaq8.pod : [.pod]perlfaq8.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]perlfaq9.pod : [.pod]perlfaq9.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]perlfilter.pod : [.pod]perlfilter.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]perlfork.pod : [.pod]perlfork.pod
691 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 692 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
693[.lib.pod]perlform.pod : [.pod]perlform.pod
694 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 695 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
696[.lib.pod]perlfunc.pod : [.pod]perlfunc.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]perlguts.pod : [.pod]perlguts.pod
700 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 701 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
702[.lib.pod]perlhack.pod : [.pod]perlhack.pod
703 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 704 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
705[.lib.pod]perlhist.pod : [.pod]perlhist.pod
706 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 707 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 708[.lib.pod]perlintern.pod : [.pod]perlintern.pod
97abc6ad 709 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 710 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
711[.lib.pod]perlipc.pod : [.pod]perlipc.pod
712 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 713 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
714[.lib.pod]perllexwarn.pod : [.pod]perllexwarn.pod
715 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 716 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
717[.lib.pod]perllocale.pod : [.pod]perllocale.pod
718 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 719 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
720[.lib.pod]perllol.pod : [.pod]perllol.pod
721 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 722 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
723[.lib.pod]perlmod.pod : [.pod]perlmod.pod
724 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 725 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
726[.lib.pod]perlmodinstall.pod : [.pod]perlmodinstall.pod
727 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 728 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
729[.lib.pod]perlmodlib.pod : [.pod]perlmodlib.pod
730 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 731 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
732[.lib.pod]perlobj.pod : [.pod]perlobj.pod
733 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 734 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
735[.lib.pod]perlop.pod : [.pod]perlop.pod
736 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 737 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
738[.lib.pod]perlopentut.pod : [.pod]perlopentut.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]perlpod.pod : [.pod]perlpod.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]perlport.pod : [.pod]perlport.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]perlre.pod : [.pod]perlre.pod
748 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 749 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
750[.lib.pod]perlref.pod : [.pod]perlref.pod
751 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 752 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
753[.lib.pod]perlreftut.pod : [.pod]perlreftut.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]perlrun.pod : [.pod]perlrun.pod
757 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 758 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
759[.lib.pod]perlsec.pod : [.pod]perlsec.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]perlstyle.pod : [.pod]perlstyle.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]perlsub.pod : [.pod]perlsub.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]perlsyn.pod : [.pod]perlsyn.pod
769 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 770 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
771[.lib.pod]perlthrtut.pod : [.pod]perlthrtut.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]perltie.pod : [.pod]perltie.pod
775 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 776 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
777[.lib.pod]perltoc.pod : [.pod]perltoc.pod
778 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 779 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f
GS
780[.lib.pod]perltodo.pod : [.pod]perltodo.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]perltoot.pod : [.pod]perltoot.pod
784 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 785 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b4bc034f 786[.lib.pod]perltootc.pod : [.pod]perltootc.pod
3937c24e 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]perltrap.pod : [.pod]perltrap.pod
790 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 791 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
5af06f0d
DS
792[.lib.pod]perlunicode.pod : [.pod]perlunicode.pod
793 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8
CB
794 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
795[.lib.pod]perlvar.pod : [.pod]perlvar.pod
796 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
797 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
798[.lib.pod]perlxs.pod : [.pod]perlxs.pod
799 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 800 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
801[.lib.pod]perlxstut.pod : [.pod]perlxstut.pod
802 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 803 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
94d4630c 804[.lib.pod]win32.pod : [.lib]win32.pod
787c52d8
CB
805 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
806 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
807[.lib.pod]perlvms.pod : [.vms]perlvms.pod
808 @ If F$Search("[.lib]pod.dir").eqs."" Then Create/Directory [.lib.pod]
787c52d8 809 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad 810
c645ec3f
GS
811install.html : $(perlpods)
812 @ @perl_setup.com
813 @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html]
814 $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose"
b4bc034f 815
97abc6ad
HM
816printconfig :
817 @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS)
9ef4b0a6 818 @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(SOCKLIB)" "$(EXT)" "$(DBG)"
97abc6ad
HM
819
820.ifdef SOCKET
821
822.ifdef LINK_ONLY
823.else
824[.ext.Socket]Socket$(O) : [.ext.Socket]Socket.c
825 $(CC) $(CFLAGS) /Object=$(MMS$TARGET) $(MMS$SOURCE)
826
827[.ext.Socket]Socket.c : [.ext.Socket]Socket.xs [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE)
828 $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET)
829.endif # !LINK_ONLY
830
831vmsish.h : $(SOCKH)
832
787c52d8 833$(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
834
835$(SOCKC) : [.vms]$(SOCKC)
836 Copy/Log/NoConfirm [.vms]$(SOCKC) []$(SOCKC)
837
838$(SOCKH) : [.vms]$(SOCKH)
839 Copy/Log/NoConfirm [.vms]$(SOCKH) []$(SOCKH)
840
841[.lib]Socket.pm : [.ext.Socket]Socket.pm
842 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
843.endif
844
424a8fe9
CB
845# The following files are generated automatically
846# keywords.h: keywords.pl
847# opcode.h: opcode.pl
848# opnames.h: opcode.pl
849# pp_proto.h: opcode.pl
850# pp.sym: opcode.pl
851# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
852# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
853# ext/ByteLoader/byterun.h: bytecode.pl
854# ext/ByteLoader/byterun.c: bytecode.pl
855# ext/B/Asmdata.pm: bytecode.pl
856# global.sym: embed.pl
857# regnodes.h: regcomp.pl
858# warnings.h lib/warnings.pm: warnings.pl
97abc6ad
HM
859# The correct versions should be already supplied with the perl kit,
860# in case you don't have perl available.
861# To force them to run, type
862# MMS regen_headers
863regen_headers :
864 $(INSTPERL) keywords.pl
865 $(INSTPERL) opcode.pl
866 $(INSTPERL) embed.pl
cc391245
CB
867 $(INSTPERL) bytecode.pl
868 $(INSTPERL) regcomp.pl
424a8fe9 869 $(INSTPERL) warnings.pl
97abc6ad
HM
870
871# VMS uses modified perly.[ch] with tags for globaldefs if using DEC compiler
872perly.c : [.vms]perly_c.vms
873 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
874perly.h : [.vms]perly_h.vms
875 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
876
97abc6ad
HM
877.ifdef LINK_ONLY
878.else
787c52d8 879perly$(O) : perly.c, perly.h, $(h)
97abc6ad
HM
880.endif
881
882[.t.lib]vmsfspec.t : [.vms.ext]filespec.t
883 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
884
885[.t.lib]vmsish.t : [.vms.ext]vmsish.t
886 Copy/Log/NoConfirm $(MMS$SOURCE) $(MMS$TARGET)
887
888test : all [.t.lib]vmsfspec.t [.t.lib]vmsish.t
3eeba6fb 889 - @[.VMS]Test.Com "$(E)" "$(__DEBUG__)"
97abc6ad 890
3a385817
GS
891# install ought not need a source, but it doesn't work if one's not
892# there. Go figure...
893install : $(MINIPERL_EXE)
c645ec3f 894 @ @perl_setup.com
29637182 895 If F$TrnLnm("Sys") .nes. "" Then Deass SYS
97abc6ad
HM
896 $(MINIPERL) installperl
897
898archify : all
899 @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCH)"
900 archroot = "$(ARCHAUTO)" - "]" + "...]"
901 Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version
902 Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir)
903 Delete/Log/NoConfirm [.lib]Config.pm;*
904 Copy/Log/NoConfirm *$(E);,[.x2p]a2p$(E); $(ARCHDIR)
905 Delete/Log/NoConfirm Perl*$(E);*,[.x2p]a2p$(E);*
906 @ Write Sys$Output "Architecture-specific setup completed."
907 @ Write Sys$Output "Before building for another architecture, be sure to"
908 @ Write Sys$Output " 1. $(MMS)$(MMSQUALIFIERS) clean"
909 @ Write Sys$Output " 2. Delete Miniperl$(E)"
910
911# CORE subset for MakeMaker, so we can build Perl without sources
912# Should move to VMS installperl when we get one
b0d5070b 913.ifdef SOCKET
787c52d8 914$(SOCKARCH) : $(SOCKH)
97abc6ad
HM
915 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
916 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
917.endif
918$(ARCHCORE)av.h : av.h
97abc6ad
HM
919 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
920 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 921$(ARCHCORE)cc_runtime.h : cc_runtime.h
97abc6ad
HM
922 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
923 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
924$(ARCHCORE)config.h : config.h
925 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
926 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
927$(ARCHCORE)cop.h : cop.h
928 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
929 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
930$(ARCHCORE)cv.h : cv.h
931 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
932 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
933$(ARCHCORE)embed.h : embed.h
934 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
935 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
936$(ARCHCORE)embedvar.h : embedvar.h
937 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
938 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
939$(ARCHCORE)extern.h : extern.h
940 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
941 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
942.ifdef FAKETHREADED
943$(ARCHCORE)fakethr.h : fakethr.h
944 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
945 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
946.endif
947$(ARCHCORE)form.h : form.h
948 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
949 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
950$(ARCHCORE)gv.h : gv.h
951 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
952 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
953$(ARCHCORE)handy.h : handy.h
954 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
955 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
956$(ARCHCORE)hv.h : hv.h
957 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
958 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
959$(ARCHCORE)intern.h : intern.h
960 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
961 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
962$(ARCHCORE)intrpvar.h : intrpvar.h
963 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
964 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
965$(ARCHCORE)iperlsys.h : iperlsys.h
966 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
967 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
968$(ARCHCORE)keywords.h : keywords.h
969 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
970 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
971$(ARCHCORE)mg.h : mg.h
972 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
973 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
974$(ARCHCORE)nostdio.h : nostdio.h
975 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
976 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
977$(ARCHCORE)objxsub.h : objxsub.h
978 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
979 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
980$(ARCHCORE)op.h : op.h
981 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
982 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
983$(ARCHCORE)opcode.h : opcode.h
984 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
985 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9
CB
986$(ARCHCORE)opnames.h : opnames.h
987 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
988 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
989$(ARCHCORE)patchlevel.h : patchlevel.h
990 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
991 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
992$(ARCHCORE)perl.h : perl.h
993 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
994 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
787c52d8
CB
995$(ARCHCORE)perlapi.h : perlapi.h
996 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
997 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 998$(ARCHCORE)perlio.h : perlio.h
3a385817
GS
999 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1000 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1001$(ARCHCORE)perlsdio.h : perlsdio.h
1002 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1003 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1004$(ARCHCORE)perlvars.h : perlvars.h
1005 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1006 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1007$(ARCHCORE)perly.h : perly.h
1008 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1009 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1010$(ARCHCORE)pp.h : pp.h
1011 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1012 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
cc391245
CB
1013$(ARCHCORE)pp_proto.h : pp_proto.h
1014 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1015 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1016$(ARCHCORE)proto.h : proto.h
1017 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1018 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1019$(ARCHCORE)regcomp.h : regcomp.h
1020 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1021 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1022$(ARCHCORE)regexp.h : regexp.h
1023 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1024 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b
CB
1025$(ARCHCORE)regnodes.h : regnodes.h
1026 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1027 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1028$(ARCHCORE)scope.h : scope.h
1029 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1030 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1031$(ARCHCORE)sv.h : sv.h
1032 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1033 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1034$(ARCHCORE)thrdvar.h : thrdvar.h
1035 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1036 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1037$(ARCHCORE)thread.h : thread.h
1038 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1039 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1040$(ARCHCORE)utf8.h : utf8.h
97abc6ad
HM
1041 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1042 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1043$(ARCHCORE)util.h : util.h
3937c24e
HM
1044 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1045 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1046$(ARCHCORE)vmsish.h : vmsish.h
1047 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1048 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
424a8fe9 1049$(ARCHCORE)warnings.h : warnings.h
cc391245
CB
1050 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1051 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
b0d5070b 1052$(ARCHCORE)xsub.h : xsub.h
97abc6ad
HM
1053 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1054 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
97abc6ad
HM
1055$(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts
1056 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1057 Copy/Log $(MMS$SOURCE) $(MMS$TARGET)
1058$(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts
1059 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1060 Copy/Log perlshr_attr.opt $(MMS$TARGET)
1061$(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts
1062 @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE)
1063 Copy/Log $(DBG)perlshr_bld.opt $(MMS$TARGET)
1064$(ARCHAUTO)time.stamp :
1065 @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO)
1066 @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET)
1067
1068.ifdef LINK_ONLY
1069.else
1070# We need an action line here for broken older versions of MMS which
1071# otherwise conclude that they should be compiling [.x2p]utils.c :-(
3a385817
GS
1072#util$(O) : util.c
1073# $(CC) $(CORECFLAGS) $(MMS$SOURCE)
97abc6ad 1074# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
b0d5070b 1075.ifdef SOCKET
787c52d8 1076$(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 1077 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0d5070b 1078.endif
787c52d8 1079av$(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 1080 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1081deb$(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 1082 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1083doio$(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 1084 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1085doop$(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 1086 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1087dump$(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 1088 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1089globals$(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 1090 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1091gv$(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 1092 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1093hv$(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 1094 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1095malloc$(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
1096 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1097mg$(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 1098 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1099miniperlmain$(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 1100 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1101op$(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 1102 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1103perl$(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 1104 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
b0bfe279
DS
1105perlapi$(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
1106 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1107perlio$(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 1108 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1109perlmain$(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 1110 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1111perly$(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 1112 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1113pp$(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 1114 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1115pp_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 1116 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1117pp_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 1118 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1119pp_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 1120 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1121regcomp$(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 1122 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1123regexec$(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 1124 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1125run$(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 1126 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1127scope$(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 1128 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1129sv$(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 1130 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1131taint$(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 1132 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1133toke$(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 1134 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1135universal$(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 1136 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1137utf8$(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 1138 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1139util$(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 1140 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1141vms$(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 1142 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
787c52d8 1143xsutils$(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 1144 $(CC) $(CORECFLAGS) $(MMS$SOURCE)
3a385817 1145
b0d5070b 1146[.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
1147 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1148
b0d5070b 1149[.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
1150 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1151
b0d5070b 1152[.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
1153 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1154
b0d5070b 1155[.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
1156 $(CC) $(X2PCFLAGS) $(MMS$SOURCE)
1157
97abc6ad
HM
1158# End of automatically generated make dependencies
1159.endif # !LINK_ONLY
1160
1161vmsish.h : [.vms]vmsish.h
1162 Copy/Log/NoConfirm [.vms]vmsish.h []vmsish.h
1163
1164vms.c : [.vms]vms.c
1165 Copy/Log/Noconfirm [.vms]vms.c []
1166
1167$(CRTL) : $(MAKEFILE)
9ef4b0a6 1168 @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)|$(SOCKLIB)"
97abc6ad
HM
1169
1170
1171cleanlis :
1172 - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;*
1173 - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;*
1174 - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;*
1175
1176tidy : cleanlis
1177 - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt
1178 - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O)
1179 - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E)
1180 - If F$Search("Config.H;-1").nes."" Then Purge/NoConfirm/Log Config.H
1181 - If F$Search("Config.SH;-1").nes."" Then Purge/NoConfirm/Log Config.SH
1182 - If F$Search("perly.c;-1").nes."" Then Purge/NoConfirm/Log perly.c
1183 - If F$Search("perly.h;-1").nes."" Then Purge/NoConfirm/Log perly.h
1184 - If F$Search("VMSish.H;-1").nes."" Then Purge/NoConfirm/Log VMSish.H
1185 - If F$Search("VMS.C;-1") .nes."" Then Purge/NoConfirm/Log VMS.C
1186 - If F$Search("Perlmain.C;-1") .nes."" Then Purge/NoConfirm/Log Perlmain.C
97abc6ad
HM
1187 - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar
1188 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O);-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O)
1189 - If F$Search("[.Ext.DynaLoader]DL_VMS.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1190 - If F$Search("[.Ext.Socket]Socket.C;-1").nes."" Then Purge/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C
1191 - If F$Search("[.Ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.Ext.Opcode]
1192 - If F$Search("[.VMS.Ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*.C
1193 - If F$Search("[.VMS.Ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.VMS.Ext...]*$(O)
1194 - If F$Search("[.Lib.Auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]*.al
1195 - If F$Search("[.Lib.Auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Auto...]autosplit.ix
1196 - If F$Search("[.Lib]DynaLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]DynaLoader.pm
25ea24bb 1197 - If F$Search("[.Lib]XSLoader.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]XSLoader.pm
97abc6ad
HM
1198 - If F$Search("[.Lib]Socket.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Socket.pm
1199 - If F$Search("[.Lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.Lib]Config.pm
1200 - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm
1201 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm
1202 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm
1203 - If F$Search("[.Lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.Lib.VMS]*.*
1204 - If F$Search("[.Lib.Pod]*.Pod;-1").nes."" Then Purge/NoConfirm/Log [.Lib.Pod]*.Pod
1205 - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.*
1206 - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com
1207 - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com
1208 - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com
1209 - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com
1210 - If F$Search("[.lib.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib.pod]*.com
1211
1212clean : tidy
cc391245 1213 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" clean
97abc6ad
HM
1214 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt
1215 - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);*
97abc6ad
HM
1216 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);*
1217 - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKC)")).nes."" Then Delete/NoConfirm/Log $(SOCKC);*
1218 - If F$Search("perly.c").nes."" Then Delete/NoConfirm/Log perly.c;*
52a043e6 1219 - Copy [.vms]perly_c.vms []perly.c
97abc6ad 1220 - If F$Search("perly.h").nes."" Then Delete/NoConfirm/Log perly.h;*
52a043e6 1221 - Copy [.vms]perly_h.vms []perly.h
97abc6ad
HM
1222 - If F$Search("VMSish.H").nes."" Then Delete/NoConfirm/Log VMSish.H;*
1223 - If F$Search("VMS.C") .nes."" Then Delete/NoConfirm/Log VMS.C;*
1224 - If F$Search("Perlmain.C") .nes."" Then Delete/NoConfirm/Log Perlmain.C;*
97abc6ad
HM
1225 - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;*
1226 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
1227 - If F$Search("[.Ext.DynaLoader]DL_VMS$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS$(O);*
1228 - If F$Search("[.Ext.DynaLoader]DL_VMS.C").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DL_VMS.C;*
52a043e6 1229 - If F$Search("[.Ext.DynaLoader]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]DynaLoader.pm;*
25ea24bb 1230 - If F$Search("[.Ext.DynaLoader]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Ext.DynaLoader]XSLoader.pm;*
97abc6ad
HM
1231 - If F$Search("[.Ext.Socket]Socket$(O)").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket$(O);*
1232 - If F$Search("[.Ext.Socket]Socket.C").nes."" Then Delete/NoConfirm/Log [.Ext.Socket]Socket.C;*
1233 - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;*
1234 - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);*
1235 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
1236
cc391245
CB
1237realclean : clean
1238 - @build_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" realclean
97abc6ad
HM
1239 - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);*
1240 - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*
f24bbd7d
HM
1241 - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*
1242 - If F$Search("Config.SH").nes."" Then Delete/NoConfirm/Log Config.SH;*
52a043e6 1243 - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config
cc391245
CB
1244 - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;*
1245 - If F$Search("Build_Ext.Com").nes."" Then Delete/NoConfirm/Log Build_Ext.Com;*
97abc6ad 1246 - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);"
25ea24bb 1247 - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;*
97abc6ad 1248 - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;*
25ea24bb 1249 - If F$Search("[.Lib]XSLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]XSLoader.pm;*
97abc6ad
HM
1250 - If F$Search("[.Lib]Socket.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Socket.pm;*
1251 - If F$Search("[.Lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.Lib]Config.pm;*
1252 - If F$Search("[.Lib]*.com").nes."" Then Delete/NoConfirm/Log [.Lib]*.com;*
52a043e6 1253 - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;*
97abc6ad
HM
1254 - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;*
1255 - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;*
1256 - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;*
1257 - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;*
1258 - If F$Search("[.lib.ExtUtils]XSSymSet.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]XSSymSet.pm;*
1259 - If F$Search("[.lib.pod]*.pod").nes."" Then Delete/NoConfirm/Log [.lib.pod]*.pod;*
1260 - If F$Search("[.lib.pod]perldoc.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]perldoc.com;*
1261 - If F$Search("[.lib.pod]pod2*.com").nes."" Then Delete/NoConfirm/Log [.lib.pod]pod2*.com;*
1262 - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;*
1263 - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);*
52a043e6 1264 - If F$Search("[.vms]Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log [.vms]Perl_Setup.Com;*
97abc6ad
HM
1265
1266cleansrc : clean
cc391245 1267!GROK!THIS!
97abc6ad
HM
1268 - If F$Search("*.C;-1").nes."" Then Purge/NoConfirm/Log *.C
1269 - If F$Search("*.H;-1").nes."" Then Purge/NoConfirm/Log *.H
1270 - If F$Search("*.VMS;-1").nes."" Then Purge/NoConfirm/Log *.VMS
1271 - If F$Search("[.VMS]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.VMS]$(MAKEFILE)
1272 - If F$Search("[.VMS]*.C;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.C
1273 - If F$Search("[.VMS]*.H;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.H
1274 - If F$Search("[.VMS]*.Pl;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.Pl
1275 - If F$Search("[.VMS]*.VMS;-1").nes."" Then Purge/NoConfirm/Log [.VMS]*.VMS
1276 - If F$Search("[.VMS...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.pm
1277 - If F$Search("[.VMS...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.VMS...]*.xs