| 1 |
|
|---|
| 2 | PERL = ../miniperl
|
|---|
| 3 | REALPERL = ../perl
|
|---|
| 4 |
|
|---|
| 5 | # Files to be built with variable substitution after miniperl is
|
|---|
| 6 | # available. Dependencies handled manually below (for now).
|
|---|
| 7 |
|
|---|
| 8 | pl = c2ph.PL cpan.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
|
|---|
| 9 | plextract = c2ph cpan h2ph h2xs instmodsh perlbug perldoc perlivp pl2pm prove splain perlcc dprofpp libnetcfg piconv enc2xs xsubpp
|
|---|
| 10 | plextractexe = ./c2ph ./cpan ./h2ph ./h2xs ./instmodsh ./perlbug ./perldoc ./perlivp ./pl2pm ./prove ./splain ./perlcc ./dprofpp ./libnetcfg ./piconv ./enc2xs ./xsubpp
|
|---|
| 11 |
|
|---|
| 12 | all: $(plextract)
|
|---|
| 13 |
|
|---|
| 14 | compile: all $(plextract)
|
|---|
| 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;
|
|---|
| 20 | $(REALPERL) -I../lib perlcc -I .. -L .. perlivp -o perlivp.exe -v 10 -log ../compilelog;
|
|---|
| 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;
|
|---|
| 26 |
|
|---|
| 27 | $(plextract):
|
|---|
| 28 | $(PERL) -I../lib $@.PL
|
|---|
| 29 |
|
|---|
| 30 | c2ph: c2ph.PL ../config.sh
|
|---|
| 31 |
|
|---|
| 32 | cpan: cpan.PL ../config.sh
|
|---|
| 33 |
|
|---|
| 34 | h2ph: h2ph.PL ../config.sh
|
|---|
| 35 |
|
|---|
| 36 | h2xs: h2xs.PL ../config.sh
|
|---|
| 37 |
|
|---|
| 38 | instmodsh: instmodsh.PL ../config.sh
|
|---|
| 39 |
|
|---|
| 40 | perlbug: perlbug.PL ../config.sh ../patchlevel.h
|
|---|
| 41 |
|
|---|
| 42 | perldoc: perldoc.PL ../config.sh
|
|---|
| 43 |
|
|---|
| 44 | perlivp: perlivp.PL ../config.sh
|
|---|
| 45 |
|
|---|
| 46 | prove: prove.PL ../config.sh
|
|---|
| 47 |
|
|---|
| 48 | pl2pm: pl2pm.PL ../config.sh
|
|---|
| 49 |
|
|---|
| 50 | splain: splain.PL ../config.sh ../lib/diagnostics.pm
|
|---|
| 51 |
|
|---|
| 52 | perlcc: perlcc.PL ../config.sh
|
|---|
| 53 |
|
|---|
| 54 | dprofpp: dprofpp.PL ../config.sh
|
|---|
| 55 |
|
|---|
| 56 | libnetcfg: libnetcfg.PL ../config.sh
|
|---|
| 57 |
|
|---|
| 58 | piconv: piconv.PL ../config.sh
|
|---|
| 59 |
|
|---|
| 60 | enc2xs: enc2xs.PL ../config.sh
|
|---|
| 61 |
|
|---|
| 62 | xsubpp: xsubpp.PL ../config.sh
|
|---|
| 63 |
|
|---|
| 64 | clean:
|
|---|
| 65 |
|
|---|
| 66 | realclean:
|
|---|
| 67 | rm -rf $(plextract) pstruct $(plextractexe)
|
|---|
| 68 | rm -f ../t/_h2ph_pre.ph
|
|---|
| 69 |
|
|---|
| 70 | clobber: realclean
|
|---|
| 71 |
|
|---|
| 72 | distclean: clobber
|
|---|
| 73 |
|
|---|
| 74 | veryclean: distclean
|
|---|
| 75 | -rm -f *~ *.org
|
|---|