root/Text-Emoticon-MSN/trunk/Makefile

Revision 1526 (checked in by miyagawa, 15 years ago)

import

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