diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-06-11 21:23:46 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-06-13 15:19:21 +0200 |
commit | cb251201d6951395845f27476706749c5c0e12f7 (patch) | |
tree | d4375ec8bc699e4f1f13c2fd202016307bf5e39f /vms | |
parent | 5c39bf1981fd94f2f7d0c551c307701ce0faeda6 (diff) | |
download | perl-cb251201d6951395845f27476706749c5c0e12f7.tar.gz |
Generate lib/buildcustomize.pl at the same time as the miniperl executable.
Doing them together ensures that we always have lib/buildcustomize.pl
available. This simplifies things. The seemingly cranky ordering of having
miniperl notionally depend on lib/buildcustomize.pl, and the rule for
lib/buildcustomize.pl actually also building miniperl permits the rest of
the Makefile to depend on (the obvious) miniperl, not the obscure
lib/buildcustomize.pl
Diffstat (limited to 'vms')
-rw-r--r-- | vms/descrip_mms.template | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index bb5b00c131..c72b19e330 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -338,16 +338,20 @@ $(PERLDELTA_CURRENT) : [.pod]perldelta.pod archcorefiles : $(ac) $(ARCHAUTO)time.stamp @ $(NOOP) -[.lib]buildcustomize.pl : write_buildcustomize.pl $(MINIPERL_EXE) - $(MINIPERL) write_buildcustomize.pl > [.lib]buildcustomize.pl +# See the comment in Makefile.SH explaining this seemingly cranky ordering +$(MINIPERL_EXE) : [.lib]buildcustomize.pl + @ $(NOOP) vmspipe.com : [.vms]vmspipe.com Copy/NoConfirm/Log $(MMS$SOURCE) [] miniperl : $(DBG)miniperl$(E) vmspipe.com @ Continue -$(MINIPERL_EXE) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) - Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) + +[.lib]buildcustomize.pl : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) write_buildcustomize.pl [.lib.VMS]Filespec.pm + Link $(LINKFLAGS)/NoDebug/Trace/NoMap/NoFull/NoCross/Exe=$(MINIPERL_EXE) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) + $(MINIPERL) write_buildcustomize.pl > [.lib]buildcustomize.pl + $(DBG)miniperl$(E) : miniperlmain$(O), $(DBG)libperlmini$(OLB) $(CRTL) Link $(LINKFLAGS)/Trace/Exe=$(MMS$TARGET) miniperlmain$(O), $(DBG)libperlmini$(OLB)/Library/Include=globals $(CRTLOPTS) |