This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Less potentially test-harness-confusing output.
[perl5.git] / utils / Makefile
CommitLineData
1756d26f
PP
1
2PERL = ../miniperl
52cebf5e 3REALPERL = ../perl
1756d26f
PP
4
5# Files to be built with variable substitution after miniperl is
6# available. Dependencies handled manually below (for now).
7
cdf0af66
JH
8pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL
9plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp
e4f0d88d 10plextractexe = ./c2ph ./h2ph ./h2xs ./perlbug ./perldoc ./pl2pm ./splain ./perlcc ./dprofpp
1756d26f 11
52cebf5e
EP
12all: $(plextract)
13
e4f0d88d
EP
14compile: all $(plextract)
15 $(REALPERL) -I../lib perlcc c2ph -o c2ph.exe -v 10 -log ../compilelog;
16 $(REALPERL) -I../lib perlcc h2ph -o h2ph.exe -v 10 -log ../compilelog;
17 $(REALPERL) -I../lib perlcc h2xs -o h2xs.exe -v 10 -log ../compilelog;
18 $(REALPERL) -I../lib perlcc perlbug -o perlbug.exe -v 10 -log ../compilelog;
19 $(REALPERL) -I../lib perlcc perldoc -o perldoc.exe -v 10 -log ../compilelog;
20 $(REALPERL) -I../lib perlcc pl2pm -o pl2pm.exe -v 10 -log ../compilelog;
21 $(REALPERL) -I../lib perlcc splain -o splain.exe -v 10 -log ../compilelog;
22 $(REALPERL) -I../lib perlcc perlcc -o perlcc.exe -v 10 -log ../compilelog;
23 $(REALPERL) -I../lib perlcc dprofpp -o dprofpp.exe -v 10 -log ../compilelog;
1756d26f
PP
24
25$(plextract):
26 $(PERL) -I../lib $@.PL
27
84902520 28c2ph: c2ph.PL ../config.sh
774d564b 29
84902520 30h2ph: h2ph.PL ../config.sh
774d564b 31
84902520 32h2xs: h2xs.PL ../config.sh
32ea9a2a 33
84902520 34perlbug: perlbug.PL ../config.sh ../patchlevel.h
774d564b 35
84902520 36perldoc: perldoc.PL ../config.sh
774d564b 37
84902520 38pl2pm: pl2pm.PL ../config.sh
774d564b 39
84902520 40splain: splain.PL ../config.sh ../lib/diagnostics.pm
5f05dabc 41
b295d113
TH
42perlcc: perlcc.PL ../config.sh
43
95667ae4
GS
44dprofpp: dprofpp.PL ../config.sh
45
1756d26f
PP
46clean:
47
48realclean:
52cebf5e 49 rm -rf $(plextract) pstruct $(plextractexe)
bb0110d4 50 rm -f ../t/_h2ph_pre.ph
1756d26f
PP
51
52clobber: realclean
53
54distclean: clobber
2edbd6da
JH
55
56veryclean: distclean
57 -rm -f *~ *.org