1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/contrib/perl5/utils/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

PERL = ../miniperl
REALPERL = ../perl
# Files to be built with variable substitution after miniperl is
# available. Dependencies handled manually below (for now).
2000-06-25 11:04:01 +00:00
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
all: $(plextract)
compile: all
2000-06-25 11:04:01 +00:00
$(REALPERL) -I../lib perlcc -opt -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
2000-06-25 11:04:01 +00:00
perlcc: perlcc.PL ../config.sh
dprofpp: dprofpp.PL ../config.sh
clean:
realclean:
rm -rf $(plextract) pstruct $(plextractexe)
2000-06-25 11:04:01 +00:00
rm -f ../t/_h2ph_pre.ph
clobber: realclean
distclean: clobber