1 # This Makefile is for the WWW::Rapidshare::Free extension to perl.
3 # It was generated automatically by MakeMaker version
4 # 6.42 (Revision: 41145) from the contents of
5 # Makefile.PL. Don't edit this file, edit Makefile.PL instead.
7 # ANY CHANGES MADE HERE WILL BE LOST!
11 # MakeMaker Parameters:
13 # ABSTRACT_FROM => q[lib/WWW/Rapidshare/Free.pm]
14 # AUTHOR => q[Alan Haggai Alavi <alanhaggai@alanhaggai.org>]
16 # NAME => q[WWW::Rapidshare::Free]
18 # PREREQ_PM => { HTML::Form=>q[0], Test::More=>q[0], HTML::Parser=>q[0], WWW::Mechanize=>q[0], Data::Validate::URI=>q[0] }
19 # VERSION_FROM => q[lib/WWW/Rapidshare/Free.pm]
20 # clean => { FILES=>q[WWW-Rapidshare-Free-*] }
21 # dist => { COMPRESS=>q[gzip -9f], SUFFIX=>q[gz] }
23 # --- MakeMaker post_initialize section:
26 # --- MakeMaker const_config section:
28 # These definitions are from config.sh (via /usr/lib/perl5/core_perl/Config.pm)
30 # They may have been overridden via Makefile.PL or on the command line
40 LDDLFLAGS
= -shared
-march
=i686
-mtune
=generic
-O2
-pipe
-L
/usr
/local
/lib
41 LDFLAGS
= -L
/usr
/local
/lib
42 LIBC
= /lib
/libc-2.8.so
48 SITELIBEXP
= /usr
/share
/perl5
/site_perl
/5.10.0
49 SITEARCHEXP
= /usr
/lib
/perl5
/site_perl
/5.10.0
51 VENDORARCHEXP
= /usr
/lib
/perl5
/vendor_perl
52 VENDORLIBEXP
= /usr
/share
/perl5
/vendor_perl
55 # --- MakeMaker constants section:
59 NAME
= WWW
::Rapidshare
::Free
60 NAME_SYM
= WWW_Rapidshare_Free
62 VERSION_MACRO
= VERSION
64 DEFINE_VERSION
= -D
$(VERSION_MACRO
)=\"$(VERSION
)\"
66 XS_VERSION_MACRO
= XS_VERSION
67 XS_DEFINE_VERSION
= -D
$(XS_VERSION_MACRO
)=\"$(XS_VERSION
)\"
68 INST_ARCHLIB
= blib
/arch
69 INST_SCRIPT
= blib
/script
72 INST_MAN1DIR
= blib
/man1
73 INST_MAN3DIR
= blib
/man3
78 PREFIX
= $(SITEPREFIX
)
82 INSTALLPRIVLIB
= /usr
/share
/perl5
/core_perl
83 DESTINSTALLPRIVLIB
= $(DESTDIR
)$(INSTALLPRIVLIB
)
84 INSTALLSITELIB
= /usr
/share
/perl5
/site_perl
/5.10.0
85 DESTINSTALLSITELIB
= $(DESTDIR
)$(INSTALLSITELIB
)
86 INSTALLVENDORLIB
= /usr
/share
/perl5
/vendor_perl
87 DESTINSTALLVENDORLIB
= $(DESTDIR
)$(INSTALLVENDORLIB
)
88 INSTALLARCHLIB
= /usr
/lib
/perl5
/core_perl
89 DESTINSTALLARCHLIB
= $(DESTDIR
)$(INSTALLARCHLIB
)
90 INSTALLSITEARCH
= /usr
/lib
/perl5
/site_perl
/5.10.0
91 DESTINSTALLSITEARCH
= $(DESTDIR
)$(INSTALLSITEARCH
)
92 INSTALLVENDORARCH
= /usr
/lib
/perl5
/vendor_perl
93 DESTINSTALLVENDORARCH
= $(DESTDIR
)$(INSTALLVENDORARCH
)
95 DESTINSTALLBIN
= $(DESTDIR
)$(INSTALLBIN
)
96 INSTALLSITEBIN
= /usr
/bin
97 DESTINSTALLSITEBIN
= $(DESTDIR
)$(INSTALLSITEBIN
)
98 INSTALLVENDORBIN
= /usr
/bin
99 DESTINSTALLVENDORBIN
= $(DESTDIR
)$(INSTALLVENDORBIN
)
100 INSTALLSCRIPT
= /usr
/bin
/perlbin
/core
101 DESTINSTALLSCRIPT
= $(DESTDIR
)$(INSTALLSCRIPT
)
102 INSTALLSITESCRIPT
= /usr
/bin
/perlbin
/site
103 DESTINSTALLSITESCRIPT
= $(DESTDIR
)$(INSTALLSITESCRIPT
)
104 INSTALLVENDORSCRIPT
= /usr
/bin
/perlbin
/vendor
105 DESTINSTALLVENDORSCRIPT
= $(DESTDIR
)$(INSTALLVENDORSCRIPT
)
106 INSTALLMAN1DIR
= /usr
/share
/man
/man1
107 DESTINSTALLMAN1DIR
= $(DESTDIR
)$(INSTALLMAN1DIR
)
108 INSTALLSITEMAN1DIR
= /usr
/share
/man
/man1
109 DESTINSTALLSITEMAN1DIR
= $(DESTDIR
)$(INSTALLSITEMAN1DIR
)
110 INSTALLVENDORMAN1DIR
= /usr
/share
/man
/man1
111 DESTINSTALLVENDORMAN1DIR
= $(DESTDIR
)$(INSTALLVENDORMAN1DIR
)
112 INSTALLMAN3DIR
= /usr
/share
/man
/man3
113 DESTINSTALLMAN3DIR
= $(DESTDIR
)$(INSTALLMAN3DIR
)
114 INSTALLSITEMAN3DIR
= /usr
/share
/man
/man3
115 DESTINSTALLSITEMAN3DIR
= $(DESTDIR
)$(INSTALLSITEMAN3DIR
)
116 INSTALLVENDORMAN3DIR
= /usr
/share
/man
/man3
117 DESTINSTALLVENDORMAN3DIR
= $(DESTDIR
)$(INSTALLVENDORMAN3DIR
)
118 PERL_LIB
= /usr
/share
/perl5
/core_perl
119 PERL_ARCHLIB
= /usr
/lib
/perl5
/core_perl
120 LIBPERL_A
= libperl.a
121 FIRST_MAKEFILE
= Makefile
122 MAKEFILE_OLD
= Makefile.old
123 MAKE_APERL_FILE
= Makefile.aperl
125 PERL_INC
= /usr
/lib
/perl5
/core_perl
/CORE
127 FULLPERL
= /usr
/bin
/perl
130 FULLPERLRUN
= $(FULLPERL
)
131 ABSPERLRUN
= $(ABSPERL
)
132 PERLRUNINST
= $(PERLRUN
) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
133 FULLPERLRUNINST
= $(FULLPERLRUN
) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
134 ABSPERLRUNINST
= $(ABSPERLRUN
) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
139 MAKEMAKER
= /usr
/share
/perl5
/core_perl
/ExtUtils
/MakeMaker.pm
143 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
144 # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
145 # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
146 # DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
148 FULLEXT
= WWW
/Rapidshare
/Free
150 PARENT_NAME
= WWW
::Rapidshare
152 VERSION_FROM
= lib
/WWW
/Rapidshare
/Free.pm
158 # Handy lists of source code files:
164 MAN3PODS
= lib
/WWW
/Rapidshare
/Free.pm
166 # Where is the Config information that we are using/depend on
167 CONFIGDEP
= $(PERL_ARCHLIB
)$(DFSEP
)Config.pm
$(PERL_INC
)$(DFSEP
)config.h
169 # Where to build things
170 INST_LIBDIR
= $(INST_LIB
)/WWW
/Rapidshare
171 INST_ARCHLIBDIR
= $(INST_ARCHLIB
)/WWW
/Rapidshare
173 INST_AUTODIR
= $(INST_LIB
)/auto
/$(FULLEXT
)
174 INST_ARCHAUTODIR
= $(INST_ARCHLIB
)/auto
/$(FULLEXT
)
186 TO_INST_PM
= lib
/WWW
/Rapidshare
/Free.pm
188 PM_TO_BLIB
= lib
/WWW
/Rapidshare
/Free.pm \
189 blib
/lib
/WWW
/Rapidshare
/Free.pm
192 # --- MakeMaker platform_constants section:
193 MM_Unix_VERSION
= 6.42
194 PERL_MALLOC_DEF
= -DPERL_EXTMALLOC_DEF
-Dmalloc
=Perl_malloc
-Dfree
=Perl_mfree
-Drealloc
=Perl_realloc
-Dcalloc
=Perl_calloc
197 # --- MakeMaker tool_autosplit section:
198 # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
199 AUTOSPLITFILE
= $(ABSPERLRUN
) -e
'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' --
203 # --- MakeMaker tool_xsubpp section:
206 # --- MakeMaker tools_other section:
211 NOOP
= $(SHELL
) -c true
218 DEV_NULL
= > /dev
/null
2>&1
219 MKPATH
= $(ABSPERLRUN
) "-MExtUtils::Command" -e mkpath
220 EQUALIZE_TIMESTAMP
= $(ABSPERLRUN
) "-MExtUtils::Command" -e eqtime
225 MOD_INSTALL
= $(ABSPERLRUN
) -MExtUtils
::Install
-e
'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');' --
226 DOC_INSTALL
= $(ABSPERLRUN
) "-MExtUtils::Command::MM" -e perllocal_install
227 UNINSTALL
= $(ABSPERLRUN
) "-MExtUtils::Command::MM" -e
uninstall
228 WARN_IF_OLD_PACKLIST
= $(ABSPERLRUN
) "-MExtUtils::Command::MM" -e warn_if_old_packlist
232 FIXIN
= $(PERLRUN
) "-MExtUtils::MY" -e
"MY->fixin(shift)"
235 # --- MakeMaker makemakerdflt section:
240 # --- MakeMaker dist section:
248 PREOP
= $(NOECHO
) $(NOOP
)
249 POSTOP
= $(NOECHO
) $(NOOP
)
250 TO_UNIX
= $(NOECHO
) $(NOOP
)
252 RCS_LABEL
= rcs
-Nv
$(VERSION_SYM
): -q
254 DIST_DEFAULT
= tardist
255 DISTNAME
= WWW-Rapidshare-Free
256 DISTVNAME
= WWW-Rapidshare-Free-0.01
259 # --- MakeMaker macro section:
262 # --- MakeMaker depend section:
265 # --- MakeMaker cflags section:
268 # --- MakeMaker const_loadlibs section:
271 # --- MakeMaker const_cccmd section:
274 # --- MakeMaker post_constants section:
277 # --- MakeMaker pasthru section:
279 PASTHRU
= LIBPERL_A
="$(LIBPERL_A)"\
280 LINKTYPE
="$(LINKTYPE)"\
284 # --- MakeMaker special_targets section:
285 .SUFFIXES
: .xs .c .C .
cpp .i .s .
cxx .
cc $(OBJ_EXT
)
287 .PHONY
: all config static dynamic
test linkext manifest blibdirs
clean realclean disttest distdir
291 # --- MakeMaker c_o section:
294 # --- MakeMaker xs_c section:
297 # --- MakeMaker xs_o section:
300 # --- MakeMaker top_targets section:
301 all :: pure_all manifypods
305 pure_all
:: config pm_to_blib subdirs linkext
308 subdirs
:: $(MYEXTLIB
)
311 config
:: $(FIRST_MAKEFILE
) blibdirs
315 perldoc ExtUtils
::MakeMaker
318 # --- MakeMaker blibdirs section:
319 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
322 # Backwards compat with 6.18 through 6.25
323 blibdirs.ts
: blibdirs
326 $(INST_LIBDIR
)$(DFSEP
).exists
:: Makefile.PL
327 $(NOECHO
) $(MKPATH
) $(INST_LIBDIR
)
328 $(NOECHO
) $(CHMOD
) 755 $(INST_LIBDIR
)
329 $(NOECHO
) $(TOUCH
) $(INST_LIBDIR
)$(DFSEP
).exists
331 $(INST_ARCHLIB
)$(DFSEP
).exists
:: Makefile.PL
332 $(NOECHO
) $(MKPATH
) $(INST_ARCHLIB
)
333 $(NOECHO
) $(CHMOD
) 755 $(INST_ARCHLIB
)
334 $(NOECHO
) $(TOUCH
) $(INST_ARCHLIB
)$(DFSEP
).exists
336 $(INST_AUTODIR
)$(DFSEP
).exists
:: Makefile.PL
337 $(NOECHO
) $(MKPATH
) $(INST_AUTODIR
)
338 $(NOECHO
) $(CHMOD
) 755 $(INST_AUTODIR
)
339 $(NOECHO
) $(TOUCH
) $(INST_AUTODIR
)$(DFSEP
).exists
341 $(INST_ARCHAUTODIR
)$(DFSEP
).exists
:: Makefile.PL
342 $(NOECHO
) $(MKPATH
) $(INST_ARCHAUTODIR
)
343 $(NOECHO
) $(CHMOD
) 755 $(INST_ARCHAUTODIR
)
344 $(NOECHO
) $(TOUCH
) $(INST_ARCHAUTODIR
)$(DFSEP
).exists
346 $(INST_BIN
)$(DFSEP
).exists
:: Makefile.PL
347 $(NOECHO
) $(MKPATH
) $(INST_BIN
)
348 $(NOECHO
) $(CHMOD
) 755 $(INST_BIN
)
349 $(NOECHO
) $(TOUCH
) $(INST_BIN
)$(DFSEP
).exists
351 $(INST_SCRIPT
)$(DFSEP
).exists
:: Makefile.PL
352 $(NOECHO
) $(MKPATH
) $(INST_SCRIPT
)
353 $(NOECHO
) $(CHMOD
) 755 $(INST_SCRIPT
)
354 $(NOECHO
) $(TOUCH
) $(INST_SCRIPT
)$(DFSEP
).exists
356 $(INST_MAN1DIR
)$(DFSEP
).exists
:: Makefile.PL
357 $(NOECHO
) $(MKPATH
) $(INST_MAN1DIR
)
358 $(NOECHO
) $(CHMOD
) 755 $(INST_MAN1DIR
)
359 $(NOECHO
) $(TOUCH
) $(INST_MAN1DIR
)$(DFSEP
).exists
361 $(INST_MAN3DIR
)$(DFSEP
).exists
:: Makefile.PL
362 $(NOECHO
) $(MKPATH
) $(INST_MAN3DIR
)
363 $(NOECHO
) $(CHMOD
) 755 $(INST_MAN3DIR
)
364 $(NOECHO
) $(TOUCH
) $(INST_MAN3DIR
)$(DFSEP
).exists
368 # --- MakeMaker linkext section:
370 linkext
:: $(LINKTYPE
)
374 # --- MakeMaker dlsyms section:
377 # --- MakeMaker dynamic section:
379 dynamic
:: $(FIRST_MAKEFILE
) $(INST_DYNAMIC
) $(INST_BOOT
)
383 # --- MakeMaker dynamic_bs section:
388 # --- MakeMaker dynamic_lib section:
391 # --- MakeMaker static section:
393 ## $(INST_PM) has been moved to the all: target.
394 ## It remains here for awhile to allow for old usage: "make static"
395 static
:: $(FIRST_MAKEFILE
) $(INST_STATIC
)
399 # --- MakeMaker static_lib section:
402 # --- MakeMaker manifypods section:
404 POD2MAN_EXE
= $(PERLRUN
) "-MExtUtils::Command::MM" -e pod2man
"--"
405 POD2MAN
= $(POD2MAN_EXE
)
408 manifypods
: pure_all \
409 lib
/WWW
/Rapidshare
/Free.pm
410 $(NOECHO
) $(POD2MAN
) --section
=3 --perm_rw
=$(PERM_RW
) \
411 lib
/WWW
/Rapidshare
/Free.pm
$(INST_MAN3DIR
)/WWW
::Rapidshare
::Free.
$(MAN3EXT
)
416 # --- MakeMaker processPL section:
419 # --- MakeMaker installbin section:
422 # --- MakeMaker subdirs section:
426 # --- MakeMaker clean_subdirs section:
431 # --- MakeMaker clean section:
433 # Delete temporary files but do not touch installed files. We don't delete
434 # the Makefile here so a later make realclean still has a makefile to use.
436 clean :: clean_subdirs
439 core.
[0-9] $(INST_ARCHAUTODIR
)/extralibs.
all \
440 core.
[0-9][0-9] $(BASEEXT
).bso \
441 pm_to_blib.ts core.
[0-9][0-9][0-9][0-9] \
442 $(BASEEXT
).x
$(BOOTSTRAP
) \
443 perl
$(EXE_EXT
) tmon.out \
444 *$(OBJ_EXT
) pm_to_blib \
445 $(INST_ARCHAUTODIR
)/extralibs.
ld blibdirs.ts \
446 core.
[0-9][0-9][0-9][0-9][0-9] *perl.core \
447 core.
*perl.
*.?
$(MAKE_APERL_FILE
) \
448 perl
$(BASEEXT
).def \
449 core.
[0-9][0-9][0-9] mon.out \
450 lib
$(BASEEXT
).def perlmain.c \
451 perl.exe so_locations \
454 WWW-Rapidshare-Free-
* blib
455 - $(MV
) $(FIRST_MAKEFILE
) $(MAKEFILE_OLD
) $(DEV_NULL
)
458 # --- MakeMaker realclean_subdirs section:
463 # --- MakeMaker realclean section:
464 # Delete temporary files (via clean) and also delete dist files
465 realclean purge
:: clean realclean_subdirs
467 $(MAKEFILE_OLD
) $(FIRST_MAKEFILE
)
472 # --- MakeMaker metafile section:
473 metafile
: create_distdir
474 $(NOECHO
) $(ECHO
) Generating META.yml
475 $(NOECHO
) $(ECHO
) '--- #YAML:1.0' > META_new.yml
476 $(NOECHO
) $(ECHO
) 'name: WWW-Rapidshare-Free' >> META_new.yml
477 $(NOECHO
) $(ECHO
) 'version: 0.01' >> META_new.yml
478 $(NOECHO
) $(ECHO
) 'abstract: Automates downloading from Rapidshare.com and checking links for free users' >> META_new.yml
479 $(NOECHO
) $(ECHO
) 'license: perl' >> META_new.yml
480 $(NOECHO
) $(ECHO
) 'author: ' >> META_new.yml
481 $(NOECHO
) $(ECHO
) ' - Alan Haggai Alavi <alanhaggai@alanhaggai.org>' >> META_new.yml
482 $(NOECHO
) $(ECHO
) 'generated_by: ExtUtils::MakeMaker version 6.42' >> META_new.yml
483 $(NOECHO
) $(ECHO
) 'distribution_type: module' >> META_new.yml
484 $(NOECHO
) $(ECHO
) 'requires: ' >> META_new.yml
485 $(NOECHO
) $(ECHO
) ' Data::Validate::URI: 0' >> META_new.yml
486 $(NOECHO
) $(ECHO
) ' HTML::Form: 0' >> META_new.yml
487 $(NOECHO
) $(ECHO
) ' HTML::Parser: 0' >> META_new.yml
488 $(NOECHO
) $(ECHO
) ' Test::More: 0' >> META_new.yml
489 $(NOECHO
) $(ECHO
) ' WWW::Mechanize: 0' >> META_new.yml
490 $(NOECHO
) $(ECHO
) 'meta-spec:' >> META_new.yml
491 $(NOECHO
) $(ECHO
) ' url: http://module-build.sourceforge.net/META-spec-v1.3.html' >> META_new.yml
492 $(NOECHO
) $(ECHO
) ' version: 1.3' >> META_new.yml
493 -$(NOECHO
) $(MV
) META_new.yml
$(DISTVNAME
)/META.yml
496 # --- MakeMaker signature section:
501 # --- MakeMaker dist_basics section:
502 distclean :: realclean distcheck
506 $(PERLRUN
) "-MExtUtils::Manifest=fullcheck" -e fullcheck
509 $(PERLRUN
) "-MExtUtils::Manifest=skipcheck" -e skipcheck
512 $(PERLRUN
) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
514 veryclean
: realclean
515 $(RM_F
) *~
*/*~
*.orig
*/*.orig
*.bak
*/*.bak
*.old
*/*.old
519 # --- MakeMaker dist_core section:
521 dist : $(DIST_DEFAULT
) $(FIRST_MAKEFILE
)
522 $(NOECHO
) $(ABSPERLRUN
) -l
-e
'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
523 -e
' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' --
525 tardist
: $(DISTVNAME
).
tar$(SUFFIX
)
528 uutardist
: $(DISTVNAME
).
tar$(SUFFIX
)
529 uuencode
$(DISTVNAME
).
tar$(SUFFIX
) $(DISTVNAME
).
tar$(SUFFIX
) > $(DISTVNAME
).
tar$(SUFFIX
)_uu
531 $(DISTVNAME
).
tar$(SUFFIX
) : distdir
534 $(TAR
) $(TARFLAGS
) $(DISTVNAME
).
tar $(DISTVNAME
)
535 $(RM_RF
) $(DISTVNAME
)
536 $(COMPRESS
) $(DISTVNAME
).
tar
539 zipdist
: $(DISTVNAME
).zip
542 $(DISTVNAME
).zip
: distdir
544 $(ZIP
) $(ZIPFLAGS
) $(DISTVNAME
).zip
$(DISTVNAME
)
545 $(RM_RF
) $(DISTVNAME
)
550 $(SHAR
) $(DISTVNAME
) > $(DISTVNAME
).
shar
551 $(RM_RF
) $(DISTVNAME
)
555 # --- MakeMaker distdir section:
557 $(RM_RF
) $(DISTVNAME
)
558 $(PERLRUN
) "-MExtUtils::Manifest=manicopy,maniread" \
559 -e
"manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
561 distdir
: create_distdir distmeta
566 # --- MakeMaker dist_test section:
568 cd
$(DISTVNAME
) && $(ABSPERLRUN
) Makefile.PL
569 cd
$(DISTVNAME
) && $(MAKE
) $(PASTHRU
)
570 cd
$(DISTVNAME
) && $(MAKE
) test $(PASTHRU
)
574 # --- MakeMaker dist_ci section:
577 $(PERLRUN
) "-MExtUtils::Manifest=maniread" \
578 -e
"@all = keys %{ maniread() };" \
579 -e
"print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
580 -e
"print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
583 # --- MakeMaker distmeta section:
584 distmeta
: create_distdir metafile
585 $(NOECHO
) cd
$(DISTVNAME
) && $(ABSPERLRUN
) -MExtUtils
::Manifest
=maniadd
-e
'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
586 -e
' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' --
590 # --- MakeMaker distsignature section:
591 distsignature
: create_distdir
592 $(NOECHO
) cd
$(DISTVNAME
) && $(ABSPERLRUN
) -MExtUtils
::Manifest
=maniadd
-e
'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
593 -e
' or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' --
594 $(NOECHO
) cd
$(DISTVNAME
) && $(TOUCH
) SIGNATURE
595 cd
$(DISTVNAME
) && cpansign
-s
599 # --- MakeMaker install section:
601 install :: all pure_install doc_install
604 install_perl
:: all pure_perl_install doc_perl_install
607 install_site
:: all pure_site_install doc_site_install
610 install_vendor
:: all pure_vendor_install doc_vendor_install
613 pure_install
:: pure_
$(INSTALLDIRS
)_install
616 doc_install
:: doc_
$(INSTALLDIRS
)_install
619 pure__install
: pure_site_install
620 $(NOECHO
) $(ECHO
) INSTALLDIRS not defined
, defaulting to INSTALLDIRS
=site
622 doc__install
: doc_site_install
623 $(NOECHO
) $(ECHO
) INSTALLDIRS not defined
, defaulting to INSTALLDIRS
=site
626 $(NOECHO
) $(MOD_INSTALL
) \
627 read
$(PERL_ARCHLIB
)/auto
/$(FULLEXT
)/.packlist \
628 write
$(DESTINSTALLARCHLIB
)/auto
/$(FULLEXT
)/.packlist \
629 $(INST_LIB
) $(DESTINSTALLPRIVLIB
) \
630 $(INST_ARCHLIB
) $(DESTINSTALLARCHLIB
) \
631 $(INST_BIN
) $(DESTINSTALLBIN
) \
632 $(INST_SCRIPT
) $(DESTINSTALLSCRIPT
) \
633 $(INST_MAN1DIR
) $(DESTINSTALLMAN1DIR
) \
634 $(INST_MAN3DIR
) $(DESTINSTALLMAN3DIR
)
635 $(NOECHO
) $(WARN_IF_OLD_PACKLIST
) \
636 $(SITEARCHEXP
)/auto
/$(FULLEXT
)
640 $(NOECHO
) $(MOD_INSTALL
) \
641 read
$(SITEARCHEXP
)/auto
/$(FULLEXT
)/.packlist \
642 write
$(DESTINSTALLSITEARCH
)/auto
/$(FULLEXT
)/.packlist \
643 $(INST_LIB
) $(DESTINSTALLSITELIB
) \
644 $(INST_ARCHLIB
) $(DESTINSTALLSITEARCH
) \
645 $(INST_BIN
) $(DESTINSTALLSITEBIN
) \
646 $(INST_SCRIPT
) $(DESTINSTALLSITESCRIPT
) \
647 $(INST_MAN1DIR
) $(DESTINSTALLSITEMAN1DIR
) \
648 $(INST_MAN3DIR
) $(DESTINSTALLSITEMAN3DIR
)
649 $(NOECHO
) $(WARN_IF_OLD_PACKLIST
) \
650 $(PERL_ARCHLIB
)/auto
/$(FULLEXT
)
652 pure_vendor_install
::
653 $(NOECHO
) $(MOD_INSTALL
) \
654 read
$(VENDORARCHEXP
)/auto
/$(FULLEXT
)/.packlist \
655 write
$(DESTINSTALLVENDORARCH
)/auto
/$(FULLEXT
)/.packlist \
656 $(INST_LIB
) $(DESTINSTALLVENDORLIB
) \
657 $(INST_ARCHLIB
) $(DESTINSTALLVENDORARCH
) \
658 $(INST_BIN
) $(DESTINSTALLVENDORBIN
) \
659 $(INST_SCRIPT
) $(DESTINSTALLVENDORSCRIPT
) \
660 $(INST_MAN1DIR
) $(DESTINSTALLVENDORMAN1DIR
) \
661 $(INST_MAN3DIR
) $(DESTINSTALLVENDORMAN3DIR
)
664 $(NOECHO
) $(ECHO
) Appending installation
info to
$(DESTINSTALLARCHLIB
)/perllocal.pod
665 -$(NOECHO
) $(MKPATH
) $(DESTINSTALLARCHLIB
)
666 -$(NOECHO
) $(DOC_INSTALL
) \
668 "installed into" "$(INSTALLPRIVLIB)" \
669 LINKTYPE
"$(LINKTYPE)" \
670 VERSION
"$(VERSION)" \
671 EXE_FILES
"$(EXE_FILES)" \
672 >> $(DESTINSTALLARCHLIB
)/perllocal.pod
675 $(NOECHO
) $(ECHO
) Appending installation
info to
$(DESTINSTALLARCHLIB
)/perllocal.pod
676 -$(NOECHO
) $(MKPATH
) $(DESTINSTALLARCHLIB
)
677 -$(NOECHO
) $(DOC_INSTALL
) \
679 "installed into" "$(INSTALLSITELIB)" \
680 LINKTYPE
"$(LINKTYPE)" \
681 VERSION
"$(VERSION)" \
682 EXE_FILES
"$(EXE_FILES)" \
683 >> $(DESTINSTALLARCHLIB
)/perllocal.pod
685 doc_vendor_install
::
686 $(NOECHO
) $(ECHO
) Appending installation
info to
$(DESTINSTALLARCHLIB
)/perllocal.pod
687 -$(NOECHO
) $(MKPATH
) $(DESTINSTALLARCHLIB
)
688 -$(NOECHO
) $(DOC_INSTALL
) \
690 "installed into" "$(INSTALLVENDORLIB)" \
691 LINKTYPE
"$(LINKTYPE)" \
692 VERSION
"$(VERSION)" \
693 EXE_FILES
"$(EXE_FILES)" \
694 >> $(DESTINSTALLARCHLIB
)/perllocal.pod
697 uninstall :: uninstall_from_
$(INSTALLDIRS
)dirs
700 uninstall_from_perldirs
::
701 $(NOECHO
) $(UNINSTALL
) $(PERL_ARCHLIB
)/auto
/$(FULLEXT
)/.packlist
703 uninstall_from_sitedirs
::
704 $(NOECHO
) $(UNINSTALL
) $(SITEARCHEXP
)/auto
/$(FULLEXT
)/.packlist
706 uninstall_from_vendordirs
::
707 $(NOECHO
) $(UNINSTALL
) $(VENDORARCHEXP
)/auto
/$(FULLEXT
)/.packlist
710 # --- MakeMaker force section:
711 # Phony target to force checking subdirectories.
716 # --- MakeMaker perldepend section:
719 # --- MakeMaker makefile section:
720 # We take a very conservative approach here, but it's worth it.
721 # We move Makefile to Makefile.old here to avoid gnu make looping.
722 $(FIRST_MAKEFILE
) : Makefile.PL
$(CONFIGDEP
)
723 $(NOECHO
) $(ECHO
) "Makefile out-of-date with respect to $?"
724 $(NOECHO
) $(ECHO
) "Cleaning current config before rebuilding Makefile..."
725 -$(NOECHO
) $(RM_F
) $(MAKEFILE_OLD
)
726 -$(NOECHO
) $(MV
) $(FIRST_MAKEFILE
) $(MAKEFILE_OLD
)
727 - $(MAKE
) $(USEMAKEFILE
) $(MAKEFILE_OLD
) clean $(DEV_NULL
)
728 $(PERLRUN
) Makefile.PL
729 $(NOECHO
) $(ECHO
) "==> Your Makefile has been rebuilt. <=="
730 $(NOECHO
) $(ECHO
) "==> Please rerun the $(MAKE) command. <=="
735 # --- MakeMaker staticmake section:
737 # --- MakeMaker makeaperl section ---
739 FULLPERL
= /usr
/bin
/perl
741 $(MAP_TARGET
) :: static
$(MAKE_APERL_FILE
)
742 $(MAKE
) $(USEMAKEFILE
) $(MAKE_APERL_FILE
) $@
744 $(MAKE_APERL_FILE
) : $(FIRST_MAKEFILE
) pm_to_blib
745 $(NOECHO
) $(ECHO
) Writing
\"$(MAKE_APERL_FILE
)\" for this
$(MAP_TARGET
)
746 $(NOECHO
) $(PERLRUNINST
) \
748 MAKEFILE
=$(MAKE_APERL_FILE
) LINKTYPE
=static \
749 MAKEAPERL
=1 NORECURS
=1 CCCDLFLAGS
=
752 # --- MakeMaker test section:
755 TEST_TYPE
=test_
$(LINKTYPE
)
760 testdb
:: testdb_
$(LINKTYPE
)
762 test :: $(TEST_TYPE
) subdirs-test
768 test_dynamic
:: pure_all
769 PERL_DL_NONLAZY
=1 $(FULLPERLRUN
) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES
)
771 testdb_dynamic
:: pure_all
772 PERL_DL_NONLAZY
=1 $(FULLPERLRUN
) $(TESTDB_SW
) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE
)
776 test_static
:: test_dynamic
777 testdb_static
:: testdb_dynamic
780 # --- MakeMaker ppd section:
781 # Creates a PPD (Perl Package Description) for a binary distribution.
783 $(NOECHO
) $(ECHO
) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,01,0,0">' > $(DISTNAME
).ppd
784 $(NOECHO
) $(ECHO
) ' <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME
).ppd
785 $(NOECHO
) $(ECHO
) ' <ABSTRACT>Automates downloading from Rapidshare.com and checking links for free users</ABSTRACT>' >> $(DISTNAME
).ppd
786 $(NOECHO
) $(ECHO
) ' <AUTHOR>Alan Haggai Alavi <alanhaggai@alanhaggai.org></AUTHOR>' >> $(DISTNAME
).ppd
787 $(NOECHO
) $(ECHO
) ' <IMPLEMENTATION>' >> $(DISTNAME
).ppd
788 $(NOECHO
) $(ECHO
) ' <DEPENDENCY NAME="Data-Validate-URI" VERSION="0,0,0,0" />' >> $(DISTNAME
).ppd
789 $(NOECHO
) $(ECHO
) ' <DEPENDENCY NAME="HTML-Form" VERSION="0,0,0,0" />' >> $(DISTNAME
).ppd
790 $(NOECHO
) $(ECHO
) ' <DEPENDENCY NAME="HTML-Parser" VERSION="0,0,0,0" />' >> $(DISTNAME
).ppd
791 $(NOECHO
) $(ECHO
) ' <DEPENDENCY NAME="Test-More" VERSION="0,0,0,0" />' >> $(DISTNAME
).ppd
792 $(NOECHO
) $(ECHO
) ' <DEPENDENCY NAME="WWW-Mechanize" VERSION="0,0,0,0" />' >> $(DISTNAME
).ppd
793 $(NOECHO
) $(ECHO
) ' <OS NAME="$(OSNAME)" />' >> $(DISTNAME
).ppd
794 $(NOECHO
) $(ECHO
) ' <ARCHITECTURE NAME="i686-linux-thread-multi-5.1" />' >> $(DISTNAME
).ppd
795 $(NOECHO
) $(ECHO
) ' <CODEBASE HREF="" />' >> $(DISTNAME
).ppd
796 $(NOECHO
) $(ECHO
) ' </IMPLEMENTATION>' >> $(DISTNAME
).ppd
797 $(NOECHO
) $(ECHO
) '</SOFTPKG>' >> $(DISTNAME
).ppd
800 # --- MakeMaker pm_to_blib section:
802 pm_to_blib
: $(TO_INST_PM
)
803 $(NOECHO
) $(ABSPERLRUN
) -MExtUtils
::Install
-e
'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')' -- \
804 lib
/WWW
/Rapidshare
/Free.pm blib
/lib
/WWW
/Rapidshare
/Free.pm
805 $(NOECHO
) $(TOUCH
) pm_to_blib
808 # --- MakeMaker selfdocument section:
811 # --- MakeMaker postamble section: