diff options
Diffstat (limited to 'contrib/perl5/utils/Makefile')
-rw-r--r-- | contrib/perl5/utils/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/perl5/utils/Makefile b/contrib/perl5/utils/Makefile new file mode 100644 index 0000000..2df16d8 --- /dev/null +++ b/contrib/perl5/utils/Makefile @@ -0,0 +1,43 @@ + +PERL = ../miniperl +REALPERL = ../perl + +# 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 +plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc +plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe + +all: $(plextract) + +compile: all + $(REALPERL) -I../lib perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog; + +$(plextract): + $(PERL) -I../lib $@.PL + +c2ph: c2ph.PL ../config.sh + +h2ph: h2ph.PL ../config.sh + +h2xs: h2xs.PL ../config.sh + +perlbug: perlbug.PL ../config.sh ../patchlevel.h + +perldoc: perldoc.PL ../config.sh + +pl2pm: pl2pm.PL ../config.sh + +splain: splain.PL ../config.sh ../lib/diagnostics.pm + +perlcc: perlcc.PL ../config.sh + +clean: + +realclean: + rm -rf $(plextract) pstruct $(plextractexe) + +clobber: realclean + +distclean: clobber |