adjusted for simplified interface
[sepia.git] / Makefile
blob9ed25e24f4b1be2bc2c1e2c59efb8a2127c73d87
1 # This Makefile is for the Devel::Xref extension to perl.
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.
7 # ANY CHANGES MADE HERE WILL BE LOST!
9 # MakeMaker ARGV: ()
11 # MakeMaker Parameters:
13 # AUTHOR => q[Sean O'Rourke <seano@cpan.org>]
14 # NAME => q[Devel::Xref]
15 # PREREQ_PM => { Emacs::EPL=>q[0], Module::Info=>q[0], Data::Dumper=>q[0] }
16 # VERSION_FROM => q[Xref.pm]
18 # --- MakeMaker post_initialize section:
21 # --- MakeMaker const_config section:
23 # These definitions are from config.sh (via /usr/local/lib/perl5/5.8.3/darwin-thread-multi/Config.pm)
25 # They may have been overridden via Makefile.PL or on the command line
26 AR = ar
27 CC = cc
28 CCCDLFLAGS = -flat_namespace -bundle -fPIC
29 CCDLFLAGS =
30 DLEXT = bundle
31 DLSRC = dl_dyld.xs
32 LD = cc
33 LDDLFLAGS = -flat_namespace -bundle -undefined suppress -L/usr/local/lib -L/opt/local/lib -L/sw/lib
34 LDFLAGS = -flat_namespace -L/usr/local/lib -L/opt/local/lib -L/sw/lib
35 LIBC = /usr/lib/libc.dylib
36 LIB_EXT = .a
37 OBJ_EXT = .o
38 OSNAME = darwin
39 OSVERS = 6.8
40 RANLIB = /usr/bin/ar ts
41 SITELIBEXP = /usr/local/lib/perl5/site_perl/5.8.3
42 SITEARCHEXP = /usr/local/lib/perl5/site_perl/5.8.3/darwin-thread-multi
43 SO = dylib
44 EXE_EXT =
45 FULL_AR = /usr/bin/ar
46 VENDORARCHEXP =
47 VENDORLIBEXP =
50 # --- MakeMaker constants section:
51 AR_STATIC_ARGS = cr
52 DIRFILESEP = /
53 NAME = Devel::Xref
54 NAME_SYM = Devel_Xref
55 VERSION = 0.01
56 VERSION_MACRO = VERSION
57 VERSION_SYM = 0_01
58 DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
59 XS_VERSION = 0.01
60 XS_VERSION_MACRO = XS_VERSION
61 XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
62 INST_ARCHLIB = blib/arch
63 INST_SCRIPT = blib/script
64 INST_BIN = blib/bin
65 INST_LIB = blib/lib
66 INST_MAN1DIR = blib/man1
67 INST_MAN3DIR = blib/man3
68 MAN1EXT = 1
69 MAN3EXT = 3
70 INSTALLDIRS = site
71 DESTDIR =
72 PREFIX =
73 PERLPREFIX = /usr/local
74 SITEPREFIX = /usr/local
75 VENDORPREFIX =
76 INSTALLPRIVLIB = $(PERLPREFIX)/lib/perl5/5.8.3
77 DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
78 INSTALLSITELIB = $(SITEPREFIX)/lib/perl5/site_perl/5.8.3
79 DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
80 INSTALLVENDORLIB =
81 DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
82 INSTALLARCHLIB = $(PERLPREFIX)/lib/perl5/5.8.3/darwin-thread-multi
83 DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
84 INSTALLSITEARCH = $(SITEPREFIX)/lib/perl5/site_perl/5.8.3/darwin-thread-multi
85 DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
86 INSTALLVENDORARCH =
87 DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
88 INSTALLBIN = $(PERLPREFIX)/bin
89 DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
90 INSTALLSITEBIN = $(SITEPREFIX)/bin
91 DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
92 INSTALLVENDORBIN =
93 DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
94 INSTALLSCRIPT = $(PERLPREFIX)/bin
95 DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
96 INSTALLMAN1DIR = $(PERLPREFIX)/share/man/man1
97 DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
98 INSTALLSITEMAN1DIR = $(SITEPREFIX)/share/man/man1
99 DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
100 INSTALLVENDORMAN1DIR =
101 DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
102 INSTALLMAN3DIR = $(PERLPREFIX)/share/man/man3
103 DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
104 INSTALLSITEMAN3DIR = $(SITEPREFIX)/share/man/man3
105 DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
106 INSTALLVENDORMAN3DIR =
107 DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
108 PERL_LIB = /usr/local/lib/perl5/5.8.3
109 PERL_ARCHLIB = /usr/local/lib/perl5/5.8.3/darwin-thread-multi
110 LIBPERL_A = libperl.a
111 FIRST_MAKEFILE = Makefile
112 MAKEFILE_OLD = $(FIRST_MAKEFILE).old
113 MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl
114 PERLMAINCC = $(CC)
115 PERL_INC = /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE
116 PERL = /usr/local/bin/perl
117 FULLPERL = /usr/local/bin/perl
118 ABSPERL = $(PERL)
119 PERLRUN = $(PERL)
120 FULLPERLRUN = $(FULLPERL)
121 ABSPERLRUN = $(ABSPERL)
122 PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
123 FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
124 ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
125 PERL_CORE = 0
126 PERM_RW = 644
127 PERM_RWX = 755
129 MAKEMAKER = /usr/local/lib/perl5/5.8.3/ExtUtils/MakeMaker.pm
130 MM_VERSION = 6.17
131 MM_REVISION = 1.133
133 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
134 # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
135 # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
136 # DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
137 FULLEXT = Devel/Xref
138 BASEEXT = Xref
139 PARENT_NAME = Devel
140 DLBASE = $(BASEEXT)
141 VERSION_FROM = Xref.pm
142 OBJECT =
143 LDFROM = $(OBJECT)
144 LINKTYPE = dynamic
146 # Handy lists of source code files:
147 XS_FILES =
148 C_FILES =
149 O_FILES =
150 H_FILES =
151 MAN1PODS =
152 MAN3PODS = Xref.pm
154 # Where is the Config information that we are using/depend on
155 CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$(DIRFILESEP)config.h
157 # Where to build things
158 INST_LIBDIR = $(INST_LIB)/Devel
159 INST_ARCHLIBDIR = $(INST_ARCHLIB)/Devel
161 INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT)
162 INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
164 INST_STATIC =
165 INST_DYNAMIC =
166 INST_BOOT =
168 # Extra linker info
169 EXPORT_LIST =
170 PERL_ARCHIVE =
171 PERL_ARCHIVE_AFTER =
174 TO_INST_PM = Xref.pm
176 PM_TO_BLIB = Xref.pm \
177 $(INST_LIB)/Devel/Xref.pm
180 # --- MakeMaker platform_constants section:
181 MM_Unix_VERSION = 1.42
182 PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
185 # --- MakeMaker tool_autosplit section:
186 # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
187 AUTOSPLITFILE = $(PERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)'
191 # --- MakeMaker tool_xsubpp section:
194 # --- MakeMaker tools_other section:
195 SHELL = /bin/sh
196 CHMOD = chmod
197 CP = cp
198 MV = mv
199 NOOP = $(SHELL) -c true
200 NOECHO = @
201 RM_F = rm -f
202 RM_RF = rm -rf
203 TEST_F = test -f
204 TOUCH = touch
205 UMASK_NULL = umask 0
206 DEV_NULL = > /dev/null 2>&1
207 MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath
208 EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime
209 ECHO = echo
210 ECHO_N = echo -n
211 UNINST = 0
212 VERBINST = 0
213 MOD_INSTALL = $(PERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');'
214 DOC_INSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
215 UNINSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e uninstall
216 WARN_IF_OLD_PACKLIST = $(PERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
219 # --- MakeMaker makemakerdflt section:
220 makemakerdflt: all
221 $(NOECHO) $(NOOP)
224 # --- MakeMaker dist section:
225 TAR = tar
226 TARFLAGS = cvf
227 ZIP = zip
228 ZIPFLAGS = -r
229 COMPRESS = gzip --best
230 SUFFIX = .gz
231 SHAR = shar
232 PREOP = $(NOECHO) $(NOOP)
233 POSTOP = $(NOECHO) $(NOOP)
234 TO_UNIX = $(NOECHO) $(NOOP)
235 CI = ci -u
236 RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
237 DIST_CP = best
238 DIST_DEFAULT = tardist
239 DISTNAME = Devel-Xref
240 DISTVNAME = Devel-Xref-0.01
243 # --- MakeMaker macro section:
246 # --- MakeMaker depend section:
249 # --- MakeMaker cflags section:
252 # --- MakeMaker const_loadlibs section:
255 # --- MakeMaker const_cccmd section:
258 # --- MakeMaker post_constants section:
261 # --- MakeMaker pasthru section:
263 PASTHRU = LIB="$(LIB)"\
264 LIBPERL_A="$(LIBPERL_A)"\
265 LINKTYPE="$(LINKTYPE)"\
266 PREFIX="$(PREFIX)"\
267 OPTIMIZE="$(OPTIMIZE)"\
268 PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\
269 PASTHRU_INC="$(PASTHRU_INC)"
272 # --- MakeMaker special_targets section:
273 .SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
275 .PHONY: all config static dynamic test linkext manifest
279 # --- MakeMaker c_o section:
282 # --- MakeMaker xs_c section:
285 # --- MakeMaker xs_o section:
288 # --- MakeMaker top_targets section:
289 all :: pure_all manifypods
290 $(NOECHO) $(NOOP)
293 pure_all :: config pm_to_blib subdirs linkext
294 $(NOECHO) $(NOOP)
296 subdirs :: $(MYEXTLIB)
297 $(NOECHO) $(NOOP)
299 config :: $(FIRST_MAKEFILE) $(INST_LIBDIR)$(DIRFILESEP).exists
300 $(NOECHO) $(NOOP)
302 config :: $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
303 $(NOECHO) $(NOOP)
305 config :: $(INST_AUTODIR)$(DIRFILESEP).exists
306 $(NOECHO) $(NOOP)
308 $(INST_AUTODIR)/.exists :: /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h
309 $(NOECHO) $(MKPATH) $(INST_AUTODIR)
310 $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h $(INST_AUTODIR)/.exists
312 -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
314 $(INST_LIBDIR)/.exists :: /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h
315 $(NOECHO) $(MKPATH) $(INST_LIBDIR)
316 $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h $(INST_LIBDIR)/.exists
318 -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
320 $(INST_ARCHAUTODIR)/.exists :: /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h
321 $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
322 $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
324 -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
326 config :: $(INST_MAN3DIR)$(DIRFILESEP).exists
327 $(NOECHO) $(NOOP)
330 $(INST_MAN3DIR)/.exists :: /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h
331 $(NOECHO) $(MKPATH) $(INST_MAN3DIR)
332 $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/5.8.3/darwin-thread-multi/CORE/perl.h $(INST_MAN3DIR)/.exists
334 -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
336 help:
337 perldoc ExtUtils::MakeMaker
340 # --- MakeMaker linkext section:
342 linkext :: $(LINKTYPE)
343 $(NOECHO) $(NOOP)
346 # --- MakeMaker dlsyms section:
349 # --- MakeMaker dynamic section:
351 dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
352 $(NOECHO) $(NOOP)
355 # --- MakeMaker dynamic_bs section:
357 BOOTSTRAP =
360 # --- MakeMaker dynamic_lib section:
363 # --- MakeMaker static section:
365 ## $(INST_PM) has been moved to the all: target.
366 ## It remains here for awhile to allow for old usage: "make static"
367 static :: $(FIRST_MAKEFILE) $(INST_STATIC)
368 $(NOECHO) $(NOOP)
371 # --- MakeMaker static_lib section:
374 # --- MakeMaker manifypods section:
376 POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
377 POD2MAN = $(POD2MAN_EXE)
380 manifypods : pure_all \
381 Xref.pm \
382 Xref.pm
383 $(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW)\
384 Xref.pm $(INST_MAN3DIR)/Devel::Xref.$(MAN3EXT)
389 # --- MakeMaker processPL section:
392 # --- MakeMaker installbin section:
395 # --- MakeMaker subdirs section:
397 # none
399 # --- MakeMaker clean_subdirs section:
400 clean_subdirs :
401 $(NOECHO) $(NOOP)
404 # --- MakeMaker clean section:
406 # Delete temporary files but do not touch installed files. We don't delete
407 # the Makefile here so a later make realclean still has a makefile to use.
409 clean :: clean_subdirs
410 -$(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]
411 -$(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
414 # --- MakeMaker realclean_subdirs section:
415 realclean_subdirs :
416 $(NOECHO) $(NOOP)
419 # --- MakeMaker realclean section:
421 # Delete temporary files (via clean) and also delete installed files
422 realclean purge :: clean realclean_subdirs
423 $(RM_RF) $(INST_AUTODIR) $(INST_ARCHAUTODIR)
424 $(RM_RF) $(DISTVNAME)
425 $(RM_F) $(MAKEFILE_OLD) $(FIRST_MAKEFILE) $(INST_LIB)/Devel/Xref.pm
428 # --- MakeMaker metafile section:
429 metafile :
430 $(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-spec.html' > META.yml
431 $(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#' >> META.yml
432 $(NOECHO) $(ECHO) 'name: Devel-Xref' >> META.yml
433 $(NOECHO) $(ECHO) 'version: 0.01' >> META.yml
434 $(NOECHO) $(ECHO) 'version_from: Xref.pm' >> META.yml
435 $(NOECHO) $(ECHO) 'installdirs: site' >> META.yml
436 $(NOECHO) $(ECHO) 'requires:' >> META.yml
437 $(NOECHO) $(ECHO) ' Data::Dumper: 0' >> META.yml
438 $(NOECHO) $(ECHO) ' Emacs::EPL: 0' >> META.yml
439 $(NOECHO) $(ECHO) ' Module::Info: 0' >> META.yml
440 $(NOECHO) $(ECHO) '' >> META.yml
441 $(NOECHO) $(ECHO) 'distribution_type: module' >> META.yml
442 $(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.17' >> META.yml
445 # --- MakeMaker metafile_addtomanifest section:
446 metafile_addtomanifest:
447 $(NOECHO) $(PERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
448 -e ' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"'
451 # --- MakeMaker dist_basics section:
452 distclean :: realclean distcheck
453 $(NOECHO) $(NOOP)
455 distcheck :
456 $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
458 skipcheck :
459 $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
461 manifest :
462 $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
464 veryclean : realclean
465 $(RM_F) *~ *.orig */*~ */*.orig
469 # --- MakeMaker dist_core section:
471 dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
472 $(NOECHO) $(PERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
473 -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';'
475 tardist : $(DISTVNAME).tar$(SUFFIX)
476 $(NOECHO) $(NOOP)
478 uutardist : $(DISTVNAME).tar$(SUFFIX)
479 uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
481 $(DISTVNAME).tar$(SUFFIX) : distdir
482 $(PREOP)
483 $(TO_UNIX)
484 $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
485 $(RM_RF) $(DISTVNAME)
486 $(COMPRESS) $(DISTVNAME).tar
487 $(POSTOP)
489 zipdist : $(DISTVNAME).zip
490 $(NOECHO) $(NOOP)
492 $(DISTVNAME).zip : distdir
493 $(PREOP)
494 $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
495 $(RM_RF) $(DISTVNAME)
496 $(POSTOP)
498 shdist : distdir
499 $(PREOP)
500 $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
501 $(RM_RF) $(DISTVNAME)
502 $(POSTOP)
505 # --- MakeMaker distdir section:
506 distdir : metafile metafile_addtomanifest
507 $(RM_RF) $(DISTVNAME)
508 $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
509 -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
513 # --- MakeMaker dist_test section:
515 disttest : distdir
516 cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
517 cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
518 cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
521 # --- MakeMaker dist_ci section:
523 ci :
524 $(PERLRUN) "-MExtUtils::Manifest=maniread" \
525 -e "@all = keys %{ maniread() };" \
526 -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
527 -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
530 # --- MakeMaker install section:
532 install :: all pure_install doc_install
534 install_perl :: all pure_perl_install doc_perl_install
536 install_site :: all pure_site_install doc_site_install
538 install_vendor :: all pure_vendor_install doc_vendor_install
540 pure_install :: pure_$(INSTALLDIRS)_install
542 doc_install :: doc_$(INSTALLDIRS)_install
544 pure__install : pure_site_install
545 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
547 doc__install : doc_site_install
548 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
550 pure_perl_install ::
551 $(NOECHO) $(MOD_INSTALL) \
552 read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
553 write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
554 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
555 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
556 $(INST_BIN) $(DESTINSTALLBIN) \
557 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
558 $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
559 $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
560 $(NOECHO) $(WARN_IF_OLD_PACKLIST) \
561 $(SITEARCHEXP)/auto/$(FULLEXT)
564 pure_site_install ::
565 $(NOECHO) $(MOD_INSTALL) \
566 read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
567 write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
568 $(INST_LIB) $(DESTINSTALLSITELIB) \
569 $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
570 $(INST_BIN) $(DESTINSTALLSITEBIN) \
571 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
572 $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
573 $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
574 $(NOECHO) $(WARN_IF_OLD_PACKLIST) \
575 $(PERL_ARCHLIB)/auto/$(FULLEXT)
577 pure_vendor_install ::
578 $(NOECHO) $(MOD_INSTALL) \
579 read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
580 write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
581 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
582 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
583 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
584 $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
585 $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
586 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
588 doc_perl_install ::
589 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
590 -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
591 -$(NOECHO) $(DOC_INSTALL) \
592 "Module" "$(NAME)" \
593 "installed into" "$(INSTALLPRIVLIB)" \
594 LINKTYPE "$(LINKTYPE)" \
595 VERSION "$(VERSION)" \
596 EXE_FILES "$(EXE_FILES)" \
597 >> $(DESTINSTALLARCHLIB)/perllocal.pod
599 doc_site_install ::
600 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
601 -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
602 -$(NOECHO) $(DOC_INSTALL) \
603 "Module" "$(NAME)" \
604 "installed into" "$(INSTALLSITELIB)" \
605 LINKTYPE "$(LINKTYPE)" \
606 VERSION "$(VERSION)" \
607 EXE_FILES "$(EXE_FILES)" \
608 >> $(DESTINSTALLARCHLIB)/perllocal.pod
610 doc_vendor_install ::
611 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
612 -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
613 -$(NOECHO) $(DOC_INSTALL) \
614 "Module" "$(NAME)" \
615 "installed into" "$(INSTALLVENDORLIB)" \
616 LINKTYPE "$(LINKTYPE)" \
617 VERSION "$(VERSION)" \
618 EXE_FILES "$(EXE_FILES)" \
619 >> $(DESTINSTALLARCHLIB)/perllocal.pod
622 uninstall :: uninstall_from_$(INSTALLDIRS)dirs
624 uninstall_from_perldirs ::
625 $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
627 uninstall_from_sitedirs ::
628 $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
630 uninstall_from_vendordirs ::
631 $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
634 # --- MakeMaker force section:
635 # Phony target to force checking subdirectories.
636 FORCE:
637 $(NOECHO) $(NOOP)
640 # --- MakeMaker perldepend section:
643 # --- MakeMaker makefile section:
645 # We take a very conservative approach here, but it's worth it.
646 # We move Makefile to Makefile.old here to avoid gnu make looping.
647 $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
648 $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
649 $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
650 $(NOECHO) $(RM_F) $(MAKEFILE_OLD)
651 $(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
652 -$(MAKE) -f $(MAKEFILE_OLD) clean $(DEV_NULL) || $(NOOP)
653 $(PERLRUN) Makefile.PL
654 $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
655 $(NOECHO) $(ECHO) "==> Please rerun the make command. <=="
656 false
660 # --- MakeMaker staticmake section:
662 # --- MakeMaker makeaperl section ---
663 MAP_TARGET = perl
664 FULLPERL = /usr/local/bin/perl
666 $(MAP_TARGET) :: static $(MAKE_APERL_FILE)
667 $(MAKE) -f $(MAKE_APERL_FILE) $@
669 $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
670 $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
671 $(NOECHO) $(PERLRUNINST) \
672 Makefile.PL DIR= \
673 MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
674 MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
677 # --- MakeMaker test section:
679 TEST_VERBOSE=0
680 TEST_TYPE=test_$(LINKTYPE)
681 TEST_FILE = test.pl
682 TEST_FILES =
683 TESTDB_SW = -d
685 testdb :: testdb_$(LINKTYPE)
687 test :: $(TEST_TYPE)
689 test_dynamic :: pure_all
690 PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
692 testdb_dynamic :: pure_all
693 PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
695 test_ : test_dynamic
697 test_static :: test_dynamic
698 testdb_static :: testdb_dynamic
701 # --- MakeMaker ppd section:
702 # Creates a PPD (Perl Package Description) for a binary distribution.
703 ppd:
704 $(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,01,0,0">' > $(DISTNAME).ppd
705 $(NOECHO) $(ECHO) ' <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME).ppd
706 $(NOECHO) $(ECHO) ' <ABSTRACT></ABSTRACT>' >> $(DISTNAME).ppd
707 $(NOECHO) $(ECHO) ' <AUTHOR>Sean O'\''Rourke &lt;seano@cpan.org&gt;</AUTHOR>' >> $(DISTNAME).ppd
708 $(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> $(DISTNAME).ppd
709 $(NOECHO) $(ECHO) ' <DEPENDENCY NAME="Data-Dumper" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
710 $(NOECHO) $(ECHO) ' <DEPENDENCY NAME="Emacs-EPL" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
711 $(NOECHO) $(ECHO) ' <DEPENDENCY NAME="Module-Info" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
712 $(NOECHO) $(ECHO) ' <OS NAME="$(OSNAME)" />' >> $(DISTNAME).ppd
713 $(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="darwin-thread-multi" />' >> $(DISTNAME).ppd
714 $(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> $(DISTNAME).ppd
715 $(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> $(DISTNAME).ppd
716 $(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
719 # --- MakeMaker pm_to_blib section:
721 pm_to_blib: $(TO_INST_PM)
722 $(NOECHO) $(PERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')'\
723 Xref.pm $(INST_LIB)/Devel/Xref.pm
724 $(NOECHO) $(TOUCH) $@
726 # --- MakeMaker selfdocument section:
729 # --- MakeMaker postamble section:
732 # End.