/[fuse_dbi]/trunk/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9 - (show annotations)
Sat Aug 7 19:06:03 2004 UTC (18 years, 4 months ago) by dpavlin
File size: 20186 byte(s)
move code to Fuse::DBI module (probably broken now)

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

  ViewVC Help
Powered by ViewVC 1.1.26