X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/95667ae449650939b6e6a521264f3846244da96a..238b27b30e66cbca6d4615d2e20bf4a279a86f89:/utils/Makefile diff --git a/utils/Makefile b/utils/Makefile index f3a0663..4d56bea 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -1,40 +1,69 @@ PERL = ../miniperl REALPERL = ../perl +RUN = # Used mainly cross-compilation setups. + # Files to be built with variable substitution after miniperl is # available. Dependencies handled manually below (for now). -pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL -plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp -plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe dprofpp.exe +pl = c2ph.PL config_data.PL corelist.PL cpan.PL h2ph.PL h2xs.PL instmodsh.PL perlbug.PL perldoc.PL perlivp.PL pl2pm.PL prove.PL ptar.PL ptardiff.PL cpanp-run-perl.PL cpanp.PL cpan2dist.PL shasum.PL splain.PL dprofpp.PL libnetcfg.PL piconv.PL enc2xs.PL xsubpp.PL +plextract = c2ph config_data corelist cpan h2ph h2xs instmodsh perlbug perldoc perlivp pl2pm prove ptar ptardiff cpanp-run-perl cpanp cpan2dist shasum splain dprofpp libnetcfg piconv enc2xs xsubpp +plextractexe = ./c2ph ./config_data ./corelist ./cpan ./h2ph ./h2xs ./instmodsh ./perlbug ./perldoc ./perlivp ./pl2pm ./prove ./ptar ./ptardiff ./cpanp-run-perl ./cpanp ./cpan2dist ./shasum ./splain ./dprofpp ./libnetcfg ./piconv ./enc2xs ./xsubpp all: $(plextract) -compile: all - $(REALPERL) -I../lib perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog; - $(plextract): - $(PERL) -I../lib $@.PL + $(RUN) $(PERL) -I../lib $@.PL c2ph: c2ph.PL ../config.sh +cpan: cpan.PL ../config.sh + +config_data: config_data.PL ../config.sh + +corelist: corelist.PL ../config.sh + h2ph: h2ph.PL ../config.sh h2xs: h2xs.PL ../config.sh +instmodsh: instmodsh.PL ../config.sh + perlbug: perlbug.PL ../config.sh ../patchlevel.h perldoc: perldoc.PL ../config.sh +perlivp: perlivp.PL ../config.sh + +prove: prove.PL ../config.sh + +ptar: ptar.PL ../config.sh + +ptardiff: ptardiff.PL ../config.sh + +cpanp-run-perl: cpanp-run-perl.PL ../config.sh + +cpanp: cpanp.PL ../config.sh + +cpan2dist: cpan2dist.PL ../config.sh + pl2pm: pl2pm.PL ../config.sh -splain: splain.PL ../config.sh ../lib/diagnostics.pm +shasum: shasum.PL ../config.sh -perlcc: perlcc.PL ../config.sh +splain: splain.PL ../config.sh ../lib/diagnostics.pm dprofpp: dprofpp.PL ../config.sh +libnetcfg: libnetcfg.PL ../config.sh + +piconv: piconv.PL ../config.sh + +enc2xs: enc2xs.PL ../config.sh + +xsubpp: xsubpp.PL ../config.sh + clean: realclean: @@ -44,3 +73,6 @@ realclean: clobber: realclean distclean: clobber + +veryclean: distclean + -rm -f *~ *.org