This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta suggestions on (un)?pack by Ton Hospel
[perl5.git] / utils / Makefile
CommitLineData
1756d26f 1
2PERL = ../miniperl
52cebf5e 3REALPERL = ../perl
1756d26f 4
5# Files to be built with variable substitution after miniperl is
6# available. Dependencies handled manually below (for now).
7
8f2fd531
JB
8pl = c2ph.PL cpan.PL corelist.PL h2ph.PL h2xs.PL instmodsh.PL perlbug.PL perldoc.PL perlivp.PL pl2pm.PL prove.PL splain.PL perlcc.PL dprofpp.PL libnetcfg.PL piconv.PL enc2xs.PL xsubpp.PL
9plextract = c2ph cpan corelist h2ph h2xs instmodsh perlbug perldoc perlivp pl2pm prove splain perlcc dprofpp libnetcfg piconv enc2xs xsubpp
10plextractexe = ./c2ph ./cpan ./corelist ./h2ph ./h2xs ./instmodsh ./perlbug ./perldoc ./perlivp ./pl2pm ./prove ./splain ./perlcc ./dprofpp ./libnetcfg ./piconv ./enc2xs ./xsubpp
1756d26f 11
52cebf5e
EP
12all: $(plextract)
13
e4f0d88d 14compile: all $(plextract)
f5eac215
JH
15 $(REALPERL) -I../lib perlcc -I .. -L .. c2ph -o c2ph.exe -v 10 -log ../compilelog;
16 $(REALPERL) -I../lib perlcc -I .. -L .. h2ph -o h2ph.exe -v 10 -log ../compilelog;
17 $(REALPERL) -I../lib perlcc -I .. -L .. h2xs -o h2xs.exe -v 10 -log ../compilelog;
18 $(REALPERL) -I../lib perlcc -I .. -L .. perlbug -o perlbug.exe -v 10 -log ../compilelog;
19 $(REALPERL) -I../lib perlcc -I .. -L .. perldoc -o perldoc.exe -v 10 -log ../compilelog;
cdf8b154 20 $(REALPERL) -I../lib perlcc -I .. -L .. perlivp -o perlivp.exe -v 10 -log ../compilelog;
f5eac215
JH
21 $(REALPERL) -I../lib perlcc -I .. -L .. pl2pm -o pl2pm.exe -v 10 -log ../compilelog;
22 $(REALPERL) -I../lib perlcc -I .. -L .. splain -o splain.exe -v 10 -log ../compilelog;
23 $(REALPERL) -I../lib perlcc -I .. -L .. perlcc -I .. -L .. -o perlcc.exe -v 10 -log ../compilelog;
24 $(REALPERL) -I../lib perlcc -I .. -L .. dprofpp -o dprofpp.exe -v 10 -log ../compilelog;
25 $(REALPERL) -I../lib perlcc -I .. -L .. libnetcfg -o libnetcfg.exe -v 10 -log ../compilelog;
1756d26f 26
27$(plextract):
28 $(PERL) -I../lib $@.PL
29
84902520 30c2ph: c2ph.PL ../config.sh
774d564b 31
ce28de53
RGS
32cpan: cpan.PL ../config.sh
33
8f2fd531
JB
34corelist: corelist.PL ../config.sh
35
84902520 36h2ph: h2ph.PL ../config.sh
774d564b 37
84902520 38h2xs: h2xs.PL ../config.sh
32ea9a2a 39
a55f9fbc
RGS
40instmodsh: instmodsh.PL ../config.sh
41
84902520 42perlbug: perlbug.PL ../config.sh ../patchlevel.h
774d564b 43
84902520 44perldoc: perldoc.PL ../config.sh
774d564b 45
cdf8b154
PK
46perlivp: perlivp.PL ../config.sh
47
e4fc8a1e
RGS
48prove: prove.PL ../config.sh
49
84902520 50pl2pm: pl2pm.PL ../config.sh
774d564b 51
84902520 52splain: splain.PL ../config.sh ../lib/diagnostics.pm
5f05dabc 53
b295d113
TH
54perlcc: perlcc.PL ../config.sh
55
95667ae4
GS
56dprofpp: dprofpp.PL ../config.sh
57
406c51ee
JH
58libnetcfg: libnetcfg.PL ../config.sh
59
3e06bf43
JH
60piconv: piconv.PL ../config.sh
61
5d437a65
JH
62enc2xs: enc2xs.PL ../config.sh
63
a55f9fbc
RGS
64xsubpp: xsubpp.PL ../config.sh
65
1756d26f 66clean:
67
68realclean:
52cebf5e 69 rm -rf $(plextract) pstruct $(plextractexe)
bb0110d4 70 rm -f ../t/_h2ph_pre.ph
1756d26f 71
72clobber: realclean
73
74distclean: clobber
2edbd6da
JH
75
76veryclean: distclean
77 -rm -f *~ *.org