X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.SH;h=c1689cd11d0fd80b190cca72780a1fd16a0c2e0d;hb=e17cb2a9c513ce1acd034452f9a933fcfa6c0129;hp=2e90be0d732248a54d63555a50843fe1913bdb8b;hpb=3ee700d1417d4c874074ae89df62860d55ace0cc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Makefile.SH b/Makefile.SH index 2e90be0..c1689cd 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -139,13 +139,12 @@ shellflags = $shellflags # do it for you. $make_set_make -# These variables will be used in a future version to make -# the make file more portable to non-unix systems. +# These variables may need to be manually set for non-Unix systems. AR = $ar -EXE_EXT = $exe_ext -LIB_EXT = $lib_ext -OBJ_EXT = $obj_ext -PATH_SEP = $path_sep +EXE_EXT = $_exe +LIB_EXT = $_a +OBJ_EXT = $_o +PATH_SEP = $p_ FIRSTMAKEFILE = $firstmakefile @@ -187,15 +186,16 @@ h1 = EXTERN.h INTERN.h XSUB.h av.h config.h cop.h cv.h dosish.h h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h h3 = opcode.h patchlevel.h perl.h perly.h pp.h proto.h regcomp.h h4 = regexp.h scope.h sv.h unixish.h util.h perlio.h thread.h -h = $(h1) $(h2) $(h3) $(h4) +h5 = bytecode.h byterun.h +h = $(h1) $(h2) $(h3) $(h4) $(h5) -c1 = $(mallocsrc) av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c +c1 = $(mallocsrc) av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c byterun.c c2 = perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c c3 = gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c globals.c perlio.c c = $(c1) $(c2) $(c3) miniperlmain.c perlmain.c -obj1 = $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) op$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) +obj1 = $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) op$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) byterun$(OBJ_EXT) obj2 = hv$(OBJ_EXT) av$(OBJ_EXT) run$(OBJ_EXT) pp_hot$(OBJ_EXT) sv$(OBJ_EXT) pp$(OBJ_EXT) scope$(OBJ_EXT) pp_ctl$(OBJ_EXT) pp_sys$(OBJ_EXT) obj3 = doop$(OBJ_EXT) doio$(OBJ_EXT) regexec$(OBJ_EXT) taint$(OBJ_EXT) deb$(OBJ_EXT) universal$(OBJ_EXT) globals$(OBJ_EXT) perlio$(OBJ_EXT) @@ -354,7 +354,7 @@ lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl minimod.pl lib/Config.pm ./miniperl minimod.pl > tmp && mv tmp $@ $(plextract): miniperl lib/Config.pm - ./miniperl -Ilib $@.PL + `echo ./miniperl -Ilib $@.PL` install: all install.perl install.man @@ -405,10 +405,18 @@ perly.c: perly.y perly.h: perly.y -@sh -c true -# The following three header files are generated automatically +# No compat3.sym here since and including the 5.004_50. +SYM = global.sym interp.sym perlio.sym thread.sym + +SYMH = perlvars.h thrdvar.h + +# The following files are generated automatically # keywords.h: keywords.pl # opcode.h: opcode.pl # embed.h: embed.pl global.sym interp.sym +# byterun.h: bytecode.pl +# byterun.c: bytecode.pl +# lib/B/Asmdata.pm: bytecode.pl # The correct versions should be already supplied with the perl kit, # in case you don't have perl available. # To force them to run, type @@ -417,6 +425,7 @@ regen_headers: FORCE perl keywords.pl perl opcode.pl perl embed.pl + perl bytecode.pl # Extensions: # Names added to $(dynamic_ext) or $(static_ext) will automatically @@ -440,10 +449,10 @@ s_dummy $(static_ext): miniperl preplibrary $(DYNALOADER) FORCE clean: _tidy _mopup realclean: _cleaner _mopup - @echo "Note that make realclean does not delete config.sh" + @echo "Note that make realclean does not delete config.sh or Policy.sh" clobber: _cleaner _mopup - rm -f config.sh cppstdin + rm -f config.sh cppstdin Policy.sh distclean: clobber @@ -501,7 +510,8 @@ $(FIRSTMAKEFILE): README $(MAKEDEPEND) config.h: config_h.SH config.sh $(SHELL) config_h.SH -perl.exp: perl_exp.SH config.sh +# This is an AIXism. +perl.exp: perl_exp.SH config.sh $(SYM) $(SYMH) $(SHELL) perl_exp.SH # When done, touch perlmain.c so that it doesn't get remade each time. @@ -536,7 +546,7 @@ minitest: miniperl # installed perlbug. We don't re-run the tests here - we trust the user. # Please *don't* use this unless all tests pass. # If you want to report test failures, just use "perlbug -Ilib". -ok: +ok: utilities ./perl -Ilib utils/perlbug -ok -s '(UNINSTALLED)' clist: $(c)