From: Jarkko Hietaniemi Date: Wed, 25 Oct 2000 13:40:39 +0000 (+0000) Subject: Add targets to Makefile.SH, most importantly X-Git-Tag: accepted/trunk/20130322.191538~33859 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fec149bb652b6e9b0ac53649e1e535bc4e27d66;p=platform%2Fupstream%2Fperl.git Add targets to Makefile.SH, most importantly 'regen_all' which also remembers to update vms/perly*. p4raw-id: //depot/perl@7431 --- diff --git a/Makefile.SH b/Makefile.SH index 5418fc4..6680a59 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