root/Encode-DoubleEncodedUTF8/trunk/Makefile.old

Revision 2162 (checked in by miyagawa, 13 years ago)

import

Line 
1 # This Makefile is for the Encode::DoubleEncodedUTF8 extension to perl.
2 #
3 # It was generated automatically by MakeMaker version
4 # 6.30 (Revision: Revision: 4535 ) from the contents of
5 # Makefile.PL. Don't edit this file, edit Makefile.PL instead.
6 #
7 #       ANY CHANGES MADE HERE WILL BE LOST!
8 #
9 #   MakeMaker ARGV: ()
10 #
11 #   MakeMaker Parameters:
12
13 #     ABSTRACT => q[Fix double encoded UTF-8 bytes to the correct one]
14 #     AUTHOR => q[Tatsuhiko Miyagawa <miyagawa@bulknews.net>]
15 #     DIR => []
16 #     DISTNAME => q[Encode-DoubleEncodedUTF8]
17 #     NAME => q[Encode::DoubleEncodedUTF8]
18 #     NO_META => q[1]
19 #     PL_FILES => {  }
20 #     PREREQ_PM => { Test::More=>q[0] }
21 #     VERSION => q[0.01]
22 #     dist => { PREOP=>q[$(PERL) -I. -MModule::Install::Admin -e "dist_preop(q($(DISTVNAME)))"] }
23
24 # --- MakeMaker post_initialize section:
25
26
27 # --- MakeMaker const_config section:
28
29 # These definitions are from config.sh (via /usr/lib/perl/5.8/Config.pm)
30
31 # They may have been overridden via Makefile.PL or on the command line
32 AR = ar
33 CC = cc
34 CCCDLFLAGS = -fPIC
35 CCDLFLAGS = -Wl,-E
36 DLEXT = so
37 DLSRC = dl_dlopen.xs
38 LD = cc
39 LDDLFLAGS = -shared -L/usr/local/lib
40 LDFLAGS =  -L/usr/local/lib
41 LIBC = /lib/libc-2.3.2.so
42 LIB_EXT = .a
43 OBJ_EXT = .o
44 OSNAME = linux
45 OSVERS = 2.6.15
46 RANLIB = :
47 SITELIBEXP = /usr/local/share/perl/5.8.4
48 SITEARCHEXP = /usr/local/lib/perl/5.8.4
49 SO = so
50 EXE_EXT =
51 FULL_AR = /usr/bin/ar
52 VENDORARCHEXP = /usr/lib/perl5
53 VENDORLIBEXP = /usr/share/perl5
54
55
56 # --- MakeMaker constants section:
57 AR_STATIC_ARGS = cr
58 DIRFILESEP = /
59 DFSEP = $(DIRFILESEP)
60 NAME = Encode::DoubleEncodedUTF8
61 NAME_SYM = Encode_DoubleEncodedUTF8
62 VERSION = 0.01
63 VERSION_MACRO = VERSION
64 VERSION_SYM = 0_01
65 DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
66 XS_VERSION = 0.01
67 XS_VERSION_MACRO = XS_VERSION
68 XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
69 INST_ARCHLIB = blib/arch
70 INST_SCRIPT = blib/script
71 INST_BIN = blib/bin
72 INST_LIB = blib/lib
73 INST_MAN1DIR = blib/man1
74 INST_MAN3DIR = blib/man3
75 MAN1EXT = 1p
76 MAN3EXT = 3pm
77 INSTALLDIRS = site
78 DESTDIR =
79 PREFIX = $(SITEPREFIX)
80 PERLPREFIX = /usr
81 SITEPREFIX = /usr/local
82 VENDORPREFIX = /usr
83 INSTALLPRIVLIB = /usr/share/perl/5.8
84 DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
85 INSTALLSITELIB = /usr/local/share/perl/5.8.4
86 DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
87 INSTALLVENDORLIB = /usr/share/perl5
88 DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
89 INSTALLARCHLIB = /usr/lib/perl/5.8
90 DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
91 INSTALLSITEARCH = /usr/local/lib/perl/5.8.4
92 DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
93 INSTALLVENDORARCH = /usr/lib/perl5
94 DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
95 INSTALLBIN = /usr/bin
96 DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
97 INSTALLSITEBIN = /usr/local/bin
98 DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
99 INSTALLVENDORBIN = /usr/bin
100 DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
101 INSTALLSCRIPT = /usr/bin
102 DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
103 INSTALLMAN1DIR = /usr/share/man/man1
104 DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
105 INSTALLSITEMAN1DIR = /usr/local/man/man1
106 DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
107 INSTALLVENDORMAN1DIR = /usr/share/man/man1
108 DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
109 INSTALLMAN3DIR = /usr/share/man/man3
110 DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
111 INSTALLSITEMAN3DIR = /usr/local/man/man3
112 DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
113 INSTALLVENDORMAN3DIR = /usr/share/man/man3
114 DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
115 PERL_LIB =
116 PERL_ARCHLIB = /usr/lib/perl/5.8
117 LIBPERL_A = libperl.a
118 FIRST_MAKEFILE = Makefile
119 MAKEFILE_OLD = Makefile.old
120 MAKE_APERL_FILE = Makefile.aperl
121 PERLMAINCC = $(CC)
122 PERL_INC = /usr/lib/perl/5.8/CORE
123 PERL = /usr/bin/perl "-Iinc"
124 FULLPERL = /usr/bin/perl "-Iinc"
125 ABSPERL = $(PERL)
126 PERLRUN = $(PERL)
127 FULLPERLRUN = $(FULLPERL)
128 ABSPERLRUN = $(ABSPERL)
129 PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-Iinc" "-I$(INST_LIB)"
130 FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-Iinc" "-I$(INST_LIB)"
131 ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-Iinc" "-I$(INST_LIB)"
132 PERL_CORE = 0
133 PERM_RW = 644
134 PERM_RWX = 755
135
136 MAKEMAKER   = /usr/local/share/perl/5.8.4/ExtUtils/MakeMaker.pm
137 MM_VERSION  = 6.30
138 MM_REVISION = Revision: 4535
139
140 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
141 # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
142 # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
143 # DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
144 FULLEXT = Encode/DoubleEncodedUTF8
145 BASEEXT = DoubleEncodedUTF8
146 PARENT_NAME = Encode
147 DLBASE = $(BASEEXT)
148 VERSION_FROM =
149 OBJECT =
150 LDFROM = $(OBJECT)
151 LINKTYPE = dynamic
152 BOOTDEP =
153
154 # Handy lists of source code files:
155 XS_FILES =
156 C_FILES  =
157 O_FILES  =
158 H_FILES  =
159 MAN1PODS =
160 MAN3PODS = lib/Encode/DoubleEncodedUTF8.pm
161
162 # Where is the Config information that we are using/depend on
163 CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
164
165 # Where to build things
166 INST_LIBDIR      = $(INST_LIB)/Encode
167 INST_ARCHLIBDIR  = $(INST_ARCHLIB)/Encode
168
169 INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
170 INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
171
172 INST_STATIC      =
173 INST_DYNAMIC     =
174 INST_BOOT        =
175
176 # Extra linker info
177 EXPORT_LIST        =
178 PERL_ARCHIVE       =
179 PERL_ARCHIVE_AFTER =
180
181
182 TO_INST_PM = lib/Encode/DoubleEncodedUTF8.pm
183
184 PM_TO_BLIB = lib/Encode/DoubleEncodedUTF8.pm \
185         blib/lib/Encode/DoubleEncodedUTF8.pm
186
187
188 # --- MakeMaker platform_constants section:
189 MM_Unix_VERSION = 1.50
190 PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
191
192
193 # --- MakeMaker tool_autosplit section:
194 # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
195 AUTOSPLITFILE = $(ABSPERLRUN)  -e 'use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)'
196
197
198
199 # --- MakeMaker tool_xsubpp section:
200
201
202 # --- MakeMaker tools_other section:
203 SHELL = /bin/sh
204 CHMOD = chmod
205 CP = cp
206 MV = mv
207 NOOP = $(SHELL) -c true
208 NOECHO = @
209 RM_F = rm -f
210 RM_RF = rm -rf
211 TEST_F = test -f
212 TOUCH = touch
213 UMASK_NULL = umask 0
214 DEV_NULL = > /dev/null 2>&1
215 MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath
216 EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime
217 ECHO = echo
218 ECHO_N = echo -n
219 UNINST = 0
220 VERBINST = 0
221 MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');'
222 DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
223 UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall
224 WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
225 MACROSTART =
226 MACROEND =
227 USEMAKEFILE = -f
228 FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)"
229
230
231 # --- MakeMaker makemakerdflt section:
232 makemakerdflt: all
233         $(NOECHO) $(NOOP)
234
235
236 # --- MakeMaker dist section:
237 TAR = tar
238 TARFLAGS = cvf
239 ZIP = zip
240 ZIPFLAGS = -r
241 COMPRESS = gzip --best
242 SUFFIX = .gz
243 SHAR = shar
244 PREOP = $(PERL) -I. -MModule::Install::Admin -e "dist_preop(q($(DISTVNAME)))"
245 POSTOP = $(NOECHO) $(NOOP)
246 TO_UNIX = $(NOECHO) $(NOOP)
247 CI = ci -u
248 RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
249 DIST_CP = best
250 DIST_DEFAULT = tardist
251 DISTNAME = Encode-DoubleEncodedUTF8
252 DISTVNAME = Encode-DoubleEncodedUTF8-0.01
253
254
255 # --- MakeMaker macro section:
256
257
258 # --- MakeMaker depend section:
259
260
261 # --- MakeMaker cflags section:
262
263
264 # --- MakeMaker const_loadlibs section:
265
266
267 # --- MakeMaker const_cccmd section:
268
269
270 # --- MakeMaker post_constants section:
271
272
273 # --- MakeMaker pasthru section:
274
275 PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
276         LINKTYPE="$(LINKTYPE)"\
277         PREFIX="$(PREFIX)"
278
279
280 # --- MakeMaker special_targets section:
281 .SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
282
283 .PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
284
285
286
287 # --- MakeMaker c_o section:
288
289
290 # --- MakeMaker xs_c section:
291
292
293 # --- MakeMaker xs_o section:
294
295
296 # --- MakeMaker top_targets section:
297 all :: pure_all manifypods
298         $(NOECHO) $(NOOP)
299
300
301 pure_all :: config pm_to_blib subdirs linkext
302         $(NOECHO) $(NOOP)
303
304 subdirs :: $(MYEXTLIB)
305         $(NOECHO) $(NOOP)
306
307 config :: $(FIRST_MAKEFILE) blibdirs
308         $(NOECHO) $(NOOP)
309
310 help :
311         perldoc ExtUtils::MakeMaker
312
313
314 # --- MakeMaker blibdirs section:
315 blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists
316         $(NOECHO) $(NOOP)
317
318 # Backwards compat with 6.18 through 6.25
319 blibdirs.ts : blibdirs
320         $(NOECHO) $(NOOP)
321
322 $(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
323         $(NOECHO) $(MKPATH) $(INST_LIBDIR)
324         $(NOECHO) $(CHMOD) 755 $(INST_LIBDIR)
325         $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
326
327 $(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
328         $(NOECHO) $(MKPATH) $(INST_ARCHLIB)
329         $(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB)
330         $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
331
332 $(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
333         $(NOECHO) $(MKPATH) $(INST_AUTODIR)
334         $(NOECHO) $(CHMOD) 755 $(INST_AUTODIR)
335         $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
336
337 $(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
338         $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
339         $(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR)
340         $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
341
342 $(INST_BIN)$(DFSEP).exists :: Makefile.PL
343         $(NOECHO) $(MKPATH) $(INST_BIN)
344         $(NOECHO) $(CHMOD) 755 $(INST_BIN)
345         $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
346
347 $(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
348         $(NOECHO) $(MKPATH) $(INST_SCRIPT)
349         $(NOECHO) $(CHMOD) 755 $(INST_SCRIPT)
350         $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
351
352 $(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
353         $(NOECHO) $(MKPATH) $(INST_MAN1DIR)
354         $(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR)
355         $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
356
357 $(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
358         $(NOECHO) $(MKPATH) $(INST_MAN3DIR)
359         $(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR)
360         $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
361
362
363
364 # --- MakeMaker linkext section:
365
366 linkext :: $(LINKTYPE)
367         $(NOECHO) $(NOOP)
368
369
370 # --- MakeMaker dlsyms section:
371
372
373 # --- MakeMaker dynamic section:
374
375 dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
376         $(NOECHO) $(NOOP)
377
378
379 # --- MakeMaker dynamic_bs section:
380
381 BOOTSTRAP =
382
383
384 # --- MakeMaker dynamic_lib section:
385
386
387 # --- MakeMaker static section:
388
389 ## $(INST_PM) has been moved to the all: target.
390 ## It remains here for awhile to allow for old usage: "make static"
391 static :: $(FIRST_MAKEFILE) $(INST_STATIC)
392         $(NOECHO) $(NOOP)
393
394
395 # --- MakeMaker static_lib section:
396
397
398 # --- MakeMaker manifypods section:
399
400 POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
401 POD2MAN = $(POD2MAN_EXE)
402
403
404 manifypods : pure_all  \
405         lib/Encode/DoubleEncodedUTF8.pm \
406         lib/Encode/DoubleEncodedUTF8.pm
407         $(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
408           lib/Encode/DoubleEncodedUTF8.pm $(INST_MAN3DIR)/Encode::DoubleEncodedUTF8.$(MAN3EXT)
409
410
411
412
413 # --- MakeMaker processPL section:
414
415
416 # --- MakeMaker installbin section:
417
418
419 # --- MakeMaker subdirs section:
420
421 # none
422
423 # --- MakeMaker clean_subdirs section:
424 clean_subdirs :
425         $(NOECHO) $(NOOP)
426
427
428 # --- MakeMaker clean section:
429
430 # Delete temporary files but do not touch installed files. We don't delete
431 # the Makefile here so a later make realclean still has a makefile to use.
432
433 clean :: clean_subdirs
434         - $(RM_F) \
435           *$(LIB_EXT) core \
436           core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
437           core.[0-9][0-9] $(BASEEXT).bso \
438           pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
439           $(BASEEXT).x $(BOOTSTRAP) \
440           perl$(EXE_EXT) tmon.out \
441           *$(OBJ_EXT) pm_to_blib \
442           $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
443           core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
444           core.*perl.*.? $(MAKE_APERL_FILE) \
445           perl $(BASEEXT).def \
446           core.[0-9][0-9][0-9] mon.out \
447           lib$(BASEEXT).def perlmain.c \
448           perl.exe so_locations \
449           $(BASEEXT).exp
450         - $(RM_RF) \
451           blib
452         - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
453
454
455 # --- MakeMaker realclean_subdirs section:
456 realclean_subdirs :
457         $(NOECHO) $(NOOP)
458
459
460 # --- MakeMaker realclean section:
461 # Delete temporary files (via clean) and also delete dist files
462 realclean purge ::  clean realclean_subdirs
463         - $(RM_F) \
464           $(MAKEFILE_OLD) $(FIRST_MAKEFILE)
465         - $(RM_RF) \
466           $(DISTVNAME)
467
468
469 # --- MakeMaker metafile section:
470 metafile:
471         $(NOECHO) $(NOOP)
472
473
474 # --- MakeMaker signature section:
475 signature :
476         cpansign -s
477
478
479 # --- MakeMaker dist_basics section:
480 distclean :: realclean distcheck
481         $(NOECHO) $(NOOP)
482
483 distcheck :
484         $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
485
486 skipcheck :
487         $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
488
489 manifest :
490         $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
491
492 veryclean : realclean
493         $(RM_F) *~ *.orig */*~ */*.orig
494
495
496
497 # --- MakeMaker dist_core section:
498
499 dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
500         $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
501           -e '    if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';'
502
503 tardist : $(DISTVNAME).tar$(SUFFIX)
504         $(NOECHO) $(NOOP)
505
506 uutardist : $(DISTVNAME).tar$(SUFFIX)
507         uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
508
509 $(DISTVNAME).tar$(SUFFIX) : distdir
510         $(PREOP)
511         $(TO_UNIX)
512         $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
513         $(RM_RF) $(DISTVNAME)
514         $(COMPRESS) $(DISTVNAME).tar
515         $(POSTOP)
516
517 zipdist : $(DISTVNAME).zip
518         $(NOECHO) $(NOOP)
519
520 $(DISTVNAME).zip : distdir
521         $(PREOP)
522         $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
523         $(RM_RF) $(DISTVNAME)
524         $(POSTOP)
525
526 shdist : distdir
527         $(PREOP)
528         $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
529         $(RM_RF) $(DISTVNAME)
530         $(POSTOP)
531
532
533 # --- MakeMaker distdir section:
534 create_distdir :
535         $(RM_RF) $(DISTVNAME)
536         $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
537                 -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
538
539 distdir : create_distdir 
540         $(NOECHO) $(NOOP)
541
542
543
544 # --- MakeMaker dist_test section:
545 disttest : distdir
546         cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
547         cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
548         cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
549
550
551
552 # --- MakeMaker dist_ci section:
553
554 ci :
555         $(PERLRUN) "-MExtUtils::Manifest=maniread" \
556           -e "@all = keys %{ maniread() };" \
557           -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
558           -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
559
560
561 # --- MakeMaker distmeta section:
562 distmeta : create_distdir metafile
563         $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
564           -e '    or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"'
565
566
567
568 # --- MakeMaker distsignature section:
569 distsignature : create_distdir
570         $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
571           -e '    or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"'
572         $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
573         cd $(DISTVNAME) && cpansign -s
574
575
576
577 # --- MakeMaker install section:
578
579 install :: all pure_install doc_install
580         $(NOECHO) $(NOOP)
581
582 install_perl :: all pure_perl_install doc_perl_install
583         $(NOECHO) $(NOOP)
584
585 install_site :: all pure_site_install doc_site_install
586         $(NOECHO) $(NOOP)
587
588 install_vendor :: all pure_vendor_install doc_vendor_install
589         $(NOECHO) $(NOOP)
590
591 pure_install :: pure_$(INSTALLDIRS)_install
592         $(NOECHO) $(NOOP)
593
594 doc_install :: doc_$(INSTALLDIRS)_install
595         $(NOECHO) $(NOOP)
596
597 pure__install : pure_site_install
598         $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
599
600 doc__install : doc_site_install
601         $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
602
603 pure_perl_install ::
604         $(NOECHO) $(MOD_INSTALL) \
605                 read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
606                 write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
607                 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
608                 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
609                 $(INST_BIN) $(DESTINSTALLBIN) \
610                 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
611                 $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
612                 $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
613         $(NOECHO) $(WARN_IF_OLD_PACKLIST) \
614                 $(SITEARCHEXP)/auto/$(FULLEXT)
615
616
617 pure_site_install ::
618         $(NOECHO) $(MOD_INSTALL) \
619                 read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
620                 write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
621                 $(INST_LIB) $(DESTINSTALLSITELIB) \
622                 $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
623                 $(INST_BIN) $(DESTINSTALLSITEBIN) \
624                 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
625                 $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
626                 $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
627         $(NOECHO) $(WARN_IF_OLD_PACKLIST) \
628                 $(PERL_ARCHLIB)/auto/$(FULLEXT)
629
630 pure_vendor_install ::
631         $(NOECHO) $(MOD_INSTALL) \
632                 read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
633                 write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
634                 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
635                 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
636                 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
637                 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
638                 $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
639                 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
640
641 doc_perl_install ::
642         $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
643         -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
644         -$(NOECHO) $(DOC_INSTALL) \
645                 "Module" "$(NAME)" \
646                 "installed into" "$(INSTALLPRIVLIB)" \
647                 LINKTYPE "$(LINKTYPE)" \
648                 VERSION "$(VERSION)" \
649                 EXE_FILES "$(EXE_FILES)" \
650                 >> $(DESTINSTALLARCHLIB)/perllocal.pod
651
652 doc_site_install ::
653         $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
654         -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
655         -$(NOECHO) $(DOC_INSTALL) \
656                 "Module" "$(NAME)" \
657                 "installed into" "$(INSTALLSITELIB)" \
658                 LINKTYPE "$(LINKTYPE)" \
659                 VERSION "$(VERSION)" \
660                 EXE_FILES "$(EXE_FILES)" \
661                 >> $(DESTINSTALLARCHLIB)/perllocal.pod
662
663 doc_vendor_install ::
664         $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
665         -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
666         -$(NOECHO) $(DOC_INSTALL) \
667                 "Module" "$(NAME)" \
668                 "installed into" "$(INSTALLVENDORLIB)" \
669                 LINKTYPE "$(LINKTYPE)" \
670                 VERSION "$(VERSION)" \
671                 EXE_FILES "$(EXE_FILES)" \
672                 >> $(DESTINSTALLARCHLIB)/perllocal.pod
673
674
675 uninstall :: uninstall_from_$(INSTALLDIRS)dirs
676         $(NOECHO) $(NOOP)
677
678 uninstall_from_perldirs ::
679         $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
680
681 uninstall_from_sitedirs ::
682         $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
683
684 uninstall_from_vendordirs ::
685         $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
686
687
688 # --- MakeMaker force section:
689 # Phony target to force checking subdirectories.
690 FORCE:
691         $(NOECHO) $(NOOP)
692
693
694 # --- MakeMaker perldepend section:
695
696
697 # --- MakeMaker makefile section:
698 # We take a very conservative approach here, but it's worth it.
699 # We move Makefile to Makefile.old here to avoid gnu make looping.
700 $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
701         $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
702         $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
703         -$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
704         -$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
705         - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
706         $(PERLRUN) Makefile.PL
707         $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
708         $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
709         false
710
711
712
713 # --- MakeMaker staticmake section:
714
715 # --- MakeMaker makeaperl section ---
716 MAP_TARGET    = perl
717 FULLPERL      = /usr/bin/perl
718
719 $(MAP_TARGET) :: static $(MAKE_APERL_FILE)
720         $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
721
722 $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
723         $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
724         $(NOECHO) $(PERLRUNINST) \
725                 Makefile.PL DIR= \
726                 MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
727                 MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
728
729
730 # --- MakeMaker test section:
731
732 TEST_VERBOSE=0
733 TEST_TYPE=test_$(LINKTYPE)
734 TEST_FILE = test.pl
735 TEST_FILES = t/*.t
736 TESTDB_SW = -d
737
738 testdb :: testdb_$(LINKTYPE)
739
740 test :: $(TEST_TYPE)
741
742 test_dynamic :: pure_all
743         PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), 'inc', '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
744
745 testdb_dynamic :: pure_all
746         PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-Iinc" "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
747
748 test_ : test_dynamic
749
750 test_static :: test_dynamic
751 testdb_static :: testdb_dynamic
752
753
754 # --- MakeMaker ppd section:
755 # Creates a PPD (Perl Package Description) for a binary distribution.
756 ppd:
757         $(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,01,0,0">' > $(DISTNAME).ppd
758         $(NOECHO) $(ECHO) '    <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME).ppd
759         $(NOECHO) $(ECHO) '    <ABSTRACT>Fix double encoded UTF-8 bytes to the correct one</ABSTRACT>' >> $(DISTNAME).ppd
760         $(NOECHO) $(ECHO) '    <AUTHOR>Tatsuhiko Miyagawa &lt;miyagawa@bulknews.net&gt;</AUTHOR>' >> $(DISTNAME).ppd
761         $(NOECHO) $(ECHO) '    <IMPLEMENTATION>' >> $(DISTNAME).ppd
762         $(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Test-More" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
763         $(NOECHO) $(ECHO) '        <OS NAME="$(OSNAME)" />' >> $(DISTNAME).ppd
764         $(NOECHO) $(ECHO) '        <ARCHITECTURE NAME="i386-linux-thread-multi" />' >> $(DISTNAME).ppd
765         $(NOECHO) $(ECHO) '        <CODEBASE HREF="" />' >> $(DISTNAME).ppd
766         $(NOECHO) $(ECHO) '    </IMPLEMENTATION>' >> $(DISTNAME).ppd
767         $(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
768
769
770 # --- MakeMaker pm_to_blib section:
771
772 pm_to_blib : $(TO_INST_PM)
773         $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')' \
774           lib/Encode/DoubleEncodedUTF8.pm blib/lib/Encode/DoubleEncodedUTF8.pm
775         $(NOECHO) $(TOUCH) pm_to_blib
776
777
778 # --- MakeMaker selfdocument section:
779
780
781 # --- MakeMaker postamble section:
782
783
784 # End.
785 # Postamble by Module::Install 0.64
786 # --- Module::Install::Admin::Makefile section:
787
788 realclean purge ::
789         $(RM_F) $(DISTVNAME).tar$(SUFFIX)
790         $(RM_RF) inc MANIFEST.bak _build
791         $(PERL) -I. -MModule::Install::Admin -e "remove_meta()"
792
793 reset :: purge
794
795 upload :: test dist
796         cpan-upload -verbose $(DISTVNAME).tar$(SUFFIX)
797
798 grok ::
799         perldoc Module::Install
800
801 distsign ::
802         cpansign -s
803
Note: See TracBrowser for help on using the browser.