Minor hints/linux.sh patch to allow setting -Doptimize
[perl.git] / utils / Makefile
1
2 PERL = ../miniperl
3 REALPERL = ../perl
4 RUN =   # Used mainly cross-compilation setups.
5
6
7 # Files to be built with variable substitution after miniperl is
8 # available.  Dependencies handled manually below (for now).
9
10 pl = c2ph.PL config_data.PL corelist.PL cpan.PL h2ph.PL h2xs.PL instmodsh.PL perlbug.PL perldoc.PL perlivp.PL pl2pm.PL prove.PL ptar.PL ptardiff.PL cpanp-run-perl.PL cpanp.PL cpan2dist.PL shasum.PL splain.PL dprofpp.PL libnetcfg.PL piconv.PL enc2xs.PL xsubpp.PL
11 plextract = c2ph config_data corelist cpan h2ph h2xs instmodsh perlbug perldoc perlivp pl2pm prove ptar ptardiff cpanp-run-perl cpanp cpan2dist shasum splain dprofpp libnetcfg piconv enc2xs xsubpp
12 plextractexe = ./c2ph ./config_data ./corelist ./cpan ./h2ph ./h2xs ./instmodsh ./perlbug ./perldoc ./perlivp ./pl2pm ./prove ./ptar ./ptardiff ./cpanp-run-perl ./cpanp ./cpan2dist ./shasum ./splain ./dprofpp ./libnetcfg ./piconv ./enc2xs ./xsubpp
13
14 all: $(plextract) 
15
16 $(plextract):
17         $(RUN) $(PERL) -I../lib $@.PL
18
19 c2ph:           c2ph.PL ../config.sh
20
21 cpan:           cpan.PL ../config.sh
22
23 config_data:    config_data.PL ../config.sh
24
25 corelist:       corelist.PL ../config.sh
26
27 h2ph:           h2ph.PL ../config.sh
28
29 h2xs:           h2xs.PL ../config.sh
30
31 instmodsh:      instmodsh.PL ../config.sh
32
33 perlbug:        perlbug.PL ../config.sh ../patchlevel.h
34
35 perldoc:        perldoc.PL ../config.sh
36
37 perlivp:        perlivp.PL ../config.sh
38
39 prove:          prove.PL ../config.sh
40
41 ptar:           ptar.PL ../config.sh
42
43 ptardiff:       ptardiff.PL ../config.sh
44
45 cpanp-run-perl: cpanp-run-perl.PL ../config.sh
46
47 cpanp:  cpanp.PL ../config.sh
48
49 cpan2dist:      cpan2dist.PL ../config.sh
50
51 pl2pm:          pl2pm.PL ../config.sh
52
53 shasum:         shasum.PL ../config.sh
54
55 splain:         splain.PL ../config.sh ../lib/diagnostics.pm
56
57 dprofpp:        dprofpp.PL ../config.sh
58
59 libnetcfg:      libnetcfg.PL ../config.sh
60
61 piconv:         piconv.PL ../config.sh
62
63 enc2xs:         enc2xs.PL ../config.sh
64
65 xsubpp:         xsubpp.PL ../config.sh
66
67 clean:
68
69 realclean:
70         rm -rf $(plextract) pstruct $(plextractexe)
71         rm -f ../t/_h2ph_pre.ph
72
73 clobber:        realclean
74
75 distclean:      clobber
76
77 veryclean:      distclean
78         -rm -f *~ *.org