root/Template-Provider-Encoding/trunk/Makefile

Revision 1733 (checked in by miyagawa, 14 years ago)

import

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