This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[win32] merge change#1011 from maintbranch
[perl5.git] / utils / Makefile
CommitLineData
1756d26f 1
2PERL = ../miniperl
6ee623d5 3REALPERL = ../perl
1756d26f 4
5# Files to be built with variable substitution after miniperl is
6# available. Dependencies handled manually below (for now).
7
6ee623d5
GS
8pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL
9plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc
10plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe
1756d26f 11
6ee623d5
GS
12all: $(plextract)
13
14compile: all
15 $(REALPERL) -I../lib perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog;
1756d26f 16
17$(plextract):
18 $(PERL) -I../lib $@.PL
19
84902520 20c2ph: c2ph.PL ../config.sh
774d564b 21
84902520 22h2ph: h2ph.PL ../config.sh
774d564b 23
84902520 24h2xs: h2xs.PL ../config.sh
32ea9a2a 25
84902520 26perlbug: perlbug.PL ../config.sh ../patchlevel.h
774d564b 27
84902520 28perldoc: perldoc.PL ../config.sh
774d564b 29
84902520 30pl2pm: pl2pm.PL ../config.sh
774d564b 31
84902520 32splain: splain.PL ../config.sh ../lib/diagnostics.pm
5f05dabc 33
6ee623d5
GS
34perlcc: perlcc.PL ../config.sh
35
1756d26f 36clean:
37
38realclean:
6ee623d5 39 rm -rf $(plextract) pstruct $(plextractexe)
1756d26f 40
41clobber: realclean
42
43distclean: clobber