Commit | Line | Data |
---|---|---|
97abc6ad HM |
1 | !GROK!THIS! |
2 | # Descrip.MMS for perl5 on VMS | |
1f74f634 | 3 | # Last revised 5-Dec-2001 by Craig Berry -- craigberry@mac.com |
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, | |
c2b27382 | 16 | # but leave 'installable' files (images, library) intact |
97abc6ad | 17 | # realclean -- remove all files generated by executing this file |
c2b27382 | 18 | # cleansrc -- 'realclean' + purge *.c,*.h,descrip.mms |
97abc6ad HM |
19 | # crtl.opt -- compiler-specific linker options file (made automatically) |
20 | # | |
21 | ||
22 | #### Start of system configuration section. #### | |
23 | ||
24 | ~DECC~ | |
7558ebc2 | 25 | ~DECCXX~ |
97abc6ad HM |
26 | ~GNUC~ |
27 | ~ARCH-TYPE~ = 1 | |
28 | ~THREAD~ | |
29 | ~SOCKET~ | |
429a5e67 DS |
30 | ~MALLOC~ |
31 | ~CC~ | |
3f39e13a CB |
32 | ~MTK~ |
33 | ~MTU~ | |
498336ed | 34 | ~FLAGS~ |
e0261ef8 | 35 | ~LARGEFILE~ |
44caa20c | 36 | ~ARCHNAME~ |
97abc6ad HM |
37 | |
38 | #: >>>>> Architecture-specific options <<<<< | |
86da1428 CB |
39 | .ifdef IXE |
40 | O = .ibj | |
41 | OLB = .ilb | |
42 | E = .ixe | |
43 | .else | |
97abc6ad HM |
44 | .ifdef AXE |
45 | # File type to use for object files | |
46 | O = .abj | |
47 | # File type to use for object libraries | |
48 | OLB = .alb | |
49 | # File type to use for executable images | |
50 | E = .axe | |
51 | .else | |
52 | # File type to use for object files | |
53 | O = .obj | |
54 | # File type to use for object libraries | |
55 | OLB = .olb | |
56 | # File type to use for executable images | |
57 | E = .exe | |
58 | .endif | |
86da1428 | 59 | .endif |
97abc6ad | 60 | |
86da1428 | 61 | .ifdef __IA64__ |
86da1428 CB |
62 | OBJVAL = $(O) |
63 | .else | |
97abc6ad | 64 | .ifdef __AXP__ |
97abc6ad HM |
65 | OBJVAL = $(O) |
66 | .else | |
97abc6ad HM |
67 | OBJVAL = $(MMS$TARGET_NAME)$(O) |
68 | .endif | |
86da1428 | 69 | .endif |
97abc6ad | 70 | |
85988417 | 71 | PERL_VERSION = ~PV~ |
97abc6ad | 72 | |
429a5e67 | 73 | .ifdef MALLOC |
b0d5070b CB |
74 | MALLOC_O = malloc$(O) |
75 | MALLOC_C = malloc$(C) | |
429a5e67 DS |
76 | .endif |
77 | ||
97abc6ad HM |
78 | .ifdef DECC_SOCKETS |
79 | SOCKET=1 | |
80 | .endif | |
81 | ||
44caa20c CB |
82 | ARCHDIR = [.lib.$(ARCHNAME).$(PERL_VERSION)] |
83 | ARCHCORE = [.lib.$(ARCHNAME).$(PERL_VERSION).CORE] | |
84 | ARCHAUTO = [.lib.$(ARCHNAME).$(PERL_VERSION).auto] | |
97abc6ad | 85 | |
97abc6ad HM |
86 | #: >>>>>Compiler-specific options <<<<< |
87 | .ifdef GNUC | |
88 | .first | |
89 | @ If F$TrnLnm("Sys").eqs."" Then Define/NoLog SYS GNU_CC_Include:[VMS] | |
90 | CC = gcc | |
97abc6ad HM |
91 | # -fno-builtin avoids bug in gcc up to version 2.6.2 which can destroy |
92 | # data when memcpy() is called on large (>64 kB) blocks of memory | |
93 | # (fixed in gcc 2.6.3) | |
94 | XTRACCFLAGS = /Obj=$(MMS$TARGET_NAME)$(O)/NoCase_Hack/Optimize=2 | |
95 | DBGSPECFLAGS = | |
429a5e67 | 96 | XTRADEF = |
97abc6ad HM |
97 | XTRAOBJS = |
98 | LIBS1 = GNU_CC:[000000]GCCLIB.OLB/Library | |
99 | LIBS2 = Sys$Share:VAXCRTL/Shareable | |
100 | POSIX = | |
101 | .else | |
102 | XTRAOBJS = | |
103 | LIBS1 = $(XTRAOBJS) | |
6fb2e99a | 104 | DBGSPECFLAGS = /Show=(expansion,include)/machine |
97abc6ad HM |
105 | # Some versions of DECCRTL on AXP have a bug in chdir() which causes the change |
106 | # to persist after the image exits, even when this was not requested, iff | |
107 | # SYSNAM is enabled. This is fixed in CSC Patch # AXPACRT04_061, but turning | |
108 | # off SYSNAM for the MM[SK] subprocess doesn't hurt anything, so we do it | |
109 | # just in case. | |
110 | .first | |
97abc6ad HM |
111 | @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").nes."" Then Define/NoLog SYS DECC$System_Include |
112 | .ifdef __AXP__ | |
787c52d8 | 113 | @ Set Process/Privilege=(NoSYSNAM) |
97abc6ad HM |
114 | @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS Sys$Library |
115 | .else | |
116 | @ If F$TrnLnm("Sys").eqs."" .and. F$TrnLnm("DECC$System_Include").eqs."" Then Define/NoLog SYS DECC$Library_Include | |
117 | .endif | |
118 | ||
7558ebc2 PP |
119 | .ifdef DECCXX |
120 | XTRACCFLAGS = /Include=[]/Standard=ANSI/Prefix=All/Obj=$(OBJVAL) | |
121 | .else | |
97abc6ad | 122 | XTRACCFLAGS = /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=$(OBJVAL) |
7558ebc2 | 123 | .endif |
97abc6ad HM |
124 | XTRADEF = |
125 | POSIX = POSIX | |
97abc6ad HM |
126 | .endif |
127 | ||
97abc6ad HM |
128 | #: >>>>> Configuration options <<<<< |
129 | #: __DEBUG__: builds images with full VMS debugger support | |
130 | .ifdef __DEBUG__ | |
131 | DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS) | |
132 | DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross | |
133 | DBG = DBG | |
134 | .else | |
135 | DBGCCFLAGS = /NoList | |
136 | DBGLINKFLAGS = /NoTrace/NoMap | |
137 | DBG = | |
138 | .endif | |
139 | ||
97abc6ad HM |
140 | .ifdef THREADED |
141 | THREADDEF = | |
142 | THREAD = THREAD | |
143 | .endif | |
144 | ||
145 | .ifdef OLDTHREADED | |
429a5e67 | 146 | THREADDEF = |
97abc6ad | 147 | THREAD = THREAD |
9ef4b0a6 | 148 | THRLIBS1 = sys$share:cma$lib_shr/share|sys$share:cma$rtl/share |
97abc6ad | 149 | .ifdef __AXP__ |
9ef4b0a6 | 150 | THRLIBS2 = sys$share:cma$open_lib_shr/share|sys$share:cma$open_rtl/share |
97abc6ad HM |
151 | .endif |
152 | .endif | |
153 | ||
154 | .ifdef FAKETHREADED | |
429a5e67 | 155 | THREADDEF = |
97abc6ad | 156 | THREADH = fakethr.h |
97abc6ad HM |
157 | THREAD = THREAD |
158 | .else | |
159 | THREADH = | |
97abc6ad HM |
160 | .endif |
161 | ||
3f39e13a CB |
162 | .ifdef MTU |
163 | .ifdef MTK | |
164 | MTHREADLINKFLAGS = /THREADS=(MULTIPLE_KERNEL,UPCALLS) | |
165 | .else | |
166 | MTHREADLINKFLAGS = /THREADS=UPCALLS | |
167 | .endif | |
168 | .else | |
169 | MTHREADLINKFLAGS = | |
170 | .endif | |
171 | ||
97abc6ad | 172 | # C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger |
e0261ef8 | 173 | .IFDEF LARGEFILE |
96021e87 JM |
174 | CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=$(LARGEFILE) |
175 | X2PCFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_FOR_X2P,$(LARGEFILE)) | |
176 | CORECFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_CORE,$(LARGEFILE)) | |
e0261ef8 | 177 | .ELSE |
498336ed | 178 | CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS) |
e0261ef8 CB |
179 | X2PCFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_FOR_X2P |
180 | CORECFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_CORE | |
181 | .ENDIF | |
182 | ||
97abc6ad HM |
183 | LINKFLAGS = $(DBGLINKFLAGS) |
184 | ||
185 | MAKE = $(MMS) | |
186 | MAKEFILE = Descrip.MMS # this file | |
187 | NOOP = continue | |
188 | ||
189 | # Macros to invoke a copy of miniperl during the build. Targets which | |
190 | # are built using these macros should depend on $(MINIPERL_EXE) | |
191 | MINIPERL_EXE = Sys$Disk:[]miniperl$(E) | |
2a6dc374 | 192 | MINIPERL = MCR $(MINIPERL_EXE) "-I[.lib]" "-I[.dist.Cwd]" "-I[.dist.Cwd.lib]" |
dfe814dc | 193 | MINIPERLQ = MCR $(MINIPERL_EXE) ""-I[.lib]"" |
29637182 | 194 | XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes |
97abc6ad HM |
195 | # Macro to invoke a preexisting copy of Perl. This is used to regenerate |
196 | # some header files when rebuilding Perl, but premade versions are provided | |
197 | # in the distribution, so it's OK if this doesn't work; it's here to make | |
198 | # life easier for those who modify Perl and rebuild it. | |
199 | INSTPERL = perl | |
7eb47696 NC |
200 | # Macros to invoke a copy of perl during the build. Targets which |
201 | # are built using these macros should depend on $(PERL_EXE) EXT | |
bfeb8220 CB |
202 | .IFDEF __DEBUG__ |
203 | PERL_EXE = Sys$Disk:[]n$(DBG)perl$(E) | |
204 | .ELSE | |
7eb47696 | 205 | PERL_EXE = Sys$Disk:[]perl$(E) |
bfeb8220 | 206 | .ENDIF |
7eb47696 | 207 | PERL = MCR $(PERL_EXE) "-I[.lib]" |
97abc6ad HM |
208 | |
209 | # Space-separated list of "static" extensions to build into perlshr (case counts). | |
210 | MYEXT = DynaLoader | |
211 | # object files for these extensions; the trailing comma is required if | |
212 | # there are any object files specified | |
213 | # These must be built separately, or you must add rules below to build them | |
859ef0cd | 214 | myextobj = DynaLoader$(O), |
97abc6ad HM |
215 | EXT = $(MYEXT) |
216 | extobj = $(myextobj) | |
97abc6ad | 217 | |
429a5e67 DS |
218 | .ifdef LIBS2 |
219 | .else | |
220 | LIBS2= | |
221 | .endif | |
97abc6ad | 222 | |
9ef4b0a6 BH |
223 | .ifdef THRLIBS1 |
224 | .else | |
225 | THRLIBS1= | |
226 | .endif | |
227 | ||
228 | .ifdef THRLIBS2 | |
229 | .else | |
230 | THRLIBS2= | |
231 | .endif | |
232 | ||
233 | FULLLIBS2 = $(LIBS2)|$(THRLIBS1)|$(THRLIBS2) | |
234 | ||
97abc6ad HM |
235 | #### End of system configuration section. #### |
236 | ||
046cc26c | 237 | c0 = $(MALLOC_C) av.c deb.c doio.c doop.c dump.c globals.c gv.c hv.c mro.c |
7ee2227d | 238 | c1 = mg.c locale.c mathoms.c miniperlmain.c numeric.c op.c pad.c perl.c perlapi.c perlio.c |
10bc17b6 | 239 | c2 = perly.c pp.c pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c regexec.c reentr.c |
26ea9e12 | 240 | c3 = run.c scope.c sv.c taint.c toke.c universal.c utf8.c util.c vms.c keywords.c |
b0d5070b CB |
241 | c = $(c0) $(c1) $(c2) $(c3) |
242 | ||
5c9818e9 | 243 | obj0 = perl$(O) |
046cc26c | 244 | obj1 = $(MALLOC_O) av$(O) deb$(O) doio$(O) doop$(O) dump$(O) mro$(O) globals$(O) gv$(O) hv$(O) |
cfc889ad | 245 | obj2 = keywords$(O) locale$(O) mathoms$(O) mg$(O) miniperlmain$(O) numeric$(O) op$(O) pad$(O) perlapi$(O) perlio$(O) |
5c9818e9 | 246 | obj3 = perly$(O) pp$(O) pp_ctl$(O) pp_hot$(O) reentr$(O) pp_pack$(O) pp_sort$(O) pp_sys$(O) regcomp$(O) |
48462a74 | 247 | obj4 = regexec$(O) run$(O) scope$(O) sv$(O) taint$(O) toke$(O) universal$(O) utf8$(O) util$(O) vms$(O) |
5c9818e9 CB |
248 | |
249 | mini_obj = perlmini$(O) $(obj1) $(obj2) $(obj3) $(obj4) | |
b0d5070b CB |
250 | obj = $(obj0) $(obj1) $(obj2) $(obj3) $(obj4) |
251 | ||
63e9201e | 252 | h0 = av.h config.h cop.h cv.h embed.h embedvar.h |
02e4b6fe | 253 | h1 = EXTERN.h form.h gv.h handy.h hv.h l1_char_class_tab.h INTERN.h intrpvar.h |
8b09643d NC |
254 | h2 = iperlsys.h keywords.h mydtrace.h mg.h mg_vtable.h nostdio.h op.h |
255 | h3 = op_reg_common.h opcode.h opnames.h overload.h pad.h parser.h patchlevel.h | |
256 | h4 = perl.h perlapi.h perlio.h perlsdio.h perlvars.h perly.h | |
66b82e1f | 257 | h5 = pp.h pp_proto.h proto.h regcomp.h regexp.h regnodes.h scope.h |
37395ff5 | 258 | h6 = sv.h thread.h utf8.h util.h vmsish.h warnings.h |
046cc26c | 259 | h7 = xsub.h $(THREADH) |
66b82e1f | 260 | h = $(h0) $(h1) $(h2) $(h3) $(h4) $(h5) $(h6) $(h7) |
787c52d8 | 261 | |
787c52d8 | 262 | acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt |
5c0877fa | 263 | ac = archcore_includes.ts $(acopt) |
c05f8f3d | 264 | |
9387abf8 NC |
265 | generated_headers = uudmap.h bitcount.h mg_data.h |
266 | ||
97abc6ad HM |
267 | CRTL = []crtl.opt |
268 | CRTLOPTS =,$(CRTL)/Options | |
269 | ||
270 | .SUFFIXES | |
271 | ||
272 | .ifdef LINK_ONLY | |
273 | .else | |
274 | .SUFFIXES $(O) .c .xs | |
275 | ||
276 | .xs.c : | |
277 | $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET) | |
278 | ||
97abc6ad HM |
279 | .c$(O) : |
280 | $(CC) $(CFLAGS) $(MMS$SOURCE) | |
281 | ||
282 | .xs$(O) : | |
283 | $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c | |
284 | $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c | |
285 | .endif | |
286 | ||
ca12659b NC |
287 | # Directories of Unicode data files generated by mktables |
288 | unidatadirs = lib/unicore/To lib/unicore/lib | |
289 | ||
97abc6ad | 290 | # Modules which must be installed before we can build extensions |
7353f64c | 291 | LIBPREREQ = $(ARCHDIR)Config.pm $(ARCHDIR)Config_heavy.pl [.lib.VMS]Filespec.pm $(ARCHDIR)vmspipe.com [.lib]buildcustomize.pl |
97abc6ad | 292 | |
4403bf93 | 293 | utils1 = [.utils]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com |
c9dab4e9 | 294 | utils2 = [.utils]h2xs.com [.utils]libnetcfg.com [.lib]perlbug.com [.utils]json_pp.com |
d658129c | 295 | utils3 = [.utils]perlivp.com [.lib]splain.com [.utils]pl2pm.com [.utils]xsubpp.com [.utils]pod2html.com [.utils]instmodsh.com |
bb4e9162 | 296 | utils4 = [.utils]enc2xs.com [.utils]piconv.com [.utils]cpan.com [.utils]prove.com [.utils]ptar.com [.utils]ptardiff.com [.utils]shasum.com |
08ad9465 | 297 | utils5 = [.utils]corelist.com [.utils]config_data.com [.utils]cpanp.com [.utils]cpan2dist.com [.utils]cpanp-run-perl.com [.utils]ptargrep.com [.utils]zipdetails.com |
97abc6ad HM |
298 | |
299 | .ifdef NOX2P | |
bfeb8220 | 300 | all : base extras archcorefiles preplibrary [.pod]perltoc.pod |
1b2d7687 PP |
301 | @ QUALIFIERS := $(MMSQUALIFIERS) |
302 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
dfe814dc | 303 | @ write sys$output " " |
1b2d7687 | 304 | @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite." |
97abc6ad | 305 | .else |
bfeb8220 | 306 | all : base extras x2p archcorefiles preplibrary [.pod]perltoc.pod |
1b2d7687 PP |
307 | @ QUALIFIERS := $(MMSQUALIFIERS) |
308 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
dfe814dc | 309 | @ write sys$output " " |
1b2d7687 | 310 | @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite." |
97abc6ad | 311 | .endif |
9c3905ef | 312 | |
5c9818e9 | 313 | git_version.h : $(MINIPERL_EXE) make_patchnum.pl |
16ad9bfa | 314 | $(MINIPERL) make_patchnum.pl |
05b0cfd1 | 315 | |
f952ce75 | 316 | base : miniperl git_version.h nonxsext perl |
97abc6ad | 317 | @ $(NOOP) |
33c64ab2 | 318 | extras : dynext libmods utils extra.pods |
97abc6ad HM |
319 | @ $(NOOP) |
320 | libmods : $(LIBPREREQ) | |
321 | @ $(NOOP) | |
bb4e9162 | 322 | utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5) |
97abc6ad | 323 | @ $(NOOP) |
71a0fcfa | 324 | x2p : [.x2p]$(DBG)a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com |
97abc6ad | 325 | @ $(NOOP) |
414b89cc CB |
326 | extra.pods : miniperl |
327 | @ @extra_pods.com | |
97abc6ad | 328 | |
916c45d9 | 329 | PERLDELTA_CURRENT = [.pod]perl5174delta.pod |
600dcb9e CB |
330 | |
331 | $(PERLDELTA_CURRENT) : [.pod]perldelta.pod | |
1400179b NC |
332 | Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET) |
333 | ||
30a06a3a | 334 | [.pod]perlapi.pod : embed.fnc autodoc.pl $(MINIPERL_EXE) |
b0f0014b | 335 | $(MINIPERL) autodoc.pl |
344af494 | 336 | |
6e2c8928 NC |
337 | [.pod]perlmodlib.pod : [.pod]perlmodlib.pl MANIFEST $(MINIPERL_EXE) |
338 | $(MINIPERL) [.pod]perlmodlib.pl "-q" | |
339 | ||
30a06a3a CB |
340 | [.pod]perlintern.pod : embed.fnc autodoc.pl $(MINIPERL_EXE) |
341 | $(MINIPERL) autodoc.pl | |
342 | ||
600dcb9e | 343 | [.pod]perltoc.pod : $(PERLDELTA_CURRENT) [.pod]perlapi.pod [.pod]perlintern.pod [.pod]perlmodlib.pod extra.pods $(PERL_EXE) |
bfeb8220 | 344 | @ define/user_mode $(DBG)PERLSHR SYS$DISK:[]$(DBG)perlshr$(E) |
b78c1104 | 345 | $(PERL) "-f" [.pod]buildtoc "-q" |
97abc6ad | 346 | |
7e2254de | 347 | archcorefiles : $(ac) $(ARCHAUTO)time.stamp |
97abc6ad HM |
348 | @ $(NOOP) |
349 | ||
5e4c4c91 NC |
350 | [.lib]buildcustomize.pl : write_buildcustomize.pl $(MINIPERL_EXE) |
351 | $(MINIPERL) write_buildcustomize.pl > [.lib]buildcustomize.pl | |
352 | ||
93d6612c | 353 | vmspipe.com : [.vms]vmspipe.com |
1f74f634 | 354 | Copy/NoConfirm/Log $(MMS$SOURCE) [] |
93d6612c CB |
355 | |
356 | miniperl : $(DBG)miniperl$(E) vmspipe.com | |
97abc6ad | 357 | @ Continue |
5c9818e9 CB |
358 | $(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) |
359 | Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) | |
360 | $(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) | |
361 | Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) | |
97abc6ad HM |
362 | |
363 | $(DBG)libperl$(OLB) : $(obj) | |
364 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET) | |
8f9bf0bf | 365 | Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST) |
97abc6ad | 366 | |
5c9818e9 CB |
367 | $(DBG)libperlmini$(OLB) : $(mini_obj) |
368 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET) | |
369 | Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST) | |
370 | ||
116e14c1 CB |
371 | perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.lib.ExtUtils]Miniperl.pm |
372 | $(MINIPERL) -"MExtUtils::Miniperl" -e "writemain(@ARGV)" "$(EXT)" > perlmain.c | |
97abc6ad | 373 | |
97abc6ad HM |
374 | .ifdef __DEBUG__ |
375 | # Link an extra perl that doesn't invoke the debugger | |
1f052492 | 376 | perl : $(DBG)perl$(E) |
3f39e13a | 377 | Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS) |
97abc6ad | 378 | .else |
1f052492 | 379 | perl : $(DBG)perl$(E) |
97abc6ad HM |
380 | @ Continue |
381 | .endif | |
382 | ||
383 | $(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE) | |
384 | @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share" | |
3f39e13a | 385 | Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS) |
97abc6ad | 386 | |
97abc6ad HM |
387 | $(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts |
388 | Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option | |
389 | ||
5c9818e9 CB |
390 | perlmini.c : perl.c |
391 | @ IF F$SEARCH("$(MMS$TARGET)") .NES. "" THEN DELETE/NOCONFIRM/LOG $(MMS$TARGET);* | |
392 | @ COPY/NOCONFIRM _NLA0: $(MMS$TARGET) | |
393 | @ SET FILE /ATTRIBUTES=RFM:STMLF $(MMS$TARGET) | |
394 | @ OPEN/APPEND perlmini $(MMS$TARGET) | |
395 | @ WRITE perlmini "#define PERL_IS_MINIPERL" | |
396 | @ CLOSE perlmini | |
397 | @ APPEND/NOCONFIRM/LOG $(MMS$SOURCE) $(MMS$TARGET) | |
398 | ||
399 | perlmini$(O) : perlmini.c | |
400 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
401 | ||
6f83ef0e | 402 | bitcount.h mg_data.h : uudmap.h |
45b279ec | 403 | @ $(NOOP) |
6999193b | 404 | |
92d23424 | 405 | uudmap.h : generate_uudmap$(E) |
9387abf8 | 406 | MCR SYS$DISK:[]generate_uudmap$(E) $(generated_headers) |
9444d213 | 407 | |
c3301a92 | 408 | generate_uudmap$(E) : generate_uudmap$(O) $(CRTL) |
9444d213 NC |
409 | Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) generate_uudmap$(O) $(CRTLOPTS) |
410 | ||
6f83ef0e | 411 | generate_uudmap$(O) : generate_uudmap.c mg_raw.h |
b50d78f7 CB |
412 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
413 | ||
97abc6ad HM |
414 | # The following files are built in one go by gen_shrfls.pl: |
415 | # perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP | |
416 | # perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only | |
93ea32b8 | 417 | # The song and dance with gen_shrfls.opt accommodates DCL's line length limit. |
97abc6ad | 418 | $(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL) |
93ea32b8 | 419 | @ $(MINIPERL) makedef.pl "PLATFORM=vms" > makedef.lis |
97abc6ad HM |
420 | @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt |
421 | @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt | |
422 | $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt | |
423 | @ Delete/NoLog/NoConfirm gen_shrfls.opt; | |
424 | @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;* | |
425 | @ Copy _NLA0: $(DBG)perlshr_xtras.ts | |
97abc6ad | 426 | |
1f74f634 | 427 | $(ARCHDIR)Config.pm : [.lib]Config.pm |
97abc6ad | 428 | Create/Directory $(ARCHDIR) |
1f74f634 | 429 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR) |
97abc6ad | 430 | |
2d9d8159 NC |
431 | $(ARCHDIR)Config_heavy.pl : [.lib]Config_heavy.pl |
432 | Create/Directory $(ARCHDIR) | |
433 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR) | |
434 | ||
1f74f634 | 435 | [.lib]Config.pm : config.h $(MINIPERL_EXE) |
97abc6ad HM |
436 | $(MINIPERL) ConfigPM. |
437 | ||
93d6612c | 438 | $(ARCHDIR)vmspipe.com : vmspipe.com |
1f74f634 | 439 | Copy $(MMS$SOURCE) $(ARCHDIR) |
93d6612c | 440 | |
3dc3a597 | 441 | unidatafiles.ts : $(MINIPERL_EXE) [.lib]Config.pm [.lib.unicore]mktables nonxsext |
3df51b85 | 442 | $(MINIPERL) [.lib.unicore]mktables "-C" [.lib.unicore] "-P" [.pod] "-makelist" "-maketest" "-p" |
23b62609 CB |
443 | @ If F$Search("$(MMS$TARGET)").nes."" Then Delete/NoLog/NoConfirm $(MMS$TARGET);* |
444 | @ Copy/NoConfirm _NLA0: $(MMS$TARGET) | |
ca12659b | 445 | |
5e4c4c91 | 446 | DynaLoader$(O) : [.lib]buildcustomize.pl $(ARCHDIR)Config.pm $(MINIPERL_EXE) [.lib.VMS]Filespec.pm |
859ef0cd | 447 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "DynaLoader" |
25ea24bb | 448 | |
859ef0cd | 449 | dynext : $(LIBPREREQ) $(DBG)perlshr$(E) unidatafiles.ts DynaLoader$(O) preplibrary makeppport $(MINIPERL_EXE) |
a34ce875 NC |
450 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--dynamic" "--static" |
451 | ||
291c8c21 | 452 | nonxsext : $(LIBPREREQ) preplibrary $(MINIPERL_EXE) [.pod]perlfunc.pod |
a34ce875 | 453 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--nonxs" |
97abc6ad | 454 | |
97abc6ad HM |
455 | [.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm |
456 | @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS] | |
1f74f634 | 457 | Copy/NoConfirm/Log $(MMS$SOURCE) [.lib.VMS] |
97abc6ad | 458 | |
4403bf93 | 459 | [.utils]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm |
08da30e0 | 460 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
461 | |
462 | [.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm | |
08da30e0 | 463 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) >$(MMS$TARGET) |
97abc6ad | 464 | |
cdf8b154 | 465 | [.utils]perlivp.com : [.utils]perlivp.PL $(ARCHDIR)Config.pm |
08da30e0 | 466 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
cdf8b154 | 467 | |
2bfebb05 | 468 | [.utils]cpan.com : [.utils]cpan.PL $(ARCHDIR)Config.pm |
08da30e0 | 469 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
2bfebb05 | 470 | |
47ff27e1 | 471 | [.utils]cpanp.com : [.utils]cpanp.PL $(ARCHDIR)Config.pm |
08da30e0 | 472 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 RGS |
473 | |
474 | [.utils]cpan2dist.com : [.utils]cpan2dist.PL $(ARCHDIR)Config.pm | |
08da30e0 | 475 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 RGS |
476 | |
477 | [.utils]cpanp-run-perl.com : [.utils]cpanp-run-perl.PL $(ARCHDIR)Config.pm | |
08da30e0 | 478 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 | 479 | |
4b618757 | 480 | [.utils]prove.com : [.utils]prove.PL $(ARCHDIR)Config.pm |
08da30e0 | 481 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
291d3373 RGS |
482 | |
483 | [.utils]ptar.com : [.utils]ptar.PL $(ARCHDIR)Config.pm | |
08da30e0 | 484 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
4b618757 | 485 | |
b8669316 | 486 | [.utils]ptardiff.com : [.utils]ptardiff.PL $(ARCHDIR)Config.pm |
08da30e0 | 487 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
b8669316 | 488 | |
deabda19 CBW |
489 | [.utils]ptargrep.com : [.utils]ptargrep.PL $(ARCHDIR)Config.pm |
490 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
491 | ||
3ddf9550 | 492 | [.utils]shasum.com : [.utils]shasum.PL $(ARCHDIR)Config.pm |
08da30e0 | 493 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
3ddf9550 | 494 | |
bb4e9162 | 495 | [.utils]config_data.com : [.utils]config_data.PL $(ARCHDIR)Config.pm |
08da30e0 | 496 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
bb4e9162 | 497 | |
6efb3e4d | 498 | [.utils]corelist.com : [.utils]corelist.PL $(ARCHDIR)Config.pm |
08da30e0 | 499 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
6efb3e4d | 500 | |
97abc6ad | 501 | [.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm |
08da30e0 | 502 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 503 | |
d9f91944 CB |
504 | [.utils]json_pp.com : [.utils]json_pp.PL $(ARCHDIR)Config.pm |
505 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
506 | ||
14d70106 | 507 | [.utils]enc2xs.com : [.utils]enc2xs.PL $(ARCHDIR)Config.pm |
08da30e0 | 508 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
14d70106 | 509 | |
97abc6ad | 510 | [.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm |
08da30e0 | 511 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
512 | |
513 | [.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm | |
08da30e0 | 514 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 515 | |
88be34b6 | 516 | [.utils]instmodsh.com : [.utils]instmodsh.PL $(ARCHDIR)Config.pm |
08da30e0 | 517 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
88be34b6 | 518 | |
5fa137f1 | 519 | [.utils]libnetcfg.com : [.utils]libnetcfg.PL $(ARCHDIR)Config.pm |
08da30e0 | 520 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
5fa137f1 | 521 | |
97abc6ad | 522 | [.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm |
08da30e0 | 523 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
1f74f634 | 524 | Copy/NoConfirm/Log [.utils]perlbug.com [.lib] |
97abc6ad | 525 | |
14d70106 | 526 | [.utils]piconv.com : [.utils]piconv.PL $(ARCHDIR)Config.pm |
08da30e0 | 527 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
14d70106 | 528 | |
97abc6ad | 529 | [.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm |
08da30e0 | 530 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
531 | |
532 | [.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm | |
08da30e0 | 533 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
1f74f634 | 534 | Copy/NoConfirm/Log [.utils]splain.com [.lib] |
97abc6ad HM |
535 | |
536 | [.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm | |
08da30e0 | 537 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
538 | |
539 | [.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm | |
08da30e0 | 540 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 541 | |
798fd3e2 | 542 | [.utils]xsubpp.com : [.utils]xsubpp.PL $(ARCHDIR)Config.pm nonxsext |
08da30e0 | 543 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
5fa137f1 | 544 | |
08ad9465 CBW |
545 | [.utils]zipdetails.com : [.utils]zipdetails.PL $(ARCHDIR)Config.pm nonxsext |
546 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
547 | ||
d658129c FR |
548 | [.utils]pod2html.com : [.utils]pod2html.PL $(ARCHDIR)Config.pm nonxsext |
549 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
550 | ||
97abc6ad HM |
551 | # Rename catches problem with some DECC versions in which object file is |
552 | # placed in current default dir, not same one as source file. | |
553 | [.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O) | |
554 | @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p] | |
555 | Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS) | |
556 | ||
8f9bf0bf | 557 | # Accommodate buggy cpp in some version of DECC, which chokes on illegal |
97abc6ad HM |
558 | # filespec "y.tab.c", and broken gcc cpp, which doesn't start #include "" |
559 | # search in same dir as source file | |
046cc26c | 560 | [.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 $(MINIPERL_EXE) |
97abc6ad | 561 | $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c |
3a385817 | 562 | $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c |
97abc6ad HM |
563 | Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c; |
564 | ||
565 | # gcc cpp broken -- doesn't look in directory of source file for #include "" | |
566 | .ifdef GNUC | |
567 | [.x2p]hash$(O) : [.x2p]hash.c | |
3a385817 | 568 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
569 | |
570 | [.x2p]str$(O) : [.x2p]str.c | |
3a385817 | 571 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
572 | |
573 | [.x2p]util$(O) : [.x2p]util.c | |
3a385817 | 574 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
575 | |
576 | [.x2p]walk$(O) : [.x2p]walk.c | |
3a385817 | 577 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
578 | .endif |
579 | ||
9b5878df | 580 | preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) |
c43be3e8 | 581 | @ $(NOOP) |
97abc6ad | 582 | |
d1a21686 | 583 | makeppport : $(MINIPERL_EXE) $(ARCHDIR)Config.pm nonxsext |
42e07562 MHM |
584 | $(MINIPERL) mkppport |
585 | ||
bfeb8220 | 586 | install.html : [.pod]perltoc.pod |
c645ec3f GS |
587 | @ @perl_setup.com |
588 | @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html] | |
589 | $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose" | |
b4bc034f | 590 | |
97abc6ad HM |
591 | printconfig : |
592 | @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS) | |
046cc26c | 593 | @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(EXT)" "$(DBG)" |
97abc6ad | 594 | |
424a8fe9 | 595 | # The following files are generated automatically |
d500e60d | 596 | # embed.pl: proto.h embed.h embedvar.h perlapi.h perlapi.c |
897d3989 | 597 | # opcode.pl: opcode.h opnames.h pp_proto.h |
5f286eee CB |
598 | # regcomp.pl: regnodes.h |
599 | # warnings.pl: warnings.h lib/warnings.pm | |
97abc6ad HM |
600 | # The correct versions should be already supplied with the perl kit, |
601 | # in case you don't have perl available. | |
5f286eee CB |
602 | # To force them to be regenerated, run |
603 | # perl regen.pl | |
604 | # with your existing copy of perl | |
605 | # (make regen_headers is kept for backwards compatibility) | |
606 | ||
607 | regen : | |
608 | $(INSTPERL) regen.pl | |
609 | ||
97abc6ad | 610 | regen_headers : |
5f286eee | 611 | $(INSTPERL) regen.pl -v |
97abc6ad | 612 | |
97abc6ad HM |
613 | .ifdef LINK_ONLY |
614 | .else | |
787c52d8 | 615 | perly$(O) : perly.c, perly.h, $(h) |
97abc6ad HM |
616 | .endif |
617 | ||
618 | [.t.lib]vmsfspec.t : [.vms.ext]filespec.t | |
1f74f634 | 619 | Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET) |
97abc6ad | 620 | |
7558ebc2 PP |
621 | check : test |
622 | @ Continue | |
623 | ||
6e2cec71 | 624 | test : all [.t.lib]vmsfspec.t |
20533b5a | 625 | @ PERL_TEST_DRIVER == "TEST." |
97386f52 | 626 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
40996b78 AT |
627 | @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests. |
628 | ||
6e2cec71 | 629 | test_harness : all [.t.lib]vmsfspec.t |
20533b5a | 630 | @ PERL_TEST_DRIVER == "harness." |
97386f52 | 631 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
dfe814dc | 632 | @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests. |
97abc6ad | 633 | |
7353f64c | 634 | minitest : $(MINITEST_EXE) [.lib.VMS]Filespec.pm unidatafiles.ts |
68ccb645 | 635 | @ PERL_TEST_DRIVER == "minitest" |
97386f52 | 636 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
68ccb645 | 637 | |
3a385817 GS |
638 | # install ought not need a source, but it doesn't work if one's not |
639 | # there. Go figure... | |
5ea6993d | 640 | install : $(PERL_EXE) |
c645ec3f | 641 | @ @perl_setup.com |
29637182 | 642 | If F$TrnLnm("Sys") .nes. "" Then Deass SYS |
5ea6993d CB |
643 | @ define/user_mode $(DBG)PERLSHR SYS$DISK:[]$(DBG)perlshr$(E) |
644 | $(PERL) installperl | |
97abc6ad HM |
645 | |
646 | archify : all | |
44caa20c | 647 | @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCHNAME)" |
97abc6ad HM |
648 | archroot = "$(ARCHAUTO)" - "]" + "...]" |
649 | Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version | |
650 | Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir) | |
651 | Delete/Log/NoConfirm [.lib]Config.pm;* | |
2d9d8159 | 652 | Delete/Log/NoConfirm [.lib]Config_heavy.pl;* |
71a0fcfa PP |
653 | Copy/Log/NoConfirm *$(E);,[.x2p]$(DBG)a2p$(E); $(ARCHDIR) |
654 | Delete/Log/NoConfirm Perl*$(E);*,[.x2p]$(DBG)a2p$(E);* | |
1b2d7687 PP |
655 | @ QUALIFIERS := $(MMSQUALIFIERS) |
656 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
97abc6ad HM |
657 | @ Write Sys$Output "Architecture-specific setup completed." |
658 | @ Write Sys$Output "Before building for another architecture, be sure to" | |
1b2d7687 | 659 | @ Write Sys$Output " 1. $(MMS)''QUALIFIERS' clean" |
97abc6ad HM |
660 | @ Write Sys$Output " 2. Delete Miniperl$(E)" |
661 | ||
662 | # CORE subset for MakeMaker, so we can build Perl without sources | |
5c0877fa CB |
663 | |
664 | archcore_includes.ts : | |
97abc6ad | 665 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
5c0877fa CB |
666 | Copy/NoConfirm/Log *.h $(ARCHCORE) |
667 | @ Copy _NLA0: $(MMS$TARGET) | |
97abc6ad HM |
668 | $(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts |
669 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 670 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
671 | $(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts |
672 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
d510da7a | 673 | Copy/NoConfirm/Log perlshr_attr.opt $(ARCHCORE) |
97abc6ad HM |
674 | $(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts |
675 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 676 | Copy/NoConfirm/Log $(DBG)perlshr_bld.opt $(ARCHCORE) |
97abc6ad HM |
677 | $(ARCHAUTO)time.stamp : |
678 | @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO) | |
679 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET) | |
680 | ||
681 | .ifdef LINK_ONLY | |
682 | .else | |
683 | # We need an action line here for broken older versions of MMS which | |
684 | # otherwise conclude that they should be compiling [.x2p]utils.c :-( | |
3a385817 GS |
685 | #util$(O) : util.c |
686 | # $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
97abc6ad | 687 | # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE |
1f74f634 CB |
688 | av$(O) : av.c $(h) |
689 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
690 | deb$(O) : deb.c $(h) | |
691 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
692 | doio$(O) : doio.c $(h) | |
693 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
694 | doop$(O) : doop.c $(h) | |
695 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
696 | dump$(O) : dump.c $(h) | |
3a385817 | 697 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
9387abf8 | 698 | globals$(O) : globals.c $(generated_headers) $(h) |
b50d78f7 | 699 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 700 | gv$(O) : gv.c $(h) |
3a385817 | 701 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
e1a479c5 BB |
702 | mro$(O) : mro.c $(h) |
703 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 704 | hv$(O) : hv.c $(h) |
3a385817 | 705 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
cfc889ad CB |
706 | keywords$(O) : keywords.c $(h) |
707 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 708 | locale$(O) : locale.c $(h) |
3a385817 | 709 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 710 | malloc$(O) : malloc.c $(h) |
3a385817 | 711 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
9fcbb300 JM |
712 | mathoms$(O) : mathoms.c $(h) |
713 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 714 | mg$(O) : mg.c $(h) |
3a385817 | 715 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 716 | miniperlmain$(O) : miniperlmain.c $(h) |
3a385817 | 717 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 718 | numeric$(O) : numeric.c $(h) |
cfbf4ea5 | 719 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 720 | pad$(O) : pad.c $(h) |
b0bfe279 | 721 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 722 | op$(O) : op.c $(h) |
3a385817 | 723 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
05b0cfd1 | 724 | perl$(O) : perl.c git_version.h $(h) |
3a385817 | 725 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 726 | perlapi$(O) : perlapi.c $(h) |
cfbf4ea5 | 727 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 728 | perlio$(O) : perlio.c config.h $(h) |
3a385817 | 729 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
5c9818e9 | 730 | perlmain$(O) : perlmain.c $(h) |
3a385817 | 731 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 732 | perly$(O) : perly.c $(h) |
b0bfe279 | 733 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 734 | pp$(O) : pp.c $(h) |
3a385817 | 735 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 736 | pp_ctl$(O) : pp_ctl.c $(h) |
3a385817 | 737 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 738 | pp_hot$(O) : pp_hot.c $(h) |
3a385817 | 739 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 740 | pp_pack$(O) : pp_pack.c $(h) |
3a385817 | 741 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 742 | pp_sort$(O) : pp_sort.c $(h) |
3a385817 | 743 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 744 | pp_sys$(O) : pp_sys.c $(h) |
3a385817 | 745 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 746 | reentr$(O) : reentr.c $(h) |
3a385817 | 747 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 748 | regcomp$(O) : regcomp.c $(h) |
3a385817 | 749 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 750 | regexec$(O) : regexec.c $(h) |
3a385817 | 751 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 752 | run$(O) : run.c $(h) |
3a385817 | 753 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 754 | scope$(O) : scope.c $(h) |
3a385817 | 755 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
94a11853 | 756 | sv$(O) : sv.c $(h) |
3a385817 | 757 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 758 | taint$(O) : taint.c $(h) |
3a385817 | 759 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 760 | toke$(O) : toke.c $(h) |
3a385817 | 761 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 762 | universal$(O) : universal.c $(h) |
3a385817 | 763 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 764 | utf8$(O) : utf8.c $(h) |
3a385817 | 765 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 766 | util$(O) : util.c $(h) |
3937c24e | 767 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 768 | vms$(O) : vms.c $(h) |
3a385817 GS |
769 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
770 | ||
046cc26c | 771 | [.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 |
3a385817 GS |
772 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
773 | ||
046cc26c | 774 | [.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 |
3a385817 GS |
775 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
776 | ||
046cc26c | 777 | [.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 |
3a385817 GS |
778 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
779 | ||
046cc26c | 780 | [.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 |
3a385817 GS |
781 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
782 | ||
97abc6ad HM |
783 | # End of automatically generated make dependencies |
784 | .endif # !LINK_ONLY | |
785 | ||
786 | vmsish.h : [.vms]vmsish.h | |
1f74f634 | 787 | Copy/Log/NoConfirm [.vms]vmsish.h [] |
97abc6ad HM |
788 | |
789 | vms.c : [.vms]vms.c | |
790 | Copy/Log/Noconfirm [.vms]vms.c [] | |
791 | ||
792 | $(CRTL) : $(MAKEFILE) | |
046cc26c | 793 | @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)" |
97abc6ad | 794 | |
dfe814dc PP |
795 | ok : $(utils) |
796 | $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" | |
797 | ||
798 | okfile : $(utils) | |
799 | $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok | |
800 | ||
801 | nok : $(utils) | |
802 | @ write sys$output " " | |
803 | @ write sys$output " Please type the command:" | |
804 | @ write sys$output " " | |
805 | @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)""" | |
806 | ||
807 | nokfile : $(utils) | |
808 | @ write sys$output " " | |
809 | @ write sys$output " Please type the command:" | |
810 | @ write sys$output " " | |
811 | @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok" | |
812 | ||
97abc6ad HM |
813 | cleanlis : |
814 | - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;* | |
815 | - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;* | |
816 | - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;* | |
817 | ||
59d8d783 | 818 | cleantest : |
31e425b5 | 819 | - If F$Search("[.t]Perl$(E)").nes."" Then Delete/NoConfirm/Log [.t]Perl$(E);* |
59d8d783 | 820 | - If F$Search("[.t]VMSPIPE.COM").nes."" Then Delete/NoConfirm/Log [.t]VMSPIPE.COM;* |
59d8d783 | 821 | |
97abc6ad HM |
822 | tidy : cleanlis |
823 | - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt | |
824 | - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O) | |
825 | - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E) | |
97386f52 CB |
826 | - If F$Search("config.h;-1").nes."" Then Purge/NoConfirm/Log config.h |
827 | - If F$Search("config.sh;-1").nes."" Then Purge/NoConfirm/Log config.sh | |
828 | - If F$Search("vmsish.h;-1").nes."" Then Purge/NoConfirm/Log vmsish.h | |
829 | - If F$Search("vms.c;-1") .nes."" Then Purge/NoConfirm/Log vms.c | |
830 | - If F$Search("perlmain.c;-1") .nes."" Then Purge/NoConfirm/Log perlmain.c | |
9444d213 | 831 | - If F$Search("uudmap.h;-1") .nes."" Then Purge/NoConfirm/Log uudmap.h |
efa50c51 | 832 | - If F$Search("bitcount.h;-1") .nes."" Then Purge/NoConfirm/Log bitcount.h |
6f83ef0e | 833 | - If F$Search("mg_data.h;-1") .nes."" Then Purge/NoConfirm/Log mg_data.h |
97abc6ad | 834 | - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar |
9c8fb6b6 CB |
835 | - If F$Search("[.ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.ext.Opcode] |
836 | - If F$Search("[.vms.ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*.C | |
837 | - If F$Search("[.vms.ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*$(O) | |
97386f52 CB |
838 | - If F$Search("[.lib.auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]*.al |
839 | - If F$Search("[.lib.auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]autosplit.ix | |
97386f52 | 840 | - If F$Search("[.lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config.pm |
97abc6ad | 841 | - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm |
97386f52 | 842 | - If F$Search("[.lib]Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config_heavy.pl |
2d9d8159 | 843 | - If F$Search("$(ARCHDIR)Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config_heavy.pl |
97abc6ad | 844 | - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm |
97386f52 | 845 | - If F$Search("[.lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.lib.VMS]*.* |
97abc6ad HM |
846 | - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.* |
847 | - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com | |
848 | - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com | |
849 | - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com | |
850 | - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com | |
5e4c4c91 | 851 | - If F$Search("[.lib]buildcustomize.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]buildcustomize.pl |
97abc6ad | 852 | |
6e2cec71 | 853 | clean : tidy cleantest |
c091f99a | 854 | - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=clean" |
97abc6ad HM |
855 | - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt |
856 | - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);* | |
97386f52 CB |
857 | - If F$Search("vmsish.h").nes."" Then Delete/NoConfirm/Log vmsish.h;* |
858 | - If F$Search("vms.c") .nes."" Then Delete/NoConfirm/Log vms.c;* | |
859 | - If F$Search("perlmain.c") .nes."" Then Delete/NoConfirm/Log perlmain.c;* | |
5c9818e9 | 860 | - If F$Search("perlmini.c") .nes."" Then Delete/NoConfirm/Log perlmini.c;* |
c3301a92 | 861 | - If F$Search("uudmap.h") .nes."" Then Delete/NoConfirm/Log uudmap.h;* |
efa50c51 | 862 | - If F$Search("bitcount.h") .nes."" Then Delete/NoConfirm/Log bitcount.h;* |
c73002c3 | 863 | - If F$Search("mg_data.h") .nes."" Then Delete/NoConfirm/Log mg_data.h;* |
97abc6ad HM |
864 | - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;* |
865 | - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;* | |
9c8fb6b6 CB |
866 | - If F$Search("[.vms.ext...]*.C").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*.C;* |
867 | - If F$Search("[.vms.ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*$(O);* | |
97abc6ad | 868 | - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* |
60f0ee9d | 869 | - If F$Search("[.pod]roffitall").nes."" Then Delete/NoConfirm/Log [.pod]roffitall;* |
600dcb9e | 870 | - If F$Search("$(PERLDELTA_CURRENT)").nes."" Then Delete/NoConfirm/Log $(PERLDELTA_CURRENT);* |
db34a22a | 871 | - If F$Search("[.pod]perlapi.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlapi.pod;* |
344af494 | 872 | - If F$Search("[.pod]perlintern.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlintern.pod;* |
6e2c8928 | 873 | - If F$Search("[.pod]perlmodlib.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlmodlib.pod;* |
7eb47696 | 874 | - If F$Search("[.pod]perltoc.pod").nes."" Then Delete/NoConfirm/Log [.pod]perltoc.pod;* |
524ce141 | 875 | - If F$Search("[.pod]perluniprops.pod").nes."" Then Delete/NoConfirm/Log [.pod]perluniprops.pod;* |
414b89cc | 876 | - @extra_pods CLEAN |
05b0cfd1 CB |
877 | - If F$Search("[.lib]Config_git.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_git.pl;* |
878 | - If F$Search("git_version.h").nes."" Then Delete/NoConfirm/Log git_version.h;* | |
97abc6ad | 879 | |
cc391245 | 880 | realclean : clean |
c091f99a | 881 | - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=realclean" |
42e07562 | 882 | - $(MINIPERL) mkppport "--clean" |
97abc6ad HM |
883 | - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);* |
884 | - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;* | |
97386f52 CB |
885 | - If F$Search("config.h").nes."" Then Delete/NoConfirm/Log config.h;* |
886 | - If F$Search("config.sh").nes."" Then Delete/NoConfirm/Log config.sh;* | |
52a043e6 | 887 | - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config |
d6521b56 | 888 | - If F$Search("[.lib.unicore...]*.pl").nes."" Then Delete/NoConfirm/Log [.lib.unicore...]*.pl;* |
23b62609 | 889 | - If F$Search("[.lib.unicore]Properties.").nes."" Then Delete/NoConfirm/Log [.lib.unicore]Properties.;* |
ca12659b | 890 | - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" $(unidatadirs) |
cc391245 | 891 | - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;* |
414b89cc | 892 | - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;* |
96021e87 | 893 | - If F$Search("extra.pods").nes."" Then Delete/NoConfirm/Log extra.pods;* |
b2790d5e | 894 | - $(MINIPERL) -e "use File::Path; rmtree(['[.CXX_REPOSITORY]', 'lib/auto','lib/VMS','lib/$(ARCHNAME)'],1,0);" |
25ea24bb | 895 | - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;* |
97386f52 CB |
896 | - If F$Search("[.lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.lib]Config.pm;* |
897 | - If F$Search("[.lib]Config_heavy.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_heavy.pl;* | |
898 | - If F$Search("[.lib]*.com").nes."" Then Delete/NoConfirm/Log [.lib]*.com;* | |
781f5a38 | 899 | - If F$Search("[.lib...].exists").nes."" Then Delete/NoConfirm/Log [.lib...].exists;* |
52a043e6 | 900 | - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* |
97abc6ad HM |
901 | - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;* |
902 | - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;* | |
903 | - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;* | |
2d9d8159 | 904 | - If F$Search("$(ARCHDIR)Config_heavy.pl").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config_heavy.pl;* |
97abc6ad | 905 | - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;* |
4403bf93 | 906 | - If F$Search("[.utils]perldoc.com").nes."" Then Delete/NoConfirm/Log [.utils]perldoc.com;* |
cdf8b154 | 907 | - If F$Search("[.utils]perlivp.com").nes."" Then Delete/NoConfirm/Log [.utils]perlivp.com;* |
97abc6ad HM |
908 | - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;* |
909 | - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);* | |
b2790d5e | 910 | - If F$Search("Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log Perl_Setup.Com;* |
dfe814dc | 911 | - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;* |
0279961e | 912 | - If F$Search("[.t]test_state.").nes."" Then Delete/NoConfirm/Log [.t]test_state.;* |
493ba88a PP |
913 | - If F$Search("[.t.lib]vmsfspec.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsfspec.t;* |
914 | - If F$Search("[.t.lib]vmsish.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsish.t;* | |
d6521b56 | 915 | - If F$Search("vmspipe.com").nes."" Then Delete/NoConfirm/Log vmspipe.com;* |
ac2c13e8 | 916 | - If F$Search("[.lib]buildcustomize.pl").nes."" Then Delete/NoConfirm/Log [.lib]buildcustomize.pl;* |
b2790d5e | 917 | - If F$Search("[.lib]config.pod").nes."" Then Delete/NoConfirm/Log [.lib]config.pod;* |
97abc6ad HM |
918 | |
919 | cleansrc : clean | |
97386f52 CB |
920 | - If F$Search("*.c;-1").nes."" Then Purge/NoConfirm/Log *.c |
921 | - If F$Search("*.h;-1").nes."" Then Purge/NoConfirm/Log *.h | |
922 | - If F$Search("*.vms;-1").nes."" Then Purge/NoConfirm/Log *.vms | |
923 | - If F$Search("[.vms]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.vms]$(MAKEFILE) | |
924 | - If F$Search("[.vms]*.c;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.c | |
925 | - If F$Search("[.vms]*.h;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.h | |
926 | - If F$Search("[.vms]*.pl;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.pl | |
927 | - If F$Search("[.vms]*.vms;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.vms | |
928 | - If F$Search("[.vms...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.pm | |
929 | - If F$Search("[.vms...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.xs | |
12bc563b | 930 | !GROK!THIS! |