X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2FMakefile.SH;h=ba56c49e7ba93e79c883f5cd85939be4fd526bf2;hb=cd22a09c8c81e5e4c639c15ad19704a0d1e0c842;hp=2c0b5c10783c1fbe0a37e6f5671c2b48b37e0d59;hpb=de1254415ffeb03ba71a0802be6f212b10153304;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index 2c0b5c1..ba56c49 100755 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -47,7 +47,7 @@ SHELL = $sh # These variables may need to be manually set for non-Unix systems. AR = $ar -EXE_EXT = $_ext +EXE_EXT = $_exe LIB_EXT = $_a OBJ_EXT = $_o PATH_SEP = $p_ @@ -62,6 +62,8 @@ OPTIMIZE = $optimize .SUFFIXES: .c \$(OBJ_EXT) +RUN = $run + !GROK!THIS! cat >>Makefile <<'!NO!SUBS!' @@ -122,6 +124,9 @@ run_byacc: FORCE -e 's/^yynewerror://' \ -e 's/^ goto yynewerror;//' \ -e 's|^static char yysccsid\(.*\)|/* static char yysccsid\1 */|' \ + -e 's/^\(char \*yyname\[\]\)/const \1/' \ + -e 's/^\(char \*yyrule\[\]\)/const \1/' \ + -e 's/^\( register\) \(char \*yys;\)/\1 const \2/' \ < y.tab.c > a2p.c FORCE: @@ -169,7 +174,7 @@ shlist: # These should be automatically generated $(plextract): - ../miniperl -I../lib $@.PL + $(RUN) ../miniperl -I../lib $@.PL find2perl: find2perl.PL