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 | ||
95667ae4 | 8 | pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL |
9 | plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp | |
10 | plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe dprofpp.exe | |
1756d26f | 11 | |
52cebf5e | 12 | all: $(plextract) |
13 | ||
14 | compile: all | |
9636a016 | 15 | $(REALPERL) -I../lib perlcc -opt -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog; |
1756d26f | 16 | |
17 | $(plextract): | |
18 | $(PERL) -I../lib $@.PL | |
19 | ||
84902520 | 20 | c2ph: c2ph.PL ../config.sh |
774d564b | 21 | |
84902520 | 22 | h2ph: h2ph.PL ../config.sh |
774d564b | 23 | |
84902520 | 24 | h2xs: h2xs.PL ../config.sh |
32ea9a2a | 25 | |
84902520 | 26 | perlbug: perlbug.PL ../config.sh ../patchlevel.h |
774d564b | 27 | |
84902520 | 28 | perldoc: perldoc.PL ../config.sh |
774d564b | 29 | |
84902520 | 30 | pl2pm: pl2pm.PL ../config.sh |
774d564b | 31 | |
84902520 | 32 | splain: splain.PL ../config.sh ../lib/diagnostics.pm |
5f05dabc | 33 | |
b295d113 | 34 | perlcc: perlcc.PL ../config.sh |
35 | ||
95667ae4 | 36 | dprofpp: dprofpp.PL ../config.sh |
37 | ||
1756d26f | 38 | clean: |
39 | ||
40 | realclean: | |
52cebf5e | 41 | rm -rf $(plextract) pstruct $(plextractexe) |
bb0110d4 | 42 | rm -f ../t/_h2ph_pre.ph |
1756d26f | 43 | |
44 | clobber: realclean | |
45 | ||
46 | distclean: clobber |