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, | |
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~ | |
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 | |
046cc26c | 262 | ac0 = $(ARCHCORE)av.h |
b0d5070b | 263 | ac1 = $(ARCHCORE)config.h $(ARCHCORE)cop.h $(ARCHCORE)cv.h $(ARCHCORE)embed.h |
7e2254de | 264 | ac2 = $(ARCHCORE)embedvar.h $(ARCHCORE)EXTERN.h $(ARCHCORE)fakethr.h |
0490a474 | 265 | ac3 = $(ARCHCORE)form.h $(ARCHCORE)git_version.h $(ARCHCORE)gv.h $(ARCHCORE)handy.h $(ARCHCORE)hv.h |
02e4b6fe | 266 | ac4 = $(ARCHCORE)l1_char_class_tab.h $(ARCHCORE)INTERN.h $(ARCHCORE)intrpvar.h $(ARCHCORE)iperlsys.h |
8b09643d | 267 | ac5 = $(ARCHCORE)keywords.h $(ARCHCORE)mydtrace.h $(ARCHCORE)mg.h $(ARCHCORE)mg_vtable.h $(ARCHCORE)nostdio.h |
66b82e1f CB |
268 | ac6 = $(ARCHCORE)op_reg_common.h $(ARCHCORE)op.h $(ARCHCORE)opcode.h $(ARCHCORE)opnames.h |
269 | ac7 = $(ARCHCORE)overload.h $(ARCHCORE)pad.h $(ARCHCORE)parser.h $(ARCHCORE)patchlevel.h | |
270 | ac8 = $(ARCHCORE)perl.h $(ARCHCORE)perlapi.h $(ARCHCORE)perlio.h $(ARCHCORE)perlsdio.h | |
7e2254de CB |
271 | ac9 = $(ARCHCORE)perlsfio.h $(ARCHCORE)perlvars.h $(ARCHCORE)perly.h $(ARCHCORE)pp.h |
272 | .ifdef THREADED | |
273 | ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)reentr.h $(ARCHCORE)regcomp.h | |
274 | .else | |
787c52d8 | 275 | ac10 = $(ARCHCORE)pp_proto.h $(ARCHCORE)proto.h $(ARCHCORE)regcomp.h |
7e2254de | 276 | .endif |
787c52d8 | 277 | ac11 = $(ARCHCORE)regexp.h $(ARCHCORE)regnodes.h $(ARCHCORE)scope.h |
907b3e23 | 278 | ac12 = $(ARCHCORE)sv.h |
787c52d8 CB |
279 | ac13 = $(ARCHCORE)thread.h $(ARCHCORE)utf8.h $(ARCHCORE)util.h |
280 | ac14 = $(ARCHCORE)vmsish.h $(ARCHCORE)warnings.h $(ARCHCORE)xsub.h | |
281 | acopt = $(ARCHCORE)perlshr_attr.opt $(ARCHCORE)$(DBG)perlshr_bld.opt | |
282 | ac = $(ac0) $(ac1) $(ac2) $(ac3) $(ac4) $(ac5) $(ac6) $(ac7) $(ac8) $(ac9) $(ac10) $(ac11) $(ac12) $(ac13) $(ac14) $(acopt) | |
c05f8f3d | 283 | |
9387abf8 NC |
284 | generated_headers = uudmap.h bitcount.h mg_data.h |
285 | ||
97abc6ad HM |
286 | CRTL = []crtl.opt |
287 | CRTLOPTS =,$(CRTL)/Options | |
288 | ||
289 | .SUFFIXES | |
290 | ||
291 | .ifdef LINK_ONLY | |
292 | .else | |
293 | .SUFFIXES $(O) .c .xs | |
294 | ||
295 | .xs.c : | |
296 | $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET) | |
297 | ||
97abc6ad HM |
298 | .c$(O) : |
299 | $(CC) $(CFLAGS) $(MMS$SOURCE) | |
300 | ||
301 | .xs$(O) : | |
302 | $(XSUBPP) $(MMS$SOURCE) >$(MMS$SOURCE_NAME).c | |
303 | $(CC) $(CFLAGS) $(MMS$SOURCE_NAME).c | |
304 | .endif | |
305 | ||
ca12659b NC |
306 | # Directories of Unicode data files generated by mktables |
307 | unidatadirs = lib/unicore/To lib/unicore/lib | |
308 | ||
97abc6ad | 309 | # Modules which must be installed before we can build extensions |
7353f64c | 310 | LIBPREREQ = $(ARCHDIR)Config.pm $(ARCHDIR)Config_heavy.pl [.lib.VMS]Filespec.pm $(ARCHDIR)vmspipe.com [.lib]buildcustomize.pl |
97abc6ad | 311 | |
4403bf93 | 312 | utils1 = [.utils]perldoc.com [.lib.ExtUtils]Miniperl.pm [.utils]c2ph.com [.utils]h2ph.com |
c9dab4e9 | 313 | utils2 = [.utils]h2xs.com [.utils]libnetcfg.com [.lib]perlbug.com [.utils]json_pp.com |
d658129c | 314 | utils3 = [.utils]perlivp.com [.lib]splain.com [.utils]pl2pm.com [.utils]xsubpp.com [.utils]pod2html.com [.utils]instmodsh.com |
bb4e9162 | 315 | utils4 = [.utils]enc2xs.com [.utils]piconv.com [.utils]cpan.com [.utils]prove.com [.utils]ptar.com [.utils]ptardiff.com [.utils]shasum.com |
deabda19 | 316 | utils5 = [.utils]corelist.com [.utils]config_data.com [.utils]cpanp.com [.utils]cpan2dist.com [.utils]cpanp-run-perl.com [.utils]ptargrep.com |
97abc6ad HM |
317 | |
318 | .ifdef NOX2P | |
bfeb8220 | 319 | all : base extras archcorefiles preplibrary [.pod]perltoc.pod |
1b2d7687 PP |
320 | @ QUALIFIERS := $(MMSQUALIFIERS) |
321 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
dfe814dc | 322 | @ write sys$output " " |
1b2d7687 | 323 | @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite." |
97abc6ad | 324 | .else |
bfeb8220 | 325 | all : base extras x2p archcorefiles preplibrary [.pod]perltoc.pod |
1b2d7687 PP |
326 | @ QUALIFIERS := $(MMSQUALIFIERS) |
327 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
dfe814dc | 328 | @ write sys$output " " |
1b2d7687 | 329 | @ write sys$output " Everything is up to date. '$(MMS)''QUALIFIERS' test' to run test suite." |
97abc6ad | 330 | .endif |
9c3905ef | 331 | |
5c9818e9 | 332 | git_version.h : $(MINIPERL_EXE) make_patchnum.pl |
16ad9bfa | 333 | $(MINIPERL) make_patchnum.pl |
05b0cfd1 | 334 | |
f952ce75 | 335 | base : miniperl git_version.h nonxsext perl |
97abc6ad | 336 | @ $(NOOP) |
33c64ab2 | 337 | extras : dynext libmods utils extra.pods |
97abc6ad HM |
338 | @ $(NOOP) |
339 | libmods : $(LIBPREREQ) | |
340 | @ $(NOOP) | |
bb4e9162 | 341 | utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5) |
97abc6ad | 342 | @ $(NOOP) |
71a0fcfa | 343 | x2p : [.x2p]$(DBG)a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com |
97abc6ad | 344 | @ $(NOOP) |
414b89cc CB |
345 | extra.pods : miniperl |
346 | @ @extra_pods.com | |
97abc6ad | 347 | |
e3c71926 | 348 | PERLDELTA_CURRENT = [.pod]perl5155delta.pod |
600dcb9e CB |
349 | |
350 | $(PERLDELTA_CURRENT) : [.pod]perldelta.pod | |
1400179b NC |
351 | Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET) |
352 | ||
30a06a3a | 353 | [.pod]perlapi.pod : embed.fnc autodoc.pl $(MINIPERL_EXE) |
b0f0014b | 354 | $(MINIPERL) autodoc.pl |
344af494 | 355 | |
6e2c8928 NC |
356 | [.pod]perlmodlib.pod : [.pod]perlmodlib.pl MANIFEST $(MINIPERL_EXE) |
357 | $(MINIPERL) [.pod]perlmodlib.pl "-q" | |
358 | ||
30a06a3a CB |
359 | [.pod]perlintern.pod : embed.fnc autodoc.pl $(MINIPERL_EXE) |
360 | $(MINIPERL) autodoc.pl | |
361 | ||
600dcb9e | 362 | [.pod]perltoc.pod : $(PERLDELTA_CURRENT) [.pod]perlapi.pod [.pod]perlintern.pod [.pod]perlmodlib.pod extra.pods $(PERL_EXE) |
bfeb8220 | 363 | @ define/user_mode $(DBG)PERLSHR SYS$DISK:[]$(DBG)perlshr$(E) |
87e06404 | 364 | $(PERL) "-f" [.pod]buildtoc "-q" "--build-toc" |
97abc6ad | 365 | |
7e2254de | 366 | archcorefiles : $(ac) $(ARCHAUTO)time.stamp |
97abc6ad HM |
367 | @ $(NOOP) |
368 | ||
5e4c4c91 NC |
369 | [.lib]buildcustomize.pl : write_buildcustomize.pl $(MINIPERL_EXE) |
370 | $(MINIPERL) write_buildcustomize.pl > [.lib]buildcustomize.pl | |
371 | ||
93d6612c | 372 | vmspipe.com : [.vms]vmspipe.com |
1f74f634 | 373 | Copy/NoConfirm/Log $(MMS$SOURCE) [] |
93d6612c CB |
374 | |
375 | miniperl : $(DBG)miniperl$(E) vmspipe.com | |
97abc6ad | 376 | @ Continue |
5c9818e9 CB |
377 | $(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) |
378 | Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) | |
379 | $(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) | |
380 | Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) | |
97abc6ad HM |
381 | |
382 | $(DBG)libperl$(OLB) : $(obj) | |
383 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET) | |
8f9bf0bf | 384 | Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST) |
97abc6ad | 385 | |
5c9818e9 CB |
386 | $(DBG)libperlmini$(OLB) : $(mini_obj) |
387 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create $(MMS$TARGET) | |
388 | Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST) | |
389 | ||
116e14c1 CB |
390 | perlmain.c : miniperlmain.c $(MINIPERL_EXE) [.lib.ExtUtils]Miniperl.pm |
391 | $(MINIPERL) -"MExtUtils::Miniperl" -e "writemain(@ARGV)" "$(EXT)" > perlmain.c | |
97abc6ad | 392 | |
97abc6ad HM |
393 | .ifdef __DEBUG__ |
394 | # Link an extra perl that doesn't invoke the debugger | |
1f052492 | 395 | perl : $(DBG)perl$(E) |
3f39e13a | 396 | Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/NoDebug/Trace/NoMap/NoCross/NoFull/Exe=N$(DBG)perl$(E) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS) |
97abc6ad | 397 | .else |
1f052492 | 398 | perl : $(DBG)perl$(E) |
97abc6ad HM |
399 | @ Continue |
400 | .endif | |
401 | ||
402 | $(DBG)perl$(E) : perlmain$(O), $(DBG)perlshr$(E), $(MINIPERL_EXE) | |
403 | @ @[.vms]genopt "PerlShr.Opt/Write" "|" "''F$Environment("Default")'$(DBG)PerlShr$(E)/Share" | |
3f39e13a | 404 | Link $(LINKFLAGS)$(MTHREADLINKFLAGS)/Exe=$(MMS$TARGET) perlmain$(O), perlshr.opt/Option, perlshr_attr.opt/Option $(CRTLOPTS) |
97abc6ad | 405 | |
97abc6ad HM |
406 | $(DBG)perlshr$(E) : $(DBG)libperl$(OLB) $(extobj) $(DBG)perlshr_xtras.ts |
407 | Link $(LINKFLAGS)/Share=$(MMS$TARGET) $(extobj) []$(DBG)perlshr_bld.opt/Option, perlshr_attr.opt/Option | |
408 | ||
5c9818e9 CB |
409 | perlmini.c : perl.c |
410 | @ IF F$SEARCH("$(MMS$TARGET)") .NES. "" THEN DELETE/NOCONFIRM/LOG $(MMS$TARGET);* | |
411 | @ COPY/NOCONFIRM _NLA0: $(MMS$TARGET) | |
412 | @ SET FILE /ATTRIBUTES=RFM:STMLF $(MMS$TARGET) | |
413 | @ OPEN/APPEND perlmini $(MMS$TARGET) | |
414 | @ WRITE perlmini "#define PERL_IS_MINIPERL" | |
415 | @ CLOSE perlmini | |
416 | @ APPEND/NOCONFIRM/LOG $(MMS$SOURCE) $(MMS$TARGET) | |
417 | ||
418 | perlmini$(O) : perlmini.c | |
419 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
420 | ||
6f83ef0e | 421 | bitcount.h mg_data.h : uudmap.h |
45b279ec | 422 | @ $(NOOP) |
6999193b | 423 | |
92d23424 | 424 | uudmap.h : generate_uudmap$(E) |
9387abf8 | 425 | MCR SYS$DISK:[]generate_uudmap$(E) $(generated_headers) |
9444d213 | 426 | |
c3301a92 | 427 | generate_uudmap$(E) : generate_uudmap$(O) $(CRTL) |
9444d213 NC |
428 | Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) generate_uudmap$(O) $(CRTLOPTS) |
429 | ||
6f83ef0e | 430 | generate_uudmap$(O) : generate_uudmap.c mg_raw.h |
b50d78f7 CB |
431 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
432 | ||
97abc6ad HM |
433 | # The following files are built in one go by gen_shrfls.pl: |
434 | # perlshr_attr.opt, $(DBG)perlshr_bld.opt - VAX and AXP | |
435 | # perlshr_gbl*.mar, perlshr_gbl*$(O) - VAX only | |
93ea32b8 | 436 | # The song and dance with gen_shrfls.opt accommodates DCL's line length limit. |
97abc6ad | 437 | $(DBG)perlshr_xtras.ts : perl.h config.h vmsish.h proto.h [.vms]gen_shrfls.pl $(MINIPERL_EXE) $(MAKEFILE) $(CRTL) |
93ea32b8 | 438 | @ $(MINIPERL) makedef.pl "PLATFORM=vms" > makedef.lis |
97abc6ad HM |
439 | @ $(MINIPERL) -e "print join('|',@ARGV),'|';" "$(CC)$(CFLAGS)" >gen_shrfls.opt |
440 | @ $(MINIPERL) -e "print join('|',@ARGV);" "$(O)" "$(DBG)" "$(OLB)" "$(EXT)" "$(CRTL)" >>gen_shrfls.opt | |
441 | $(MINIPERL) [.vms]gen_shrfls.pl -f gen_shrfls.opt | |
442 | @ Delete/NoLog/NoConfirm gen_shrfls.opt; | |
443 | @ If F$Search("$(DBG)perlshr_xtras.ts").nes."" Then Delete/NoLog/NoConfirm $(DBG)perlshr_xtras.ts;* | |
444 | @ Copy _NLA0: $(DBG)perlshr_xtras.ts | |
97abc6ad | 445 | |
1f74f634 | 446 | $(ARCHDIR)Config.pm : [.lib]Config.pm |
97abc6ad | 447 | Create/Directory $(ARCHDIR) |
1f74f634 | 448 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR) |
97abc6ad | 449 | |
2d9d8159 NC |
450 | $(ARCHDIR)Config_heavy.pl : [.lib]Config_heavy.pl |
451 | Create/Directory $(ARCHDIR) | |
452 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHDIR) | |
453 | ||
1f74f634 | 454 | [.lib]Config.pm : config.h $(MINIPERL_EXE) |
97abc6ad HM |
455 | $(MINIPERL) ConfigPM. |
456 | ||
93d6612c | 457 | $(ARCHDIR)vmspipe.com : vmspipe.com |
1f74f634 | 458 | Copy $(MMS$SOURCE) $(ARCHDIR) |
93d6612c | 459 | |
3dc3a597 | 460 | unidatafiles.ts : $(MINIPERL_EXE) [.lib]Config.pm [.lib.unicore]mktables nonxsext |
3df51b85 | 461 | $(MINIPERL) [.lib.unicore]mktables "-C" [.lib.unicore] "-P" [.pod] "-makelist" "-maketest" "-p" |
23b62609 CB |
462 | @ If F$Search("$(MMS$TARGET)").nes."" Then Delete/NoLog/NoConfirm $(MMS$TARGET);* |
463 | @ Copy/NoConfirm _NLA0: $(MMS$TARGET) | |
ca12659b | 464 | |
5e4c4c91 | 465 | DynaLoader$(O) : [.lib]buildcustomize.pl $(ARCHDIR)Config.pm $(MINIPERL_EXE) [.lib.VMS]Filespec.pm |
859ef0cd | 466 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "DynaLoader" |
25ea24bb | 467 | |
859ef0cd | 468 | dynext : $(LIBPREREQ) $(DBG)perlshr$(E) unidatafiles.ts DynaLoader$(O) preplibrary makeppport $(MINIPERL_EXE) |
a34ce875 NC |
469 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--dynamic" "--static" |
470 | ||
f952ce75 | 471 | nonxsext : $(LIBPREREQ) preplibrary $(MINIPERL_EXE) |
a34ce875 | 472 | $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--nonxs" |
97abc6ad | 473 | |
97abc6ad HM |
474 | [.lib.VMS]Filespec.pm : [.vms.ext]Filespec.pm |
475 | @ If F$Search("[.lib]VMS.Dir").eqs."" Then Create/Directory [.lib.VMS] | |
1f74f634 | 476 | Copy/NoConfirm/Log $(MMS$SOURCE) [.lib.VMS] |
97abc6ad | 477 | |
4403bf93 | 478 | [.utils]perldoc.com : [.utils]perldoc.PL $(ARCHDIR)Config.pm |
08da30e0 | 479 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
480 | |
481 | [.lib.ExtUtils]Miniperl.pm : Minimod.PL miniperlmain.c $(ARCHDIR)Config.pm | |
08da30e0 | 482 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) >$(MMS$TARGET) |
97abc6ad | 483 | |
cdf8b154 | 484 | [.utils]perlivp.com : [.utils]perlivp.PL $(ARCHDIR)Config.pm |
08da30e0 | 485 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
cdf8b154 | 486 | |
2bfebb05 | 487 | [.utils]cpan.com : [.utils]cpan.PL $(ARCHDIR)Config.pm |
08da30e0 | 488 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
2bfebb05 | 489 | |
47ff27e1 | 490 | [.utils]cpanp.com : [.utils]cpanp.PL $(ARCHDIR)Config.pm |
08da30e0 | 491 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 RGS |
492 | |
493 | [.utils]cpan2dist.com : [.utils]cpan2dist.PL $(ARCHDIR)Config.pm | |
08da30e0 | 494 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 RGS |
495 | |
496 | [.utils]cpanp-run-perl.com : [.utils]cpanp-run-perl.PL $(ARCHDIR)Config.pm | |
08da30e0 | 497 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
47ff27e1 | 498 | |
4b618757 | 499 | [.utils]prove.com : [.utils]prove.PL $(ARCHDIR)Config.pm |
08da30e0 | 500 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
291d3373 RGS |
501 | |
502 | [.utils]ptar.com : [.utils]ptar.PL $(ARCHDIR)Config.pm | |
08da30e0 | 503 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
4b618757 | 504 | |
b8669316 | 505 | [.utils]ptardiff.com : [.utils]ptardiff.PL $(ARCHDIR)Config.pm |
08da30e0 | 506 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
b8669316 | 507 | |
deabda19 CBW |
508 | [.utils]ptargrep.com : [.utils]ptargrep.PL $(ARCHDIR)Config.pm |
509 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
510 | ||
3ddf9550 | 511 | [.utils]shasum.com : [.utils]shasum.PL $(ARCHDIR)Config.pm |
08da30e0 | 512 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
3ddf9550 | 513 | |
bb4e9162 | 514 | [.utils]config_data.com : [.utils]config_data.PL $(ARCHDIR)Config.pm |
08da30e0 | 515 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
bb4e9162 | 516 | |
6efb3e4d | 517 | [.utils]corelist.com : [.utils]corelist.PL $(ARCHDIR)Config.pm |
08da30e0 | 518 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
6efb3e4d | 519 | |
97abc6ad | 520 | [.utils]c2ph.com : [.utils]c2ph.PL $(ARCHDIR)Config.pm |
08da30e0 | 521 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 522 | |
d9f91944 CB |
523 | [.utils]json_pp.com : [.utils]json_pp.PL $(ARCHDIR)Config.pm |
524 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
525 | ||
14d70106 | 526 | [.utils]enc2xs.com : [.utils]enc2xs.PL $(ARCHDIR)Config.pm |
08da30e0 | 527 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
14d70106 | 528 | |
97abc6ad | 529 | [.utils]h2ph.com : [.utils]h2ph.PL $(ARCHDIR)Config.pm |
08da30e0 | 530 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
531 | |
532 | [.utils]h2xs.com : [.utils]h2xs.PL $(ARCHDIR)Config.pm | |
08da30e0 | 533 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 534 | |
88be34b6 | 535 | [.utils]instmodsh.com : [.utils]instmodsh.PL $(ARCHDIR)Config.pm |
08da30e0 | 536 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
88be34b6 | 537 | |
5fa137f1 | 538 | [.utils]libnetcfg.com : [.utils]libnetcfg.PL $(ARCHDIR)Config.pm |
08da30e0 | 539 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
5fa137f1 | 540 | |
97abc6ad | 541 | [.lib]perlbug.com : [.utils]perlbug.PL $(ARCHDIR)Config.pm |
08da30e0 | 542 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
1f74f634 | 543 | Copy/NoConfirm/Log [.utils]perlbug.com [.lib] |
97abc6ad | 544 | |
14d70106 | 545 | [.utils]piconv.com : [.utils]piconv.PL $(ARCHDIR)Config.pm |
08da30e0 | 546 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
14d70106 | 547 | |
97abc6ad | 548 | [.utils]pl2pm.com : [.utils]pl2pm.PL $(ARCHDIR)Config.pm |
08da30e0 | 549 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
550 | |
551 | [.lib]splain.com : [.utils]splain.PL $(ARCHDIR)Config.pm | |
08da30e0 | 552 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
1f74f634 | 553 | Copy/NoConfirm/Log [.utils]splain.com [.lib] |
97abc6ad HM |
554 | |
555 | [.x2p]find2perl.com : [.x2p]find2perl.PL $(ARCHDIR)Config.pm | |
08da30e0 | 556 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad HM |
557 | |
558 | [.x2p]s2p.com : [.x2p]s2p.PL $(ARCHDIR)Config.pm | |
08da30e0 | 559 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
97abc6ad | 560 | |
798fd3e2 | 561 | [.utils]xsubpp.com : [.utils]xsubpp.PL $(ARCHDIR)Config.pm nonxsext |
08da30e0 | 562 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) |
5fa137f1 | 563 | |
d658129c FR |
564 | [.utils]pod2html.com : [.utils]pod2html.PL $(ARCHDIR)Config.pm nonxsext |
565 | $(MINIPERL) -"I[-.lib]" $(MMS$SOURCE) | |
566 | ||
97abc6ad HM |
567 | # Rename catches problem with some DECC versions in which object file is |
568 | # placed in current default dir, not same one as source file. | |
569 | [.x2p]$(DBG)a2p$(E) : [.x2p]a2p$(O), [.x2p]hash$(O), [.x2p]str$(O), [.x2p]util$(O), [.x2p]walk$(O) | |
570 | @ If F$Search("hash$(O)").nes."" Then Rename/NoLog hash$(O),str$(O),util$(O),walk$(O) [.x2p] | |
571 | Link $(LINKFLAGS) /Exe=$(MMS$TARGET) $(MMS$SOURCE_LIST) $(CRTLOPTS) | |
572 | ||
8f9bf0bf | 573 | # Accommodate buggy cpp in some version of DECC, which chokes on illegal |
97abc6ad HM |
574 | # filespec "y.tab.c", and broken gcc cpp, which doesn't start #include "" |
575 | # search in same dir as source file | |
046cc26c | 576 | [.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 | 577 | $(MINIPERL) -pe "s/^#line\s+(\d+)\s+\Q""y.tab.c""/#line $1 ""y_tab.c""/;" $(MMS$SOURCE) >$(MMS$TARGET_NAME)_vms.c |
3a385817 | 578 | $(CC) $(X2PCFLAGS) /Object=$(MMS$TARGET)/Include=([.x2p],[]) $(MMS$TARGET_NAME)_vms.c |
97abc6ad HM |
579 | Delete/Log/NoConfirm $(MMS$TARGET_NAME)_vms.c; |
580 | ||
581 | # gcc cpp broken -- doesn't look in directory of source file for #include "" | |
582 | .ifdef GNUC | |
583 | [.x2p]hash$(O) : [.x2p]hash.c | |
3a385817 | 584 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
585 | |
586 | [.x2p]str$(O) : [.x2p]str.c | |
3a385817 | 587 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
588 | |
589 | [.x2p]util$(O) : [.x2p]util.c | |
3a385817 | 590 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
591 | |
592 | [.x2p]walk$(O) : [.x2p]walk.c | |
3a385817 | 593 | $(CC) $(X2PCFLAGS) /Include=[.x2p] $(MMS$SOURCE) |
97abc6ad HM |
594 | .endif |
595 | ||
9b5878df | 596 | preplibrary : $(MINIPERL_EXE) $(LIBPREREQ) |
c43be3e8 | 597 | @ $(NOOP) |
97abc6ad | 598 | |
d1a21686 | 599 | makeppport : $(MINIPERL_EXE) $(ARCHDIR)Config.pm nonxsext |
42e07562 MHM |
600 | $(MINIPERL) mkppport |
601 | ||
bfeb8220 | 602 | install.html : [.pod]perltoc.pod |
c645ec3f GS |
603 | @ @perl_setup.com |
604 | @ If F$Search("perl_root:[lib]html.dir").eqs."" Then Create/Directory perl_root:[lib.html] | |
605 | $(MINIPERL) installhtml. "--podroot=. --recurse --htmldir=/perl_root/lib/html --htmlroot=.. --verbose" | |
b4bc034f | 606 | |
97abc6ad HM |
607 | printconfig : |
608 | @ @[.vms]make_command $(MMS) $(MMSQUALIFIERS) $(MMSTARGETS) | |
046cc26c | 609 | @ @[.vms]myconfig "$(CC)" "$(CFLAGS)" "$(LINKFLAGS)" "$(LIBS1)" "$(FULLLIBS2)" "$(EXT)" "$(DBG)" |
97abc6ad | 610 | |
424a8fe9 | 611 | # The following files are generated automatically |
d500e60d | 612 | # embed.pl: proto.h embed.h embedvar.h perlapi.h perlapi.c |
897d3989 | 613 | # opcode.pl: opcode.h opnames.h pp_proto.h |
5f286eee CB |
614 | # regcomp.pl: regnodes.h |
615 | # warnings.pl: warnings.h lib/warnings.pm | |
97abc6ad HM |
616 | # The correct versions should be already supplied with the perl kit, |
617 | # in case you don't have perl available. | |
5f286eee CB |
618 | # To force them to be regenerated, run |
619 | # perl regen.pl | |
620 | # with your existing copy of perl | |
621 | # (make regen_headers is kept for backwards compatibility) | |
622 | ||
623 | regen : | |
624 | $(INSTPERL) regen.pl | |
625 | ||
97abc6ad | 626 | regen_headers : |
5f286eee | 627 | $(INSTPERL) regen.pl -v |
97abc6ad | 628 | |
97abc6ad HM |
629 | .ifdef LINK_ONLY |
630 | .else | |
787c52d8 | 631 | perly$(O) : perly.c, perly.h, $(h) |
97abc6ad HM |
632 | .endif |
633 | ||
634 | [.t.lib]vmsfspec.t : [.vms.ext]filespec.t | |
1f74f634 | 635 | Copy/NoConfirm/Log $(MMS$SOURCE) $(MMS$TARGET) |
97abc6ad | 636 | |
7558ebc2 PP |
637 | check : test |
638 | @ Continue | |
639 | ||
6e2cec71 | 640 | test : all [.t.lib]vmsfspec.t |
20533b5a | 641 | @ PERL_TEST_DRIVER == "TEST." |
97386f52 | 642 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
40996b78 AT |
643 | @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests. |
644 | ||
6e2cec71 | 645 | test_harness : all [.t.lib]vmsfspec.t |
20533b5a | 646 | @ PERL_TEST_DRIVER == "harness." |
97386f52 | 647 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
dfe814dc | 648 | @ $(MINIPERL) -e "print ""Ran tests"";" > [.t]rantests. |
97abc6ad | 649 | |
7353f64c | 650 | minitest : $(MINITEST_EXE) [.lib.VMS]Filespec.pm unidatafiles.ts |
68ccb645 | 651 | @ PERL_TEST_DRIVER == "minitest" |
97386f52 | 652 | - @[.vms]test.com "$(E)" "$(__DEBUG__)" |
68ccb645 | 653 | |
3a385817 GS |
654 | # install ought not need a source, but it doesn't work if one's not |
655 | # there. Go figure... | |
656 | install : $(MINIPERL_EXE) | |
c645ec3f | 657 | @ @perl_setup.com |
29637182 | 658 | If F$TrnLnm("Sys") .nes. "" Then Deass SYS |
97abc6ad HM |
659 | $(MINIPERL) installperl |
660 | ||
661 | archify : all | |
44caa20c | 662 | @ Write Sys$Output "Moving files to architecture-specific locations for $(ARCHNAME)" |
97abc6ad HM |
663 | archroot = "$(ARCHAUTO)" - "]" + "...]" |
664 | Backup/Log/Verify [.lib.auto...]*.*;/Exclude=(*.al,*.ix) 'archroot'/New_Version | |
665 | Delete/Log/NoConfirm [.lib.auto...]*.*;*/exclude=(*.al,*.ix,*.dir) | |
666 | Delete/Log/NoConfirm [.lib]Config.pm;* | |
2d9d8159 | 667 | Delete/Log/NoConfirm [.lib]Config_heavy.pl;* |
71a0fcfa PP |
668 | Copy/Log/NoConfirm *$(E);,[.x2p]$(DBG)a2p$(E); $(ARCHDIR) |
669 | Delete/Log/NoConfirm Perl*$(E);*,[.x2p]$(DBG)a2p$(E);* | |
1b2d7687 PP |
670 | @ QUALIFIERS := $(MMSQUALIFIERS) |
671 | @ QUALIFIERS = QUALIFIERS - """" - """" | |
97abc6ad HM |
672 | @ Write Sys$Output "Architecture-specific setup completed." |
673 | @ Write Sys$Output "Before building for another architecture, be sure to" | |
1b2d7687 | 674 | @ Write Sys$Output " 1. $(MMS)''QUALIFIERS' clean" |
97abc6ad HM |
675 | @ Write Sys$Output " 2. Delete Miniperl$(E)" |
676 | ||
677 | # CORE subset for MakeMaker, so we can build Perl without sources | |
b0d5070b | 678 | $(ARCHCORE)av.h : av.h |
97abc6ad | 679 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 680 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
681 | $(ARCHCORE)config.h : config.h |
682 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 683 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
684 | $(ARCHCORE)cop.h : cop.h |
685 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 686 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
687 | $(ARCHCORE)cv.h : cv.h |
688 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 689 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
690 | $(ARCHCORE)embed.h : embed.h |
691 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 692 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
693 | $(ARCHCORE)embedvar.h : embedvar.h |
694 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 695 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
7e2254de | 696 | $(ARCHCORE)EXTERN.h : EXTERN.h |
b0d5070b | 697 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 698 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
699 | $(ARCHCORE)fakethr.h : fakethr.h |
700 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 701 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
702 | $(ARCHCORE)form.h : form.h |
703 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 704 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
0490a474 CB |
705 | $(ARCHCORE)git_version.h : git_version.h |
706 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
707 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
97abc6ad HM |
708 | $(ARCHCORE)gv.h : gv.h |
709 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 710 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
711 | $(ARCHCORE)handy.h : handy.h |
712 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 713 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
714 | $(ARCHCORE)hv.h : hv.h |
715 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 716 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
02e4b6fe CB |
717 | $(ARCHCORE)l1_char_class_tab.h : l1_char_class_tab.h |
718 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
719 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
7e2254de | 720 | $(ARCHCORE)INTERN.h : INTERN.h |
b0d5070b | 721 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 722 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
723 | $(ARCHCORE)intrpvar.h : intrpvar.h |
724 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 725 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b CB |
726 | $(ARCHCORE)iperlsys.h : iperlsys.h |
727 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 728 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
729 | $(ARCHCORE)keywords.h : keywords.h |
730 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 731 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
a1c7933f CB |
732 | $(ARCHCORE)mydtrace.h : mydtrace.h |
733 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
734 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
97abc6ad HM |
735 | $(ARCHCORE)mg.h : mg.h |
736 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 737 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
8b09643d NC |
738 | $(ARCHCORE)mg_vtable.h : mg_vtable.h |
739 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
740 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
b0d5070b CB |
741 | $(ARCHCORE)nostdio.h : nostdio.h |
742 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 743 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
66b82e1f CB |
744 | $(ARCHCORE)op_reg_common.h : op_reg_common.h |
745 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
746 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
97abc6ad HM |
747 | $(ARCHCORE)op.h : op.h |
748 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 749 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
750 | $(ARCHCORE)opcode.h : opcode.h |
751 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 752 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
424a8fe9 CB |
753 | $(ARCHCORE)opnames.h : opnames.h |
754 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 755 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97386f52 CB |
756 | $(ARCHCORE)overload.h : overload.h |
757 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
758 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
1f74f634 CB |
759 | $(ARCHCORE)pad.h : pad.h |
760 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
761 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
9c8fb6b6 CB |
762 | $(ARCHCORE)parser.h : parser.h |
763 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
764 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) | |
97abc6ad HM |
765 | $(ARCHCORE)patchlevel.h : patchlevel.h |
766 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 767 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
768 | $(ARCHCORE)perl.h : perl.h |
769 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 770 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
787c52d8 CB |
771 | $(ARCHCORE)perlapi.h : perlapi.h |
772 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 773 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b | 774 | $(ARCHCORE)perlio.h : perlio.h |
3a385817 | 775 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 776 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
777 | $(ARCHCORE)perlsdio.h : perlsdio.h |
778 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 779 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
7e2254de CB |
780 | $(ARCHCORE)perlsfio.h : perlsfio.h |
781 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 782 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
783 | $(ARCHCORE)perlvars.h : perlvars.h |
784 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 785 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
786 | $(ARCHCORE)perly.h : perly.h |
787 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 788 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
789 | $(ARCHCORE)pp.h : pp.h |
790 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 791 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
cc391245 CB |
792 | $(ARCHCORE)pp_proto.h : pp_proto.h |
793 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 794 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
795 | $(ARCHCORE)proto.h : proto.h |
796 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 797 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
7e2254de CB |
798 | .ifdef THREADED |
799 | $(ARCHCORE)reentr.h : reentr.h | |
800 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 801 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
7e2254de | 802 | .endif |
97abc6ad HM |
803 | $(ARCHCORE)regcomp.h : regcomp.h |
804 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 805 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
806 | $(ARCHCORE)regexp.h : regexp.h |
807 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 808 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b CB |
809 | $(ARCHCORE)regnodes.h : regnodes.h |
810 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 811 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
812 | $(ARCHCORE)scope.h : scope.h |
813 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 814 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
815 | $(ARCHCORE)sv.h : sv.h |
816 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 817 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
818 | $(ARCHCORE)thread.h : thread.h |
819 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 820 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b | 821 | $(ARCHCORE)utf8.h : utf8.h |
97abc6ad | 822 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 823 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b | 824 | $(ARCHCORE)util.h : util.h |
3937c24e | 825 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 826 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
827 | $(ARCHCORE)vmsish.h : vmsish.h |
828 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 829 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
424a8fe9 | 830 | $(ARCHCORE)warnings.h : warnings.h |
cc391245 | 831 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 832 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
b0d5070b | 833 | $(ARCHCORE)xsub.h : xsub.h |
97abc6ad | 834 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) |
1f74f634 | 835 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
836 | $(ARCHCORE)$(DBG)libperl$(OLB) : $(DBG)libperl$(OLB) $(DBG)perlshr_xtras.ts |
837 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 838 | Copy/NoConfirm/Log $(MMS$SOURCE) $(ARCHCORE) |
97abc6ad HM |
839 | $(ARCHCORE)perlshr_attr.opt : $(DBG)perlshr_xtras.ts |
840 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
d510da7a | 841 | Copy/NoConfirm/Log perlshr_attr.opt $(ARCHCORE) |
97abc6ad HM |
842 | $(ARCHCORE)$(DBG)perlshr_bld.opt : $(DBG)perlshr_xtras.ts |
843 | @ If F$Search("$(ARCHDIR)CORE.dir").eqs."" Then Create/Directory $(ARCHCORE) | |
1f74f634 | 844 | Copy/NoConfirm/Log $(DBG)perlshr_bld.opt $(ARCHCORE) |
97abc6ad HM |
845 | $(ARCHAUTO)time.stamp : |
846 | @ If F$Search("$(ARCHDIR)auto.dir").eqs."" Then Create/Directory $(ARCHAUTO) | |
847 | @ If F$Search("$(MMS$TARGET)").eqs."" Then Copy/NoConfirm _NLA0: $(MMS$TARGET) | |
848 | ||
849 | .ifdef LINK_ONLY | |
850 | .else | |
851 | # We need an action line here for broken older versions of MMS which | |
852 | # otherwise conclude that they should be compiling [.x2p]utils.c :-( | |
3a385817 GS |
853 | #util$(O) : util.c |
854 | # $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
97abc6ad | 855 | # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE |
1f74f634 CB |
856 | av$(O) : av.c $(h) |
857 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
858 | deb$(O) : deb.c $(h) | |
859 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
860 | doio$(O) : doio.c $(h) | |
861 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
862 | doop$(O) : doop.c $(h) | |
863 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
864 | dump$(O) : dump.c $(h) | |
3a385817 | 865 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
9387abf8 | 866 | globals$(O) : globals.c $(generated_headers) $(h) |
b50d78f7 | 867 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 868 | gv$(O) : gv.c $(h) |
3a385817 | 869 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
e1a479c5 BB |
870 | mro$(O) : mro.c $(h) |
871 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 872 | hv$(O) : hv.c $(h) |
3a385817 | 873 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
cfc889ad CB |
874 | keywords$(O) : keywords.c $(h) |
875 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 876 | locale$(O) : locale.c $(h) |
3a385817 | 877 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 878 | malloc$(O) : malloc.c $(h) |
3a385817 | 879 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
9fcbb300 JM |
880 | mathoms$(O) : mathoms.c $(h) |
881 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) | |
1f74f634 | 882 | mg$(O) : mg.c $(h) |
3a385817 | 883 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 884 | miniperlmain$(O) : miniperlmain.c $(h) |
3a385817 | 885 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 886 | numeric$(O) : numeric.c $(h) |
cfbf4ea5 | 887 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 888 | pad$(O) : pad.c $(h) |
b0bfe279 | 889 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 890 | op$(O) : op.c $(h) |
3a385817 | 891 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
05b0cfd1 | 892 | perl$(O) : perl.c git_version.h $(h) |
3a385817 | 893 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 894 | perlapi$(O) : perlapi.c $(h) |
cfbf4ea5 | 895 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 896 | perlio$(O) : perlio.c config.h $(h) |
3a385817 | 897 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
5c9818e9 | 898 | perlmain$(O) : perlmain.c $(h) |
3a385817 | 899 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 900 | perly$(O) : perly.c $(h) |
b0bfe279 | 901 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 902 | pp$(O) : pp.c $(h) |
3a385817 | 903 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 904 | pp_ctl$(O) : pp_ctl.c $(h) |
3a385817 | 905 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 906 | pp_hot$(O) : pp_hot.c $(h) |
3a385817 | 907 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 908 | pp_pack$(O) : pp_pack.c $(h) |
3a385817 | 909 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 910 | pp_sort$(O) : pp_sort.c $(h) |
3a385817 | 911 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 912 | pp_sys$(O) : pp_sys.c $(h) |
3a385817 | 913 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 914 | reentr$(O) : reentr.c $(h) |
3a385817 | 915 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 916 | regcomp$(O) : regcomp.c $(h) |
3a385817 | 917 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 918 | regexec$(O) : regexec.c $(h) |
3a385817 | 919 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 920 | run$(O) : run.c $(h) |
3a385817 | 921 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 922 | scope$(O) : scope.c $(h) |
3a385817 | 923 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
94a11853 | 924 | sv$(O) : sv.c $(h) |
3a385817 | 925 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 926 | taint$(O) : taint.c $(h) |
3a385817 | 927 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 928 | toke$(O) : toke.c $(h) |
3a385817 | 929 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 930 | universal$(O) : universal.c $(h) |
3a385817 | 931 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 932 | utf8$(O) : utf8.c $(h) |
3a385817 | 933 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 934 | util$(O) : util.c $(h) |
3937c24e | 935 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
1f74f634 | 936 | vms$(O) : vms.c $(h) |
3a385817 GS |
937 | $(CC) $(CORECFLAGS) $(MMS$SOURCE) |
938 | ||
046cc26c | 939 | [.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 |
940 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
941 | ||
046cc26c | 942 | [.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 |
943 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
944 | ||
046cc26c | 945 | [.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 |
946 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
947 | ||
046cc26c | 948 | [.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 |
949 | $(CC) $(X2PCFLAGS) $(MMS$SOURCE) |
950 | ||
97abc6ad HM |
951 | # End of automatically generated make dependencies |
952 | .endif # !LINK_ONLY | |
953 | ||
954 | vmsish.h : [.vms]vmsish.h | |
1f74f634 | 955 | Copy/Log/NoConfirm [.vms]vmsish.h [] |
97abc6ad HM |
956 | |
957 | vms.c : [.vms]vms.c | |
958 | Copy/Log/Noconfirm [.vms]vms.c [] | |
959 | ||
960 | $(CRTL) : $(MAKEFILE) | |
046cc26c | 961 | @ @[.vms]genopt "$(CRTL)/Write" "|" "$(LIBS1)|$(FULLLIBS2)" |
97abc6ad | 962 | |
dfe814dc PP |
963 | ok : $(utils) |
964 | $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" | |
965 | ||
966 | okfile : $(utils) | |
967 | $(MINIPERL) lib/perlbug.com -ok -s "(UNINSTALLED)" "-F" perl.ok | |
968 | ||
969 | nok : $(utils) | |
970 | @ write sys$output " " | |
971 | @ write sys$output " Please type the command:" | |
972 | @ write sys$output " " | |
973 | @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)""" | |
974 | ||
975 | nokfile : $(utils) | |
976 | @ write sys$output " " | |
977 | @ write sys$output " Please type the command:" | |
978 | @ write sys$output " " | |
979 | @ write sys$output "$(MINIPERLQ) lib/perlbug.com -nok -s ""(UNINSTALLED)"" ""-F"" perl.nok" | |
980 | ||
97abc6ad HM |
981 | cleanlis : |
982 | - If F$Search("*.Lis").nes."" Then Delete/NoConfirm/Log *.Lis;* | |
983 | - If F$Search("*.CPP").nes."" Then Delete/NoConfirm/Log *.CPP;* | |
984 | - If F$Search("*.Map").nes."" Then Delete/NoConfirm/Log *.Map;* | |
985 | ||
59d8d783 | 986 | cleantest : |
31e425b5 | 987 | - If F$Search("[.t]Perl$(E)").nes."" Then Delete/NoConfirm/Log [.t]Perl$(E);* |
59d8d783 | 988 | - If F$Search("[.t]VMSPIPE.COM").nes."" Then Delete/NoConfirm/Log [.t]VMSPIPE.COM;* |
59d8d783 | 989 | |
97abc6ad HM |
990 | tidy : cleanlis |
991 | - If F$Search("[...]*.Opt;-1").nes."" Then Purge/NoConfirm/Log [...]*.Opt | |
992 | - If F$Search("[...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [...]*$(O) | |
993 | - If F$Search("[...]*$(E);-1").nes."" Then Purge/NoConfirm/Log [...]*$(E) | |
97386f52 CB |
994 | - If F$Search("config.h;-1").nes."" Then Purge/NoConfirm/Log config.h |
995 | - If F$Search("config.sh;-1").nes."" Then Purge/NoConfirm/Log config.sh | |
996 | - If F$Search("vmsish.h;-1").nes."" Then Purge/NoConfirm/Log vmsish.h | |
997 | - If F$Search("vms.c;-1") .nes."" Then Purge/NoConfirm/Log vms.c | |
998 | - If F$Search("perlmain.c;-1") .nes."" Then Purge/NoConfirm/Log perlmain.c | |
9444d213 | 999 | - If F$Search("uudmap.h;-1") .nes."" Then Purge/NoConfirm/Log uudmap.h |
efa50c51 | 1000 | - If F$Search("bitcount.h;-1") .nes."" Then Purge/NoConfirm/Log bitcount.h |
6f83ef0e | 1001 | - If F$Search("mg_data.h;-1") .nes."" Then Purge/NoConfirm/Log mg_data.h |
97abc6ad | 1002 | - If F$Search("Perlshr_Gbl*.Mar;-1") .nes."" Then Purge/NoConfirm/Log Perlshr_Gbl*.Mar |
9c8fb6b6 CB |
1003 | - If F$Search("[.ext.Opcode...];-1").nes."" Then Purge/NoConfirm/Log [.ext.Opcode] |
1004 | - If F$Search("[.vms.ext...]*.C;-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*.C | |
1005 | - If F$Search("[.vms.ext...]*$(O);-1").nes."" Then Purge/NoConfirm/Log [.vms.ext...]*$(O) | |
97386f52 CB |
1006 | - If F$Search("[.lib.auto...]*.al;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]*.al |
1007 | - If F$Search("[.lib.auto...]autosplit.ix;-1").nes."" Then Purge/NoConfirm/Log [.lib.auto...]autosplit.ix | |
97386f52 | 1008 | - If F$Search("[.lib]Config.pm;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config.pm |
97abc6ad | 1009 | - If F$Search("$(ARCHDIR)Config.pm;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config.pm |
97386f52 | 1010 | - If F$Search("[.lib]Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]Config_heavy.pl |
2d9d8159 | 1011 | - If F$Search("$(ARCHDIR)Config_heavy.pl;-1").nes."" Then Purge/NoConfirm/Log $(ARCHDIR)Config_heavy.pl |
97abc6ad | 1012 | - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Purge/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm |
97386f52 | 1013 | - If F$Search("[.lib.VMS]*.*;-1").nes."" Then Purge/NoConfirm/Log [.lib.VMS]*.* |
97abc6ad HM |
1014 | - If F$Search("$(ARCHCORE)*.*").nes."" Then Purge/NoConfirm/Log $(ARCHCORE)*.* |
1015 | - If F$Search("[.lib]*.com;-1").nes."" Then Purge/NoConfirm/Log [.lib]*.com | |
1016 | - If F$Search("[.pod]*.com;-1").nes."" Then Purge/NoConfirm/Log [.pod]*.com | |
1017 | - If F$Search("[.utils]*.com;-1").nes."" Then Purge/NoConfirm/Log [.utils]*.com | |
1018 | - If F$Search("[.x2p]*.com;-1").nes."" Then Purge/NoConfirm/Log [.x2p]*.com | |
5e4c4c91 | 1019 | - If F$Search("[.lib]buildcustomize.pl;-1").nes."" Then Purge/NoConfirm/Log [.lib]buildcustomize.pl |
97abc6ad | 1020 | |
6e2cec71 | 1021 | clean : tidy cleantest |
c091f99a | 1022 | - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=clean" |
97abc6ad HM |
1023 | - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt |
1024 | - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);* | |
97386f52 CB |
1025 | - If F$Search("vmsish.h").nes."" Then Delete/NoConfirm/Log vmsish.h;* |
1026 | - If F$Search("vms.c") .nes."" Then Delete/NoConfirm/Log vms.c;* | |
1027 | - If F$Search("perlmain.c") .nes."" Then Delete/NoConfirm/Log perlmain.c;* | |
5c9818e9 | 1028 | - If F$Search("perlmini.c") .nes."" Then Delete/NoConfirm/Log perlmini.c;* |
c3301a92 | 1029 | - If F$Search("uudmap.h") .nes."" Then Delete/NoConfirm/Log uudmap.h;* |
efa50c51 | 1030 | - If F$Search("bitcount.h") .nes."" Then Delete/NoConfirm/Log bitcount.h;* |
c73002c3 | 1031 | - If F$Search("mg_data.h") .nes."" Then Delete/NoConfirm/Log mg_data.h;* |
97abc6ad HM |
1032 | - If F$Search("Perlshr_Gbl*.Mar") .nes."" Then Delete/NoConfirm/Log Perlshr_Gbl*.Mar;* |
1033 | - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;* | |
9c8fb6b6 CB |
1034 | - If F$Search("[.vms.ext...]*.C").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*.C;* |
1035 | - If F$Search("[.vms.ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.vms.ext...]*$(O);* | |
97abc6ad | 1036 | - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* |
600dcb9e | 1037 | - If F$Search("$(PERLDELTA_CURRENT)").nes."" Then Delete/NoConfirm/Log $(PERLDELTA_CURRENT);* |
db34a22a | 1038 | - If F$Search("[.pod]perlapi.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlapi.pod;* |
344af494 | 1039 | - If F$Search("[.pod]perlintern.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlintern.pod;* |
6e2c8928 | 1040 | - If F$Search("[.pod]perlmodlib.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlmodlib.pod;* |
7eb47696 | 1041 | - If F$Search("[.pod]perltoc.pod").nes."" Then Delete/NoConfirm/Log [.pod]perltoc.pod;* |
524ce141 | 1042 | - If F$Search("[.pod]perluniprops.pod").nes."" Then Delete/NoConfirm/Log [.pod]perluniprops.pod;* |
414b89cc | 1043 | - @extra_pods CLEAN |
9c3905ef | 1044 | - If F$Search("unpushed.h").nes."" Then Delete/NoConfirm/Log unpushed.h;* |
05b0cfd1 CB |
1045 | - If F$Search("[.lib]Config_git.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_git.pl;* |
1046 | - If F$Search("git_version.h").nes."" Then Delete/NoConfirm/Log git_version.h;* | |
97abc6ad | 1047 | |
cc391245 | 1048 | realclean : clean |
c091f99a | 1049 | - $(MINIPERL) make_ext.pl "MAKE=$(MMS)" "--all" "--target=realclean" |
42e07562 | 1050 | - $(MINIPERL) mkppport "--clean" |
97abc6ad HM |
1051 | - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);* |
1052 | - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;* | |
97386f52 CB |
1053 | - If F$Search("config.h").nes."" Then Delete/NoConfirm/Log config.h;* |
1054 | - If F$Search("config.sh").nes."" Then Delete/NoConfirm/Log config.sh;* | |
52a043e6 | 1055 | - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config |
d6521b56 | 1056 | - If F$Search("[.lib.unicore...]*.pl").nes."" Then Delete/NoConfirm/Log [.lib.unicore...]*.pl;* |
23b62609 | 1057 | - If F$Search("[.lib.unicore]Properties.").nes."" Then Delete/NoConfirm/Log [.lib.unicore]Properties.;* |
ca12659b | 1058 | - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" $(unidatadirs) |
cc391245 | 1059 | - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;* |
414b89cc | 1060 | - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log extra_pods.Com;* |
96021e87 | 1061 | - If F$Search("extra.pods").nes."" Then Delete/NoConfirm/Log extra.pods;* |
b2790d5e | 1062 | - $(MINIPERL) -e "use File::Path; rmtree(['[.CXX_REPOSITORY]', 'lib/auto','lib/VMS','lib/$(ARCHNAME)'],1,0);" |
25ea24bb | 1063 | - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;* |
97386f52 CB |
1064 | - If F$Search("[.lib]Config.pm").nes."" Then Delete/NoConfirm/Log [.lib]Config.pm;* |
1065 | - If F$Search("[.lib]Config_heavy.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_heavy.pl;* | |
1066 | - If F$Search("[.lib]*.com").nes."" Then Delete/NoConfirm/Log [.lib]*.com;* | |
781f5a38 | 1067 | - If F$Search("[.lib...].exists").nes."" Then Delete/NoConfirm/Log [.lib...].exists;* |
52a043e6 | 1068 | - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* |
97abc6ad HM |
1069 | - If F$Search("[.utils]*.com").nes."" Then Delete/NoConfirm/Log [.utils]*.com;* |
1070 | - If F$Search("[.x2p]*.com").nes."" Then Delete/NoConfirm/Log [.x2p]*.com;* | |
1071 | - If F$Search("$(ARCHDIR)Config.pm").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config.pm;* | |
2d9d8159 | 1072 | - If F$Search("$(ARCHDIR)Config_heavy.pl").nes."" Then Delete/NoConfirm/Log $(ARCHDIR)Config_heavy.pl;* |
97abc6ad | 1073 | - If F$Search("[.lib.ExtUtils]Miniperl.pm").nes."" Then Delete/NoConfirm/Log [.lib.ExtUtils]Miniperl.pm;* |
4403bf93 | 1074 | - If F$Search("[.utils]perldoc.com").nes."" Then Delete/NoConfirm/Log [.utils]perldoc.com;* |
cdf8b154 | 1075 | - If F$Search("[.utils]perlivp.com").nes."" Then Delete/NoConfirm/Log [.utils]perlivp.com;* |
97abc6ad HM |
1076 | - If F$Search("[.t.lib]vms*.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vms*.t;* |
1077 | - If F$Search("[...]*$(E)").nes."" Then Delete/NoConfirm/Log [...]*$(E);* | |
b2790d5e | 1078 | - If F$Search("Perl_Setup.Com").nes."" Then Delete/NoConfirm/Log Perl_Setup.Com;* |
dfe814dc | 1079 | - If F$Search("[.t]rantests.").nes."" Then Delete/NoConfirm/Log [.t]rantests.;* |
0279961e | 1080 | - If F$Search("[.t]test_state.").nes."" Then Delete/NoConfirm/Log [.t]test_state.;* |
493ba88a PP |
1081 | - If F$Search("[.t.lib]vmsfspec.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsfspec.t;* |
1082 | - If F$Search("[.t.lib]vmsish.t").nes."" Then Delete/NoConfirm/Log [.t.lib]vmsish.t;* | |
d6521b56 | 1083 | - If F$Search("vmspipe.com").nes."" Then Delete/NoConfirm/Log vmspipe.com;* |
ac2c13e8 | 1084 | - If F$Search("[.lib]buildcustomize.pl").nes."" Then Delete/NoConfirm/Log [.lib]buildcustomize.pl;* |
b2790d5e | 1085 | - If F$Search("[.lib]config.pod").nes."" Then Delete/NoConfirm/Log [.lib]config.pod;* |
97abc6ad HM |
1086 | |
1087 | cleansrc : clean | |
97386f52 CB |
1088 | - If F$Search("*.c;-1").nes."" Then Purge/NoConfirm/Log *.c |
1089 | - If F$Search("*.h;-1").nes."" Then Purge/NoConfirm/Log *.h | |
1090 | - If F$Search("*.vms;-1").nes."" Then Purge/NoConfirm/Log *.vms | |
1091 | - If F$Search("[.vms]$(MAKEFILE);-1").nes."" Then Purge/NoConfirm/Log [.vms]$(MAKEFILE) | |
1092 | - If F$Search("[.vms]*.c;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.c | |
1093 | - If F$Search("[.vms]*.h;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.h | |
1094 | - If F$Search("[.vms]*.pl;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.pl | |
1095 | - If F$Search("[.vms]*.vms;-1").nes."" Then Purge/NoConfirm/Log [.vms]*.vms | |
1096 | - If F$Search("[.vms...]*.pm;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.pm | |
1097 | - If F$Search("[.vms...]*.xs;-1").nes."" Then Purge/NoConfirm/Log [.vms...]*.xs | |
12bc563b | 1098 | !GROK!THIS! |