Commit | Line | Data |
1756d26f |
1 | |
2 | PERL = ../miniperl |
52cebf5e |
3 | REALPERL = ../perl |
1756d26f |
4 | |
5 | # Files to be built with variable substitution after miniperl is |
6 | # available. Dependencies handled manually below (for now). |
7 | |
ce28de53 |
8 | pl = c2ph.PL cpan.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL perlivp.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL libnetcfg.PL piconv.PL enc2xs.PL |
9 | plextract = c2ph cpan h2ph h2xs perlbug perldoc perlivp pl2pm splain perlcc dprofpp libnetcfg piconv enc2xs |
10 | plextractexe = ./c2ph ./cpan ./h2ph ./h2xs ./perlbug ./perldoc ./perlivp ./pl2pm ./splain ./perlcc ./dprofpp ./libnetcfg ./piconv ./enc2xs |
1756d26f |
11 | |
52cebf5e |
12 | all: $(plextract) |
13 | |
e4f0d88d |
14 | compile: all $(plextract) |
f5eac215 |
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 |
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 |
30 | c2ph: c2ph.PL ../config.sh |
774d564b |
31 | |
ce28de53 |
32 | cpan: cpan.PL ../config.sh |
33 | |
84902520 |
34 | h2ph: h2ph.PL ../config.sh |
774d564b |
35 | |
84902520 |
36 | h2xs: h2xs.PL ../config.sh |
32ea9a2a |
37 | |
84902520 |
38 | perlbug: perlbug.PL ../config.sh ../patchlevel.h |
774d564b |
39 | |
84902520 |
40 | perldoc: perldoc.PL ../config.sh |
774d564b |
41 | |
cdf8b154 |
42 | perlivp: perlivp.PL ../config.sh |
43 | |
84902520 |
44 | pl2pm: pl2pm.PL ../config.sh |
774d564b |
45 | |
84902520 |
46 | splain: splain.PL ../config.sh ../lib/diagnostics.pm |
5f05dabc |
47 | |
b295d113 |
48 | perlcc: perlcc.PL ../config.sh |
49 | |
95667ae4 |
50 | dprofpp: dprofpp.PL ../config.sh |
51 | |
406c51ee |
52 | libnetcfg: libnetcfg.PL ../config.sh |
53 | |
3e06bf43 |
54 | piconv: piconv.PL ../config.sh |
55 | |
5d437a65 |
56 | enc2xs: enc2xs.PL ../config.sh |
57 | |
1756d26f |
58 | clean: |
59 | |
60 | realclean: |
52cebf5e |
61 | rm -rf $(plextract) pstruct $(plextractexe) |
bb0110d4 |
62 | rm -f ../t/_h2ph_pre.ph |
1756d26f |
63 | |
64 | clobber: realclean |
65 | |
66 | distclean: clobber |
2edbd6da |
67 | |
68 | veryclean: distclean |
69 | -rm -f *~ *.org |