Rename tied_handle_method() to tied_method(), and make it non-static.
[perl.git] / win32 / pod.mak
1 HTMLROOT = /    # Change this to fix cross-references in HTML
2 POD2HTML_ARGS = --htmlroot=$(HTMLROOT) \
3             --podroot=.. --podpath=pod:lib:ext:vms \
4             --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
5 POD2HTML = ../ext/Pod-Html/pod2html
6 POD2MAN = ../cpan/podlators/pod2man
7 POD2TEXT = ../cpan/podlators/pod2text
8 POD2LATEX = ../cpan/Pod-LaTeX/pod2latex
9 PODCHECKER = ../cpan/Pod-Parser/podchecker
10
11 all: html
12
13 PERL = ..\miniperl.exe
14 REALPERL = ..\perl.exe
15
16 ICWD = -I..\dist\Cwd
17
18 POD = \
19         perl.pod        \
20         perl5004delta.pod       \
21         perl5005delta.pod       \
22         perl5100delta.pod       \
23         perl5101delta.pod       \
24         perl5110delta.pod       \
25         perl5111delta.pod       \
26         perl5112delta.pod       \
27         perl5113delta.pod       \
28         perl5114delta.pod       \
29         perl5115delta.pod       \
30         perl5120delta.pod       \
31         perl5121delta.pod       \
32         perl5122delta.pod       \
33         perl5130delta.pod       \
34         perl5131delta.pod       \
35         perl5132delta.pod       \
36         perl5133delta.pod       \
37         perl5134delta.pod       \
38         perl5135delta.pod       \
39         perl5136delta.pod       \
40         perl5137delta.pod       \
41         perl5138delta.pod       \
42         perl5139delta.pod       \
43         perl561delta.pod        \
44         perl56delta.pod \
45         perl570delta.pod        \
46         perl571delta.pod        \
47         perl572delta.pod        \
48         perl573delta.pod        \
49         perl581delta.pod        \
50         perl582delta.pod        \
51         perl583delta.pod        \
52         perl584delta.pod        \
53         perl585delta.pod        \
54         perl586delta.pod        \
55         perl587delta.pod        \
56         perl588delta.pod        \
57         perl589delta.pod        \
58         perl58delta.pod \
59         perl590delta.pod        \
60         perl591delta.pod        \
61         perl592delta.pod        \
62         perl593delta.pod        \
63         perl594delta.pod        \
64         perl595delta.pod        \
65         perlapi.pod     \
66         perlapio.pod    \
67         perlartistic.pod        \
68         perlbook.pod    \
69         perlboot.pod    \
70         perlbot.pod     \
71         perlcall.pod    \
72         perlcheat.pod   \
73         perlclib.pod    \
74         perlcommunity.pod       \
75         perlcompile.pod \
76         perldata.pod    \
77         perldbmfilter.pod       \
78         perldebguts.pod \
79         perldebtut.pod  \
80         perldebug.pod   \
81         perldelta.pod   \
82         perldiag.pod    \
83         perldoc.pod     \
84         perldsc.pod     \
85         perlebcdic.pod  \
86         perlembed.pod   \
87         perlfaq.pod     \
88         perlfaq1.pod    \
89         perlfaq2.pod    \
90         perlfaq3.pod    \
91         perlfaq4.pod    \
92         perlfaq5.pod    \
93         perlfaq6.pod    \
94         perlfaq7.pod    \
95         perlfaq8.pod    \
96         perlfaq9.pod    \
97         perlfilter.pod  \
98         perlfork.pod    \
99         perlform.pod    \
100         perlfunc.pod    \
101         perlglossary.pod        \
102         perlgpl.pod     \
103         perlguts.pod    \
104         perlhack.pod    \
105         perlhist.pod    \
106         perlintern.pod  \
107         perlintro.pod   \
108         perliol.pod     \
109         perlipc.pod     \
110         perllexwarn.pod \
111         perllocale.pod  \
112         perllol.pod     \
113         perlmod.pod     \
114         perlmodinstall.pod      \
115         perlmodlib.pod  \
116         perlmodstyle.pod        \
117         perlmroapi.pod  \
118         perlnewmod.pod  \
119         perlnumber.pod  \
120         perlobj.pod     \
121         perlop.pod      \
122         perlopentut.pod \
123         perlpacktut.pod \
124         perlperf.pod    \
125         perlpod.pod     \
126         perlpodspec.pod \
127         perlpodstyle.pod        \
128         perlpolicy.pod  \
129         perlport.pod    \
130         perlpragma.pod  \
131         perlre.pod      \
132         perlreapi.pod   \
133         perlrebackslash.pod     \
134         perlrecharclass.pod     \
135         perlref.pod     \
136         perlreftut.pod  \
137         perlreguts.pod  \
138         perlrepository.pod      \
139         perlrequick.pod \
140         perlreref.pod   \
141         perlretut.pod   \
142         perlrun.pod     \
143         perlsec.pod     \
144         perlstyle.pod   \
145         perlsub.pod     \
146         perlsyn.pod     \
147         perlthrtut.pod  \
148         perltie.pod     \
149         perltoc.pod     \
150         perltodo.pod    \
151         perltooc.pod    \
152         perltoot.pod    \
153         perltrap.pod    \
154         perlunicode.pod \
155         perlunifaq.pod  \
156         perluniintro.pod        \
157         perluniprops.pod        \
158         perlunitut.pod  \
159         perlutil.pod    \
160         perlvar.pod     \
161         perlvms.pod     \
162         perlxs.pod      \
163         perlxstut.pod   
164
165 MAN = \
166         perl.man        \
167         perl5004delta.man       \
168         perl5005delta.man       \
169         perl5100delta.man       \
170         perl5101delta.man       \
171         perl5110delta.man       \
172         perl5111delta.man       \
173         perl5112delta.man       \
174         perl5113delta.man       \
175         perl5114delta.man       \
176         perl5115delta.man       \
177         perl5120delta.man       \
178         perl5121delta.man       \
179         perl5122delta.man       \
180         perl5130delta.man       \
181         perl5131delta.man       \
182         perl5132delta.man       \
183         perl5133delta.man       \
184         perl5134delta.man       \
185         perl5135delta.man       \
186         perl5136delta.man       \
187         perl5137delta.man       \
188         perl5138delta.man       \
189         perl5139delta.man       \
190         perl561delta.man        \
191         perl56delta.man \
192         perl570delta.man        \
193         perl571delta.man        \
194         perl572delta.man        \
195         perl573delta.man        \
196         perl581delta.man        \
197         perl582delta.man        \
198         perl583delta.man        \
199         perl584delta.man        \
200         perl585delta.man        \
201         perl586delta.man        \
202         perl587delta.man        \
203         perl588delta.man        \
204         perl589delta.man        \
205         perl58delta.man \
206         perl590delta.man        \
207         perl591delta.man        \
208         perl592delta.man        \
209         perl593delta.man        \
210         perl594delta.man        \
211         perl595delta.man        \
212         perlapi.man     \
213         perlapio.man    \
214         perlartistic.man        \
215         perlbook.man    \
216         perlboot.man    \
217         perlbot.man     \
218         perlcall.man    \
219         perlcheat.man   \
220         perlclib.man    \
221         perlcommunity.man       \
222         perlcompile.man \
223         perldata.man    \
224         perldbmfilter.man       \
225         perldebguts.man \
226         perldebtut.man  \
227         perldebug.man   \
228         perldelta.man   \
229         perldiag.man    \
230         perldoc.man     \
231         perldsc.man     \
232         perlebcdic.man  \
233         perlembed.man   \
234         perlfaq.man     \
235         perlfaq1.man    \
236         perlfaq2.man    \
237         perlfaq3.man    \
238         perlfaq4.man    \
239         perlfaq5.man    \
240         perlfaq6.man    \
241         perlfaq7.man    \
242         perlfaq8.man    \
243         perlfaq9.man    \
244         perlfilter.man  \
245         perlfork.man    \
246         perlform.man    \
247         perlfunc.man    \
248         perlglossary.man        \
249         perlgpl.man     \
250         perlguts.man    \
251         perlhack.man    \
252         perlhist.man    \
253         perlintern.man  \
254         perlintro.man   \
255         perliol.man     \
256         perlipc.man     \
257         perllexwarn.man \
258         perllocale.man  \
259         perllol.man     \
260         perlmod.man     \
261         perlmodinstall.man      \
262         perlmodlib.man  \
263         perlmodstyle.man        \
264         perlmroapi.man  \
265         perlnewmod.man  \
266         perlnumber.man  \
267         perlobj.man     \
268         perlop.man      \
269         perlopentut.man \
270         perlpacktut.man \
271         perlperf.man    \
272         perlpod.man     \
273         perlpodspec.man \
274         perlpodstyle.man        \
275         perlpolicy.man  \
276         perlport.man    \
277         perlpragma.man  \
278         perlre.man      \
279         perlreapi.man   \
280         perlrebackslash.man     \
281         perlrecharclass.man     \
282         perlref.man     \
283         perlreftut.man  \
284         perlreguts.man  \
285         perlrepository.man      \
286         perlrequick.man \
287         perlreref.man   \
288         perlretut.man   \
289         perlrun.man     \
290         perlsec.man     \
291         perlstyle.man   \
292         perlsub.man     \
293         perlsyn.man     \
294         perlthrtut.man  \
295         perltie.man     \
296         perltoc.man     \
297         perltodo.man    \
298         perltooc.man    \
299         perltoot.man    \
300         perltrap.man    \
301         perlunicode.man \
302         perlunifaq.man  \
303         perluniintro.man        \
304         perluniprops.man        \
305         perlunitut.man  \
306         perlutil.man    \
307         perlvar.man     \
308         perlvms.man     \
309         perlxs.man      \
310         perlxstut.man   
311
312 HTML = \
313         perl.html       \
314         perl5004delta.html      \
315         perl5005delta.html      \
316         perl5100delta.html      \
317         perl5101delta.html      \
318         perl5110delta.html      \
319         perl5111delta.html      \
320         perl5112delta.html      \
321         perl5113delta.html      \
322         perl5114delta.html      \
323         perl5115delta.html      \
324         perl5120delta.html      \
325         perl5121delta.html      \
326         perl5122delta.html      \
327         perl5130delta.html      \
328         perl5131delta.html      \
329         perl5132delta.html      \
330         perl5133delta.html      \
331         perl5134delta.html      \
332         perl5135delta.html      \
333         perl5136delta.html      \
334         perl5137delta.html      \
335         perl5138delta.html      \
336         perl5139delta.html      \
337         perl561delta.html       \
338         perl56delta.html        \
339         perl570delta.html       \
340         perl571delta.html       \
341         perl572delta.html       \
342         perl573delta.html       \
343         perl581delta.html       \
344         perl582delta.html       \
345         perl583delta.html       \
346         perl584delta.html       \
347         perl585delta.html       \
348         perl586delta.html       \
349         perl587delta.html       \
350         perl588delta.html       \
351         perl589delta.html       \
352         perl58delta.html        \
353         perl590delta.html       \
354         perl591delta.html       \
355         perl592delta.html       \
356         perl593delta.html       \
357         perl594delta.html       \
358         perl595delta.html       \
359         perlapi.html    \
360         perlapio.html   \
361         perlartistic.html       \
362         perlbook.html   \
363         perlboot.html   \
364         perlbot.html    \
365         perlcall.html   \
366         perlcheat.html  \
367         perlclib.html   \
368         perlcommunity.html      \
369         perlcompile.html        \
370         perldata.html   \
371         perldbmfilter.html      \
372         perldebguts.html        \
373         perldebtut.html \
374         perldebug.html  \
375         perldelta.html  \
376         perldiag.html   \
377         perldoc.html    \
378         perldsc.html    \
379         perlebcdic.html \
380         perlembed.html  \
381         perlfaq.html    \
382         perlfaq1.html   \
383         perlfaq2.html   \
384         perlfaq3.html   \
385         perlfaq4.html   \
386         perlfaq5.html   \
387         perlfaq6.html   \
388         perlfaq7.html   \
389         perlfaq8.html   \
390         perlfaq9.html   \
391         perlfilter.html \
392         perlfork.html   \
393         perlform.html   \
394         perlfunc.html   \
395         perlglossary.html       \
396         perlgpl.html    \
397         perlguts.html   \
398         perlhack.html   \
399         perlhist.html   \
400         perlintern.html \
401         perlintro.html  \
402         perliol.html    \
403         perlipc.html    \
404         perllexwarn.html        \
405         perllocale.html \
406         perllol.html    \
407         perlmod.html    \
408         perlmodinstall.html     \
409         perlmodlib.html \
410         perlmodstyle.html       \
411         perlmroapi.html \
412         perlnewmod.html \
413         perlnumber.html \
414         perlobj.html    \
415         perlop.html     \
416         perlopentut.html        \
417         perlpacktut.html        \
418         perlperf.html   \
419         perlpod.html    \
420         perlpodspec.html        \
421         perlpodstyle.html       \
422         perlpolicy.html \
423         perlport.html   \
424         perlpragma.html \
425         perlre.html     \
426         perlreapi.html  \
427         perlrebackslash.html    \
428         perlrecharclass.html    \
429         perlref.html    \
430         perlreftut.html \
431         perlreguts.html \
432         perlrepository.html     \
433         perlrequick.html        \
434         perlreref.html  \
435         perlretut.html  \
436         perlrun.html    \
437         perlsec.html    \
438         perlstyle.html  \
439         perlsub.html    \
440         perlsyn.html    \
441         perlthrtut.html \
442         perltie.html    \
443         perltodo.html   \
444         perltooc.html   \
445         perltoot.html   \
446         perltrap.html   \
447         perlunicode.html        \
448         perlunifaq.html \
449         perluniintro.html       \
450         perluniprops.html       \
451         perlunitut.html \
452         perlutil.html   \
453         perlvar.html    \
454         perlvms.html    \
455         perlxs.html     \
456         perlxstut.html  
457 # not perltoc.html
458
459 TEX = \
460         perl.tex        \
461         perl5004delta.tex       \
462         perl5005delta.tex       \
463         perl5100delta.tex       \
464         perl5101delta.tex       \
465         perl5110delta.tex       \
466         perl5111delta.tex       \
467         perl5112delta.tex       \
468         perl5113delta.tex       \
469         perl5114delta.tex       \
470         perl5115delta.tex       \
471         perl5120delta.tex       \
472         perl5121delta.tex       \
473         perl5122delta.tex       \
474         perl5130delta.tex       \
475         perl5131delta.tex       \
476         perl5132delta.tex       \
477         perl5133delta.tex       \
478         perl5134delta.tex       \
479         perl5135delta.tex       \
480         perl5136delta.tex       \
481         perl5137delta.tex       \
482         perl5138delta.tex       \
483         perl5139delta.tex       \
484         perl561delta.tex        \
485         perl56delta.tex \
486         perl570delta.tex        \
487         perl571delta.tex        \
488         perl572delta.tex        \
489         perl573delta.tex        \
490         perl581delta.tex        \
491         perl582delta.tex        \
492         perl583delta.tex        \
493         perl584delta.tex        \
494         perl585delta.tex        \
495         perl586delta.tex        \
496         perl587delta.tex        \
497         perl588delta.tex        \
498         perl589delta.tex        \
499         perl58delta.tex \
500         perl590delta.tex        \
501         perl591delta.tex        \
502         perl592delta.tex        \
503         perl593delta.tex        \
504         perl594delta.tex        \
505         perl595delta.tex        \
506         perlapi.tex     \
507         perlapio.tex    \
508         perlartistic.tex        \
509         perlbook.tex    \
510         perlboot.tex    \
511         perlbot.tex     \
512         perlcall.tex    \
513         perlcheat.tex   \
514         perlclib.tex    \
515         perlcommunity.tex       \
516         perlcompile.tex \
517         perldata.tex    \
518         perldbmfilter.tex       \
519         perldebguts.tex \
520         perldebtut.tex  \
521         perldebug.tex   \
522         perldelta.tex   \
523         perldiag.tex    \
524         perldoc.tex     \
525         perldsc.tex     \
526         perlebcdic.tex  \
527         perlembed.tex   \
528         perlfaq.tex     \
529         perlfaq1.tex    \
530         perlfaq2.tex    \
531         perlfaq3.tex    \
532         perlfaq4.tex    \
533         perlfaq5.tex    \
534         perlfaq6.tex    \
535         perlfaq7.tex    \
536         perlfaq8.tex    \
537         perlfaq9.tex    \
538         perlfilter.tex  \
539         perlfork.tex    \
540         perlform.tex    \
541         perlfunc.tex    \
542         perlglossary.tex        \
543         perlgpl.tex     \
544         perlguts.tex    \
545         perlhack.tex    \
546         perlhist.tex    \
547         perlintern.tex  \
548         perlintro.tex   \
549         perliol.tex     \
550         perlipc.tex     \
551         perllexwarn.tex \
552         perllocale.tex  \
553         perllol.tex     \
554         perlmod.tex     \
555         perlmodinstall.tex      \
556         perlmodlib.tex  \
557         perlmodstyle.tex        \
558         perlmroapi.tex  \
559         perlnewmod.tex  \
560         perlnumber.tex  \
561         perlobj.tex     \
562         perlop.tex      \
563         perlopentut.tex \
564         perlpacktut.tex \
565         perlperf.tex    \
566         perlpod.tex     \
567         perlpodspec.tex \
568         perlpodstyle.tex        \
569         perlpolicy.tex  \
570         perlport.tex    \
571         perlpragma.tex  \
572         perlre.tex      \
573         perlreapi.tex   \
574         perlrebackslash.tex     \
575         perlrecharclass.tex     \
576         perlref.tex     \
577         perlreftut.tex  \
578         perlreguts.tex  \
579         perlrepository.tex      \
580         perlrequick.tex \
581         perlreref.tex   \
582         perlretut.tex   \
583         perlrun.tex     \
584         perlsec.tex     \
585         perlstyle.tex   \
586         perlsub.tex     \
587         perlsyn.tex     \
588         perlthrtut.tex  \
589         perltie.tex     \
590         perltoc.tex     \
591         perltodo.tex    \
592         perltooc.tex    \
593         perltoot.tex    \
594         perltrap.tex    \
595         perlunicode.tex \
596         perlunifaq.tex  \
597         perluniintro.tex        \
598         perluniprops.tex        \
599         perlunitut.tex  \
600         perlutil.tex    \
601         perlvar.tex     \
602         perlvms.tex     \
603         perlxs.tex      \
604         perlxstut.tex   
605
606 man:    $(POD2MAN) $(MAN)
607
608 html:   $(POD2HTML) $(HTML)
609
610 tex:    $(POD2LATEX) $(TEX)
611
612 toc:
613         $(PERL) -I../lib buildtoc >perltoc.pod
614
615 .SUFFIXES: .pm .pod
616
617 .SUFFIXES: .man
618
619 .pm.man:
620         $(PERL) -I../lib $(POD2MAN) $*.pm >$*.man
621
622 .pod.man:
623         $(PERL) -I../lib $(POD2MAN) $*.pod >$*.man
624
625 .SUFFIXES: .html
626
627 .pm.html:
628         $(PERL) -I../lib $(POD2HTML) $(POD2HTML_ARGS) --infile=$*.pm --outfile=$*.html
629
630 .pod.html:
631         $(PERL) -I../lib $(POD2HTML) $(POD2HTML_ARGS) --infile=$*.pod --outfile=$*.html
632
633 .SUFFIXES: .tex
634
635 .pm.tex:
636         $(PERL) -I../lib $(POD2LATEX) $*.pm
637
638 .pod.tex:
639         $(PERL) -I../lib $(POD2LATEX) $*.pod
640
641 clean:
642         rm -f $(MAN)
643         rm -f $(HTML)
644         rm -f $(TEX)
645         rm -f pod2html-*cache
646         rm -f *.aux *.log *.exe
647
648 realclean:      clean
649
650 distclean:      realclean
651
652 check:  $(PODCHECKER)
653         @echo "checking..."; \
654         $(PERL) -I../lib $(PODCHECKER) $(POD)