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 | ||
406c51ee JH |
8 | pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL libnetcfg.PL |
9 | plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp libnetcfg | |
10 | plextractexe = ./c2ph ./h2ph ./h2xs ./perlbug ./perldoc ./pl2pm ./splain ./perlcc ./dprofpp ./libnetcfg | |
1756d26f | 11 | |
52cebf5e EP |
12 | all: $(plextract) |
13 | ||
e4f0d88d EP |
14 | compile: 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; | |
406c51ee | 24 | $(REALPERL) -I../lib perlcc libnetcfg -o libnetcfg.exe -v 10 -log ../compilelog; |
1756d26f | 25 | |
26 | $(plextract): | |
27 | $(PERL) -I../lib $@.PL | |
28 | ||
84902520 | 29 | c2ph: c2ph.PL ../config.sh |
774d564b | 30 | |
84902520 | 31 | h2ph: h2ph.PL ../config.sh |
774d564b | 32 | |
84902520 | 33 | h2xs: h2xs.PL ../config.sh |
32ea9a2a | 34 | |
84902520 | 35 | perlbug: perlbug.PL ../config.sh ../patchlevel.h |
774d564b | 36 | |
84902520 | 37 | perldoc: perldoc.PL ../config.sh |
774d564b | 38 | |
84902520 | 39 | pl2pm: pl2pm.PL ../config.sh |
774d564b | 40 | |
84902520 | 41 | splain: splain.PL ../config.sh ../lib/diagnostics.pm |
5f05dabc | 42 | |
b295d113 TH |
43 | perlcc: perlcc.PL ../config.sh |
44 | ||
95667ae4 GS |
45 | dprofpp: dprofpp.PL ../config.sh |
46 | ||
406c51ee JH |
47 | libnetcfg: libnetcfg.PL ../config.sh |
48 | ||
1756d26f | 49 | clean: |
50 | ||
51 | realclean: | |
52cebf5e | 52 | rm -rf $(plextract) pstruct $(plextractexe) |
bb0110d4 | 53 | rm -f ../t/_h2ph_pre.ph |
1756d26f | 54 | |
55 | clobber: realclean | |
56 | ||
57 | distclean: clobber | |
2edbd6da JH |
58 | |
59 | veryclean: distclean | |
60 | -rm -f *~ *.org |