This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied suggested patch, with win32 and PERL_OBJECT additions
[perl5.git] / utils / Makefile
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 h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL perlbc.PL
9 plextract  = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc perlbc
10 plextractexe  = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe perlbc.exe
11
12 all: $(plextract) 
13
14 compile: all
15         $(REALPERL) -I../lib perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog;
16
17 $(plextract):
18         $(PERL) -I../lib $@.PL
19
20 c2ph:           c2ph.PL ../config.sh
21
22 h2ph:           h2ph.PL ../config.sh
23
24 h2xs:           h2xs.PL ../config.sh
25
26 perlbug:        perlbug.PL ../config.sh ../patchlevel.h
27
28 perldoc:        perldoc.PL ../config.sh
29
30 pl2pm:          pl2pm.PL ../config.sh
31
32 splain:         splain.PL ../config.sh ../lib/diagnostics.pm
33
34 perlcc:         perlcc.PL ../config.sh
35
36 perlbc:         perlbc.PL ../config.sh
37
38 clean:
39
40 realclean:
41         rm -rf $(plextract) pstruct $(plextractexe)
42
43 clobber:        realclean
44
45 distclean:      clobber