summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:40:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:40:39 +0000
commit9fec149bb652b6e9b0ac53649e1e535bc4e27d66 (patch)
tree86312f3176982566df659f542fbb3f62f4bab98d /Makefile.SH
parent9a997319a2cb3566368aef4411c3714ed702d800 (diff)
downloadperl-9fec149bb652b6e9b0ac53649e1e535bc4e27d66.tar.gz
Add targets to Makefile.SH, most importantly
'regen_all' which also remembers to update vms/perly*. p4raw-id: //depot/perl@7431
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 5418fc45f2..6680a593fc 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -618,6 +618,11 @@ perly.c: perly.y
perly.h: perly.y
-@sh -c true
+PERLYVMS = vms/perly_c.vms vms/perly_h.vms
+
+$(PERLYVMS): perly.c perly.h vms/vms_yfix.pl
+ perl vms/vms_yfix.pl perly.c perly.h vms/perly_c.vms vms/perly_h.vms
+
# No compat3.sym here since and including the 5.004_50.
# No interp.sym since 5.005_03.
SYM = global.sym globvar.sym perlio.sym pp.sym
@@ -642,6 +647,24 @@ CHMOD_W = chmod +w
# To force them to be regenerated, type
# make regen_headers
+keywords.h: keywords.pl
+ -perl keywords.pl
+
+opcode.h opnames.h pp_proto.h pp.sym: opcode.pl
+ -perl opcode.pl
+
+proto.h embed.h embedvar.h global.sym objXSUB.h perlapi.h perlapi.c pod/perlintern.pod pod/perlapi.pod: embed.pl pp.sym
+ -perl embed.pl
+
+ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c ext/B/B/Asmdata.pm: bytecode.pl
+ -perl bytecode.pl
+
+regnodes.h: regcomp.pl
+ -perl regcomp.pl
+
+warnings.h lib/warnings.pm: warnings.pl
+ -perl warnings.pl
+
AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
embed.h embedvar.h global.sym \
pod/perlintern.pod pod/perlapi.pod \
@@ -661,6 +684,8 @@ regen_headers: FORCE
regen_pods: FORCE
-cd pod; $(LDLIBPTH) make regen_pods
+regen_all: $(PERLYVMS) regen_headers regen_pods
+
# Extensions:
# Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will
# automatically get built. There should ordinarily be no need to change