Showing 2 changed files with 948 additions and 46 deletions
+899
Makefile.old
... ...
@@ -0,0 +1,899 @@
1
+# This Makefile is for the DBIx::Custom extension to perl.
2
+#
3
+# It was generated automatically by MakeMaker version
4
+# 6.56 (Revision: 65600) 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
+
12
+#   MakeMaker Parameters:
13
+
14
+#     ABSTRACT_FROM => q[lib/DBIx/Custom.pm]
15
+#     AUTHOR => q[Yuki Kimoto <kimoto.yuki@gmail.com>]
16
+#     BUILD_REQUIRES => {  }
17
+#     LICENSE => q[perl]
18
+#     NAME => q[DBIx::Custom]
19
+#     PL_FILES => {  }
20
+#     PREREQ_PM => { Test::More=>q[0], Object::Simple=>q[3.0616], DBD::SQLite=>q[1.25], DBI=>q[1.605] }
21
+#     VERSION_FROM => q[lib/DBIx/Custom.pm]
22
+#     clean => { FILES=>q[DBIx-Custom-*] }
23
+#     dist => { COMPRESS=>q[gzip -9f], SUFFIX=>q[gz] }
24
+
25
+# --- MakeMaker post_initialize section:
26
+
27
+
28
+# --- MakeMaker const_config section:
29
+
30
+# These definitions are from config.sh (via /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Config.pm).
31
+# They may have been overridden via Makefile.PL or on the command line.
32
+AR = ar
33
+CC = gcc
34
+CCCDLFLAGS = -fPIC
35
+CCDLFLAGS = -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
36
+DLEXT = so
37
+DLSRC = dl_dlopen.xs
38
+EXE_EXT = 
39
+FULL_AR = /usr/bin/ar
40
+LD = gcc
41
+LDDLFLAGS = -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib
42
+LDFLAGS =  -L/usr/local/lib
43
+LIBC = /lib/libc-2.5.so
44
+LIB_EXT = .a
45
+OBJ_EXT = .o
46
+OSNAME = linux
47
+OSVERS = 2.6.18-53.el5
48
+RANLIB = :
49
+SITELIBEXP = /usr/lib/perl5/site_perl/5.8.8
50
+SITEARCHEXP = /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
51
+SO = so
52
+VENDORARCHEXP = /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
53
+VENDORLIBEXP = /usr/lib/perl5/vendor_perl/5.8.8
54
+
55
+
56
+# --- MakeMaker constants section:
57
+AR_STATIC_ARGS = cr
58
+DIRFILESEP = /
59
+DFSEP = $(DIRFILESEP)
60
+NAME = DBIx::Custom
61
+NAME_SYM = DBIx_Custom
62
+VERSION = 0.1671
63
+VERSION_MACRO = VERSION
64
+VERSION_SYM = 0_1671
65
+DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
66
+XS_VERSION = 0.1671
67
+XS_VERSION_MACRO = XS_VERSION
68
+XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
69
+INST_ARCHLIB = blib/arch
70
+INST_SCRIPT = blib/script
71
+INST_BIN = blib/bin
72
+INST_LIB = blib/lib
73
+INST_MAN1DIR = blib/man1
74
+INST_MAN3DIR = blib/man3
75
+MAN1EXT = 1
76
+MAN3EXT = 3pm
77
+INSTALLDIRS = site
78
+DESTDIR = 
79
+PREFIX = $(SITEPREFIX)
80
+PERLPREFIX = /usr
81
+SITEPREFIX = /usr
82
+VENDORPREFIX = /usr
83
+INSTALLPRIVLIB = /usr/lib/perl5/5.8.8
84
+DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
85
+INSTALLSITELIB = /usr/lib/perl5/site_perl/5.8.8
86
+DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
87
+INSTALLVENDORLIB = /usr/lib/perl5/vendor_perl/5.8.8
88
+DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
89
+INSTALLARCHLIB = /usr/lib/perl5/5.8.8/i386-linux-thread-multi
90
+DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
91
+INSTALLSITEARCH = /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
92
+DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
93
+INSTALLVENDORARCH = /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
94
+DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
95
+INSTALLBIN = /usr/bin
96
+DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
97
+INSTALLSITEBIN = /usr/bin
98
+DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
99
+INSTALLVENDORBIN = /usr/bin
100
+DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
101
+INSTALLSCRIPT = /usr/bin
102
+DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
103
+INSTALLSITESCRIPT = /usr/bin
104
+DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
105
+INSTALLVENDORSCRIPT = /usr/bin
106
+DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT)
107
+INSTALLMAN1DIR = /usr/share/man/man1
108
+DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
109
+INSTALLSITEMAN1DIR = /usr/share/man/man1
110
+DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
111
+INSTALLVENDORMAN1DIR = /usr/share/man/man1
112
+DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
113
+INSTALLMAN3DIR = /usr/share/man/man3
114
+DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
115
+INSTALLSITEMAN3DIR = /usr/share/man/man3
116
+DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
117
+INSTALLVENDORMAN3DIR = /usr/share/man/man3
118
+DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
119
+PERL_LIB = /usr/lib/perl5/5.8.8
120
+PERL_ARCHLIB = /usr/lib/perl5/5.8.8/i386-linux-thread-multi
121
+LIBPERL_A = libperl.a
122
+FIRST_MAKEFILE = Makefile
123
+MAKEFILE_OLD = Makefile.old
124
+MAKE_APERL_FILE = Makefile.aperl
125
+PERLMAINCC = $(CC)
126
+PERL_INC = /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
127
+PERL = /usr/bin/perl
128
+FULLPERL = /usr/bin/perl
129
+ABSPERL = $(PERL)
130
+PERLRUN = $(PERL)
131
+FULLPERLRUN = $(FULLPERL)
132
+ABSPERLRUN = $(ABSPERL)
133
+PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
134
+FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
135
+ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
136
+PERL_CORE = 0
137
+PERM_DIR = 755
138
+PERM_RW = 644
139
+PERM_RWX = 755
140
+
141
+MAKEMAKER   = /home/kimoto/perl5/lib/perl5/ExtUtils/MakeMaker.pm
142
+MM_VERSION  = 6.56
143
+MM_REVISION = 65600
144
+
145
+# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
146
+# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
147
+# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
148
+# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
149
+MAKE = make
150
+FULLEXT = DBIx/Custom
151
+BASEEXT = Custom
152
+PARENT_NAME = DBIx
153
+DLBASE = $(BASEEXT)
154
+VERSION_FROM = lib/DBIx/Custom.pm
155
+OBJECT = 
156
+LDFROM = $(OBJECT)
157
+LINKTYPE = dynamic
158
+BOOTDEP = 
159
+
160
+# Handy lists of source code files:
161
+XS_FILES = 
162
+C_FILES  = 
163
+O_FILES  = 
164
+H_FILES  = 
165
+MAN1PODS = 
166
+MAN3PODS = lib/DBIx/Custom.pm \
167
+	lib/DBIx/Custom/Guide.pod \
168
+	lib/DBIx/Custom/Guide/Ja.pod \
169
+	lib/DBIx/Custom/Model.pm \
170
+	lib/DBIx/Custom/MySQL.pm \
171
+	lib/DBIx/Custom/Query.pm \
172
+	lib/DBIx/Custom/QueryBuilder.pm \
173
+	lib/DBIx/Custom/Result.pm \
174
+	lib/DBIx/Custom/SQLite.pm \
175
+	lib/DBIx/Custom/Tag.pm \
176
+	lib/DBIx/Custom/Util.pm \
177
+	lib/DBIx/Custom/Where.pm
178
+
179
+# Where is the Config information that we are using/depend on
180
+CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
181
+
182
+# Where to build things
183
+INST_LIBDIR      = $(INST_LIB)/DBIx
184
+INST_ARCHLIBDIR  = $(INST_ARCHLIB)/DBIx
185
+
186
+INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
187
+INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
188
+
189
+INST_STATIC      = 
190
+INST_DYNAMIC     = 
191
+INST_BOOT        = 
192
+
193
+# Extra linker info
194
+EXPORT_LIST        = 
195
+PERL_ARCHIVE       = 
196
+PERL_ARCHIVE_AFTER = 
197
+
198
+
199
+TO_INST_PM = lib/DBIx/Custom.pm \
200
+	lib/DBIx/Custom/Guide.pod \
201
+	lib/DBIx/Custom/Guide/Ja.pod \
202
+	lib/DBIx/Custom/Model.pm \
203
+	lib/DBIx/Custom/MySQL.pm \
204
+	lib/DBIx/Custom/Query.pm \
205
+	lib/DBIx/Custom/QueryBuilder.pm \
206
+	lib/DBIx/Custom/Result.pm \
207
+	lib/DBIx/Custom/SQLite.pm \
208
+	lib/DBIx/Custom/Tag.pm \
209
+	lib/DBIx/Custom/Util.pm \
210
+	lib/DBIx/Custom/Where.pm
211
+
212
+PM_TO_BLIB = lib/DBIx/Custom/Tag.pm \
213
+	blib/lib/DBIx/Custom/Tag.pm \
214
+	lib/DBIx/Custom/Guide/Ja.pod \
215
+	blib/lib/DBIx/Custom/Guide/Ja.pod \
216
+	lib/DBIx/Custom/Util.pm \
217
+	blib/lib/DBIx/Custom/Util.pm \
218
+	lib/DBIx/Custom/Guide.pod \
219
+	blib/lib/DBIx/Custom/Guide.pod \
220
+	lib/DBIx/Custom/Where.pm \
221
+	blib/lib/DBIx/Custom/Where.pm \
222
+	lib/DBIx/Custom/Model.pm \
223
+	blib/lib/DBIx/Custom/Model.pm \
224
+	lib/DBIx/Custom/MySQL.pm \
225
+	blib/lib/DBIx/Custom/MySQL.pm \
226
+	lib/DBIx/Custom.pm \
227
+	blib/lib/DBIx/Custom.pm \
228
+	lib/DBIx/Custom/Query.pm \
229
+	blib/lib/DBIx/Custom/Query.pm \
230
+	lib/DBIx/Custom/SQLite.pm \
231
+	blib/lib/DBIx/Custom/SQLite.pm \
232
+	lib/DBIx/Custom/Result.pm \
233
+	blib/lib/DBIx/Custom/Result.pm \
234
+	lib/DBIx/Custom/QueryBuilder.pm \
235
+	blib/lib/DBIx/Custom/QueryBuilder.pm
236
+
237
+
238
+# --- MakeMaker platform_constants section:
239
+MM_Unix_VERSION = 6.56
240
+PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
241
+
242
+
243
+# --- MakeMaker tool_autosplit section:
244
+# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
245
+AUTOSPLITFILE = $(ABSPERLRUN)  -e 'use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' --
246
+
247
+
248
+
249
+# --- MakeMaker tool_xsubpp section:
250
+
251
+
252
+# --- MakeMaker tools_other section:
253
+SHELL = /bin/sh
254
+CHMOD = chmod
255
+CP = cp
256
+MV = mv
257
+NOOP = $(TRUE)
258
+NOECHO = @
259
+RM_F = rm -f
260
+RM_RF = rm -rf
261
+TEST_F = test -f
262
+TOUCH = touch
263
+UMASK_NULL = umask 0
264
+DEV_NULL = > /dev/null 2>&1
265
+MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' --
266
+EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' --
267
+FALSE = false
268
+TRUE = true
269
+ECHO = echo
270
+ECHO_N = echo -n
271
+UNINST = 0
272
+VERBINST = 0
273
+MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' --
274
+DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' --
275
+UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' --
276
+WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' --
277
+MACROSTART = 
278
+MACROEND = 
279
+USEMAKEFILE = -f
280
+FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' --
281
+
282
+
283
+# --- MakeMaker makemakerdflt section:
284
+makemakerdflt : all
285
+	$(NOECHO) $(NOOP)
286
+
287
+
288
+# --- MakeMaker dist section:
289
+TAR = tar
290
+TARFLAGS = cvf
291
+ZIP = zip
292
+ZIPFLAGS = -r
293
+COMPRESS = gzip -9f
294
+SUFFIX = gz
295
+SHAR = shar
296
+PREOP = $(NOECHO) $(NOOP)
297
+POSTOP = $(NOECHO) $(NOOP)
298
+TO_UNIX = $(NOECHO) $(NOOP)
299
+CI = ci -u
300
+RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
301
+DIST_CP = best
302
+DIST_DEFAULT = tardist
303
+DISTNAME = DBIx-Custom
304
+DISTVNAME = DBIx-Custom-0.1671
305
+
306
+
307
+# --- MakeMaker macro section:
308
+
309
+
310
+# --- MakeMaker depend section:
311
+
312
+
313
+# --- MakeMaker cflags section:
314
+
315
+
316
+# --- MakeMaker const_loadlibs section:
317
+
318
+
319
+# --- MakeMaker const_cccmd section:
320
+
321
+
322
+# --- MakeMaker post_constants section:
323
+
324
+
325
+# --- MakeMaker pasthru section:
326
+
327
+PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
328
+	LINKTYPE="$(LINKTYPE)"\
329
+	PREFIX="$(PREFIX)"
330
+
331
+
332
+# --- MakeMaker special_targets section:
333
+.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
334
+
335
+.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
336
+
337
+
338
+
339
+# --- MakeMaker c_o section:
340
+
341
+
342
+# --- MakeMaker xs_c section:
343
+
344
+
345
+# --- MakeMaker xs_o section:
346
+
347
+
348
+# --- MakeMaker top_targets section:
349
+all :: pure_all manifypods
350
+	$(NOECHO) $(NOOP)
351
+
352
+
353
+pure_all :: config pm_to_blib subdirs linkext
354
+	$(NOECHO) $(NOOP)
355
+
356
+subdirs :: $(MYEXTLIB)
357
+	$(NOECHO) $(NOOP)
358
+
359
+config :: $(FIRST_MAKEFILE) blibdirs
360
+	$(NOECHO) $(NOOP)
361
+
362
+help :
363
+	perldoc ExtUtils::MakeMaker
364
+
365
+
366
+# --- MakeMaker blibdirs section:
367
+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
368
+	$(NOECHO) $(NOOP)
369
+
370
+# Backwards compat with 6.18 through 6.25
371
+blibdirs.ts : blibdirs
372
+	$(NOECHO) $(NOOP)
373
+
374
+$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
375
+	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
376
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR)
377
+	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
378
+
379
+$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
380
+	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
381
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB)
382
+	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
383
+
384
+$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
385
+	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
386
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR)
387
+	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
388
+
389
+$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
390
+	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
391
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR)
392
+	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
393
+
394
+$(INST_BIN)$(DFSEP).exists :: Makefile.PL
395
+	$(NOECHO) $(MKPATH) $(INST_BIN)
396
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN)
397
+	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
398
+
399
+$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
400
+	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
401
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT)
402
+	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
403
+
404
+$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
405
+	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
406
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR)
407
+	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
408
+
409
+$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
410
+	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
411
+	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR)
412
+	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
413
+
414
+
415
+
416
+# --- MakeMaker linkext section:
417
+
418
+linkext :: $(LINKTYPE)
419
+	$(NOECHO) $(NOOP)
420
+
421
+
422
+# --- MakeMaker dlsyms section:
423
+
424
+
425
+# --- MakeMaker dynamic section:
426
+
427
+dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
428
+	$(NOECHO) $(NOOP)
429
+
430
+
431
+# --- MakeMaker dynamic_bs section:
432
+
433
+BOOTSTRAP =
434
+
435
+
436
+# --- MakeMaker dynamic_lib section:
437
+
438
+
439
+# --- MakeMaker static section:
440
+
441
+## $(INST_PM) has been moved to the all: target.
442
+## It remains here for awhile to allow for old usage: "make static"
443
+static :: $(FIRST_MAKEFILE) $(INST_STATIC)
444
+	$(NOECHO) $(NOOP)
445
+
446
+
447
+# --- MakeMaker static_lib section:
448
+
449
+
450
+# --- MakeMaker manifypods section:
451
+
452
+POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
453
+POD2MAN = $(POD2MAN_EXE)
454
+
455
+
456
+manifypods : pure_all  \
457
+	lib/DBIx/Custom/Tag.pm \
458
+	lib/DBIx/Custom/Guide/Ja.pod \
459
+	lib/DBIx/Custom/Util.pm \
460
+	lib/DBIx/Custom/Guide.pod \
461
+	lib/DBIx/Custom/Where.pm \
462
+	lib/DBIx/Custom/Model.pm \
463
+	lib/DBIx/Custom/MySQL.pm \
464
+	lib/DBIx/Custom.pm \
465
+	lib/DBIx/Custom/Query.pm \
466
+	lib/DBIx/Custom/SQLite.pm \
467
+	lib/DBIx/Custom/Result.pm \
468
+	lib/DBIx/Custom/QueryBuilder.pm
469
+	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
470
+	  lib/DBIx/Custom/Tag.pm $(INST_MAN3DIR)/DBIx::Custom::Tag.$(MAN3EXT) \
471
+	  lib/DBIx/Custom/Guide/Ja.pod $(INST_MAN3DIR)/DBIx::Custom::Guide::Ja.$(MAN3EXT) \
472
+	  lib/DBIx/Custom/Util.pm $(INST_MAN3DIR)/DBIx::Custom::Util.$(MAN3EXT) \
473
+	  lib/DBIx/Custom/Guide.pod $(INST_MAN3DIR)/DBIx::Custom::Guide.$(MAN3EXT) \
474
+	  lib/DBIx/Custom/Where.pm $(INST_MAN3DIR)/DBIx::Custom::Where.$(MAN3EXT) \
475
+	  lib/DBIx/Custom/Model.pm $(INST_MAN3DIR)/DBIx::Custom::Model.$(MAN3EXT) \
476
+	  lib/DBIx/Custom/MySQL.pm $(INST_MAN3DIR)/DBIx::Custom::MySQL.$(MAN3EXT) \
477
+	  lib/DBIx/Custom.pm $(INST_MAN3DIR)/DBIx::Custom.$(MAN3EXT) \
478
+	  lib/DBIx/Custom/Query.pm $(INST_MAN3DIR)/DBIx::Custom::Query.$(MAN3EXT) \
479
+	  lib/DBIx/Custom/SQLite.pm $(INST_MAN3DIR)/DBIx::Custom::SQLite.$(MAN3EXT) \
480
+	  lib/DBIx/Custom/Result.pm $(INST_MAN3DIR)/DBIx::Custom::Result.$(MAN3EXT) \
481
+	  lib/DBIx/Custom/QueryBuilder.pm $(INST_MAN3DIR)/DBIx::Custom::QueryBuilder.$(MAN3EXT) 
482
+
483
+
484
+
485
+
486
+# --- MakeMaker processPL section:
487
+
488
+
489
+# --- MakeMaker installbin section:
490
+
491
+
492
+# --- MakeMaker subdirs section:
493
+
494
+# none
495
+
496
+# --- MakeMaker clean_subdirs section:
497
+clean_subdirs :
498
+	$(NOECHO) $(NOOP)
499
+
500
+
501
+# --- MakeMaker clean section:
502
+
503
+# Delete temporary files but do not touch installed files. We don't delete
504
+# the Makefile here so a later make realclean still has a makefile to use.
505
+
506
+clean :: clean_subdirs
507
+	- $(RM_F) \
508
+	  *$(LIB_EXT) core \
509
+	  core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
510
+	  core.[0-9][0-9] $(BASEEXT).bso \
511
+	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
512
+	  $(BASEEXT).x $(BOOTSTRAP) \
513
+	  perl$(EXE_EXT) tmon.out \
514
+	  *$(OBJ_EXT) pm_to_blib \
515
+	  $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
516
+	  core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
517
+	  core.*perl.*.? $(MAKE_APERL_FILE) \
518
+	  perl $(BASEEXT).def \
519
+	  core.[0-9][0-9][0-9] mon.out \
520
+	  lib$(BASEEXT).def perlmain.c \
521
+	  perl.exe so_locations \
522
+	  $(BASEEXT).exp 
523
+	- $(RM_RF) \
524
+	  DBIx-Custom-* blib 
525
+	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
526
+
527
+
528
+# --- MakeMaker realclean_subdirs section:
529
+realclean_subdirs :
530
+	$(NOECHO) $(NOOP)
531
+
532
+
533
+# --- MakeMaker realclean section:
534
+# Delete temporary files (via clean) and also delete dist files
535
+realclean purge ::  clean realclean_subdirs
536
+	- $(RM_F) \
537
+	  $(MAKEFILE_OLD) $(FIRST_MAKEFILE) 
538
+	- $(RM_RF) \
539
+	  $(DISTVNAME) 
540
+
541
+
542
+# --- MakeMaker metafile section:
543
+metafile : create_distdir
544
+	$(NOECHO) $(ECHO) Generating META.yml
545
+	$(NOECHO) $(ECHO) '--- #YAML:1.0' > META_new.yml
546
+	$(NOECHO) $(ECHO) 'name:               DBIx-Custom' >> META_new.yml
547
+	$(NOECHO) $(ECHO) 'version:            0.1671' >> META_new.yml
548
+	$(NOECHO) $(ECHO) 'abstract:           Useful database access, respecting SQL!' >> META_new.yml
549
+	$(NOECHO) $(ECHO) 'author:' >> META_new.yml
550
+	$(NOECHO) $(ECHO) '    - Yuki Kimoto <kimoto.yuki@gmail.com>' >> META_new.yml
551
+	$(NOECHO) $(ECHO) 'license:            perl' >> META_new.yml
552
+	$(NOECHO) $(ECHO) 'distribution_type:  module' >> META_new.yml
553
+	$(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml
554
+	$(NOECHO) $(ECHO) '    ExtUtils::MakeMaker:  0' >> META_new.yml
555
+	$(NOECHO) $(ECHO) 'build_requires:' >> META_new.yml
556
+	$(NOECHO) $(ECHO) '    ExtUtils::MakeMaker:  0' >> META_new.yml
557
+	$(NOECHO) $(ECHO) 'requires:' >> META_new.yml
558
+	$(NOECHO) $(ECHO) '    DBD::SQLite:     1.25' >> META_new.yml
559
+	$(NOECHO) $(ECHO) '    DBI:             1.605' >> META_new.yml
560
+	$(NOECHO) $(ECHO) '    Object::Simple:  3.0616' >> META_new.yml
561
+	$(NOECHO) $(ECHO) '    Test::More:      0' >> META_new.yml
562
+	$(NOECHO) $(ECHO) 'no_index:' >> META_new.yml
563
+	$(NOECHO) $(ECHO) '    directory:' >> META_new.yml
564
+	$(NOECHO) $(ECHO) '        - t' >> META_new.yml
565
+	$(NOECHO) $(ECHO) '        - inc' >> META_new.yml
566
+	$(NOECHO) $(ECHO) 'generated_by:       ExtUtils::MakeMaker version 6.56' >> META_new.yml
567
+	$(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml
568
+	$(NOECHO) $(ECHO) '    url:      http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml
569
+	$(NOECHO) $(ECHO) '    version:  1.4' >> META_new.yml
570
+	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
571
+
572
+
573
+# --- MakeMaker signature section:
574
+signature :
575
+	cpansign -s
576
+
577
+
578
+# --- MakeMaker dist_basics section:
579
+distclean :: realclean distcheck
580
+	$(NOECHO) $(NOOP)
581
+
582
+distcheck :
583
+	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
584
+
585
+skipcheck :
586
+	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
587
+
588
+manifest :
589
+	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
590
+
591
+veryclean : realclean
592
+	$(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old 
593
+
594
+
595
+
596
+# --- MakeMaker dist_core section:
597
+
598
+dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
599
+	$(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
600
+	  -e '    if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' --
601
+
602
+tardist : $(DISTVNAME).tar$(SUFFIX)
603
+	$(NOECHO) $(NOOP)
604
+
605
+uutardist : $(DISTVNAME).tar$(SUFFIX)
606
+	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
607
+
608
+$(DISTVNAME).tar$(SUFFIX) : distdir
609
+	$(PREOP)
610
+	$(TO_UNIX)
611
+	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
612
+	$(RM_RF) $(DISTVNAME)
613
+	$(COMPRESS) $(DISTVNAME).tar
614
+	$(POSTOP)
615
+
616
+zipdist : $(DISTVNAME).zip
617
+	$(NOECHO) $(NOOP)
618
+
619
+$(DISTVNAME).zip : distdir
620
+	$(PREOP)
621
+	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
622
+	$(RM_RF) $(DISTVNAME)
623
+	$(POSTOP)
624
+
625
+shdist : distdir
626
+	$(PREOP)
627
+	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
628
+	$(RM_RF) $(DISTVNAME)
629
+	$(POSTOP)
630
+
631
+
632
+# --- MakeMaker distdir section:
633
+create_distdir :
634
+	$(RM_RF) $(DISTVNAME)
635
+	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
636
+		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
637
+
638
+distdir : create_distdir distmeta 
639
+	$(NOECHO) $(NOOP)
640
+
641
+
642
+
643
+# --- MakeMaker dist_test section:
644
+disttest : distdir
645
+	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
646
+	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
647
+	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
648
+
649
+
650
+
651
+# --- MakeMaker dist_ci section:
652
+
653
+ci :
654
+	$(PERLRUN) "-MExtUtils::Manifest=maniread" \
655
+	  -e "@all = keys %{ maniread() };" \
656
+	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
657
+	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
658
+
659
+
660
+# --- MakeMaker distmeta section:
661
+distmeta : create_distdir metafile
662
+	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
663
+	  -e '    or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' --
664
+
665
+
666
+
667
+# --- MakeMaker distsignature section:
668
+distsignature : create_distdir
669
+	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
670
+	  -e '    or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' --
671
+	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
672
+	cd $(DISTVNAME) && cpansign -s
673
+
674
+
675
+
676
+# --- MakeMaker install section:
677
+
678
+install :: pure_install doc_install
679
+	$(NOECHO) $(NOOP)
680
+
681
+install_perl :: pure_perl_install doc_perl_install
682
+	$(NOECHO) $(NOOP)
683
+
684
+install_site :: pure_site_install doc_site_install
685
+	$(NOECHO) $(NOOP)
686
+
687
+install_vendor :: pure_vendor_install doc_vendor_install
688
+	$(NOECHO) $(NOOP)
689
+
690
+pure_install :: pure_$(INSTALLDIRS)_install
691
+	$(NOECHO) $(NOOP)
692
+
693
+doc_install :: doc_$(INSTALLDIRS)_install
694
+	$(NOECHO) $(NOOP)
695
+
696
+pure__install : pure_site_install
697
+	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
698
+
699
+doc__install : doc_site_install
700
+	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
701
+
702
+pure_perl_install :: all
703
+	$(NOECHO) $(MOD_INSTALL) \
704
+		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
705
+		write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
706
+		$(INST_LIB) $(DESTINSTALLPRIVLIB) \
707
+		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
708
+		$(INST_BIN) $(DESTINSTALLBIN) \
709
+		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
710
+		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
711
+		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
712
+	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
713
+		$(SITEARCHEXP)/auto/$(FULLEXT)
714
+
715
+
716
+pure_site_install :: all
717
+	$(NOECHO) $(MOD_INSTALL) \
718
+		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
719
+		write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
720
+		$(INST_LIB) $(DESTINSTALLSITELIB) \
721
+		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
722
+		$(INST_BIN) $(DESTINSTALLSITEBIN) \
723
+		$(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \
724
+		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
725
+		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
726
+	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
727
+		$(PERL_ARCHLIB)/auto/$(FULLEXT)
728
+
729
+pure_vendor_install :: all
730
+	$(NOECHO) $(MOD_INSTALL) \
731
+		read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
732
+		write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
733
+		$(INST_LIB) $(DESTINSTALLVENDORLIB) \
734
+		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
735
+		$(INST_BIN) $(DESTINSTALLVENDORBIN) \
736
+		$(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \
737
+		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
738
+		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
739
+
740
+doc_perl_install :: all
741
+	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
742
+	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
743
+	-$(NOECHO) $(DOC_INSTALL) \
744
+		"Module" "$(NAME)" \
745
+		"installed into" "$(INSTALLPRIVLIB)" \
746
+		LINKTYPE "$(LINKTYPE)" \
747
+		VERSION "$(VERSION)" \
748
+		EXE_FILES "$(EXE_FILES)" \
749
+		>> $(DESTINSTALLARCHLIB)/perllocal.pod
750
+
751
+doc_site_install :: all
752
+	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
753
+	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
754
+	-$(NOECHO) $(DOC_INSTALL) \
755
+		"Module" "$(NAME)" \
756
+		"installed into" "$(INSTALLSITELIB)" \
757
+		LINKTYPE "$(LINKTYPE)" \
758
+		VERSION "$(VERSION)" \
759
+		EXE_FILES "$(EXE_FILES)" \
760
+		>> $(DESTINSTALLARCHLIB)/perllocal.pod
761
+
762
+doc_vendor_install :: all
763
+	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
764
+	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
765
+	-$(NOECHO) $(DOC_INSTALL) \
766
+		"Module" "$(NAME)" \
767
+		"installed into" "$(INSTALLVENDORLIB)" \
768
+		LINKTYPE "$(LINKTYPE)" \
769
+		VERSION "$(VERSION)" \
770
+		EXE_FILES "$(EXE_FILES)" \
771
+		>> $(DESTINSTALLARCHLIB)/perllocal.pod
772
+
773
+
774
+uninstall :: uninstall_from_$(INSTALLDIRS)dirs
775
+	$(NOECHO) $(NOOP)
776
+
777
+uninstall_from_perldirs ::
778
+	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
779
+
780
+uninstall_from_sitedirs ::
781
+	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
782
+
783
+uninstall_from_vendordirs ::
784
+	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
785
+
786
+
787
+# --- MakeMaker force section:
788
+# Phony target to force checking subdirectories.
789
+FORCE :
790
+	$(NOECHO) $(NOOP)
791
+
792
+
793
+# --- MakeMaker perldepend section:
794
+
795
+
796
+# --- MakeMaker makefile section:
797
+# We take a very conservative approach here, but it's worth it.
798
+# We move Makefile to Makefile.old here to avoid gnu make looping.
799
+$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
800
+	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
801
+	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
802
+	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
803
+	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
804
+	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
805
+	$(PERLRUN) Makefile.PL 
806
+	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
807
+	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
808
+	$(FALSE)
809
+
810
+
811
+
812
+# --- MakeMaker staticmake section:
813
+
814
+# --- MakeMaker makeaperl section ---
815
+MAP_TARGET    = perl
816
+FULLPERL      = /usr/bin/perl
817
+
818
+$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
819
+	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
820
+
821
+$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
822
+	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
823
+	$(NOECHO) $(PERLRUNINST) \
824
+		Makefile.PL DIR= \
825
+		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
826
+		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
827
+
828
+
829
+# --- MakeMaker test section:
830
+
831
+TEST_VERBOSE=0
832
+TEST_TYPE=test_$(LINKTYPE)
833
+TEST_FILE = test.pl
834
+TEST_FILES = t/*.t
835
+TESTDB_SW = -d
836
+
837
+testdb :: testdb_$(LINKTYPE)
838
+
839
+test :: $(TEST_TYPE) subdirs-test
840
+
841
+subdirs-test ::
842
+	$(NOECHO) $(NOOP)
843
+
844
+
845
+test_dynamic :: pure_all
846
+	PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
847
+
848
+testdb_dynamic :: pure_all
849
+	PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
850
+
851
+test_ : test_dynamic
852
+
853
+test_static :: test_dynamic
854
+testdb_static :: testdb_dynamic
855
+
856
+
857
+# --- MakeMaker ppd section:
858
+# Creates a PPD (Perl Package Description) for a binary distribution.
859
+ppd :
860
+	$(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0.1671">' > $(DISTNAME).ppd
861
+	$(NOECHO) $(ECHO) '    <ABSTRACT>Useful database access, respecting SQL!</ABSTRACT>' >> $(DISTNAME).ppd
862
+	$(NOECHO) $(ECHO) '    <AUTHOR>Yuki Kimoto &lt;kimoto.yuki@gmail.com&gt;</AUTHOR>' >> $(DISTNAME).ppd
863
+	$(NOECHO) $(ECHO) '    <IMPLEMENTATION>' >> $(DISTNAME).ppd
864
+	$(NOECHO) $(ECHO) '        <REQUIRE NAME="DBD::SQLite" VERSION="1.25" />' >> $(DISTNAME).ppd
865
+	$(NOECHO) $(ECHO) '        <REQUIRE NAME="DBI::" VERSION="1.605" />' >> $(DISTNAME).ppd
866
+	$(NOECHO) $(ECHO) '        <REQUIRE NAME="Object::Simple" VERSION="3.0616" />' >> $(DISTNAME).ppd
867
+	$(NOECHO) $(ECHO) '        <REQUIRE NAME="Test::More" />' >> $(DISTNAME).ppd
868
+	$(NOECHO) $(ECHO) '        <ARCHITECTURE NAME="i386-linux-thread-multi-5.8" />' >> $(DISTNAME).ppd
869
+	$(NOECHO) $(ECHO) '        <CODEBASE HREF="" />' >> $(DISTNAME).ppd
870
+	$(NOECHO) $(ECHO) '    </IMPLEMENTATION>' >> $(DISTNAME).ppd
871
+	$(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
872
+
873
+
874
+# --- MakeMaker pm_to_blib section:
875
+
876
+pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
877
+	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \
878
+	  lib/DBIx/Custom/Tag.pm blib/lib/DBIx/Custom/Tag.pm \
879
+	  lib/DBIx/Custom/Guide/Ja.pod blib/lib/DBIx/Custom/Guide/Ja.pod \
880
+	  lib/DBIx/Custom/Util.pm blib/lib/DBIx/Custom/Util.pm \
881
+	  lib/DBIx/Custom/Guide.pod blib/lib/DBIx/Custom/Guide.pod \
882
+	  lib/DBIx/Custom/Where.pm blib/lib/DBIx/Custom/Where.pm \
883
+	  lib/DBIx/Custom/Model.pm blib/lib/DBIx/Custom/Model.pm \
884
+	  lib/DBIx/Custom/MySQL.pm blib/lib/DBIx/Custom/MySQL.pm \
885
+	  lib/DBIx/Custom.pm blib/lib/DBIx/Custom.pm \
886
+	  lib/DBIx/Custom/Query.pm blib/lib/DBIx/Custom/Query.pm \
887
+	  lib/DBIx/Custom/SQLite.pm blib/lib/DBIx/Custom/SQLite.pm \
888
+	  lib/DBIx/Custom/Result.pm blib/lib/DBIx/Custom/Result.pm \
889
+	  lib/DBIx/Custom/QueryBuilder.pm blib/lib/DBIx/Custom/QueryBuilder.pm 
890
+	$(NOECHO) $(TOUCH) pm_to_blib
891
+
892
+
893
+# --- MakeMaker selfdocument section:
894
+
895
+
896
+# --- MakeMaker postamble section:
897
+
898
+
899
+# End.
+49 -46
lib/DBIx/Custom.pm
... ...
@@ -403,15 +403,6 @@ sub each_column {
403 403
 
404 404
 our %EXECUTE_ARGS = map { $_ => 1 } @COMMON_ARGS, 'param';
405 405
 
406
-sub _remove_duplicate_table {
407
-    my ($self, $tables, $main_table) = @_;
408
-    
409
-    my %tables = map {defined $_ ? ($_ => 1) : ()} @$tables;
410
-    delete $tables{$main_table} if $main_table;
411
-    
412
-    return [keys %tables, $main_table ? $main_table : ()];
413
-}
414
-
415 406
 sub execute {
416 407
     my ($self, $query, %args)  = @_;
417 408
     
... ...
@@ -437,28 +428,30 @@ sub execute {
437 428
     if (my $q = $self->reserved_word_quote) {
438 429
         $_ =~ s/$q//g for @$tables;
439 430
     }
440
-
431
+    
432
+    # Table alias
441 433
     foreach my $table (@$tables) {
442 434
         
443
-        if (my $dist = $self->{_table_alias}->{$table}) {
444
-            $self->{filter} ||= {};
445
-            
446
-            unless ($self->{filter}{out}{$table}) {
447
-                $self->{filter}{out} ||= {};
448
-                $self->{filter}{in}  ||= {};
449
-                $self->{filter}{end} ||= {};
435
+        # No need
436
+        next unless my $alias = $self->{_table_alias}->{$table};
437
+        $self->{filter} ||= {};
438
+        next if $self->{filter}{out}{$table};
439
+        
440
+        # Filter
441
+        $self->{filter}{out} ||= {};
442
+        $self->{filter}{in}  ||= {};
443
+        $self->{filter}{end} ||= {};
444
+        
445
+        # Create alias filter
446
+        foreach my $type (qw/out in end/) {
447
+            my @filter_names = keys %{$self->{filter}{$type}{$alias} || {}};
448
+            foreach my $filter_name (@filter_names) {
449
+                my $filter_name_alias = $filter_name;
450
+                $filter_name_alias =~ s/^$alias\./$table\./;
451
+                $filter_name_alias =~ s/^${alias}__/${table}__/; 
450 452
                 
451
-                foreach my $type (qw/out in end/) {
452
-                    
453
-                    foreach my $filter_name (keys %{$self->{filter}{$type}{$dist} || {}}) {
454
-                        my $filter_name_alias = $filter_name;
455
-                        $filter_name_alias =~ s/^$dist\./$table\./;
456
-                        $filter_name_alias =~ s/^${dist}__/${table}__/; 
457
-                        
458
-                        $self->{filter}{$type}{$table}{$filter_name_alias}
459
-                          = $self->{filter}{$type}{$dist}{$filter_name}
460
-                    }
461
-                }
453
+                $self->{filter}{$type}{$table}{$filter_name_alias}
454
+                  = $self->{filter}{$type}{$alias}{$filter_name}
462 455
             }
463 456
         }
464 457
     }
... ...
@@ -1294,24 +1287,6 @@ sub _need_tables {
1294 1287
     }
1295 1288
 }
1296 1289
 
1297
-sub _tables {
1298
-    my ($self, $source) = @_;
1299
-    
1300
-    my $tables = [];
1301
-    
1302
-    my $safety_character = $self->safety_character;
1303
-    my $q = $self->reserved_word_quote;
1304
-    my $q_re = quotemeta($q);
1305
-    
1306
-    my $table_re = $q ? qr/\b$q_re?([$safety_character]+)$q_re?\./
1307
-                      : qr/\b([$safety_character]+)\./;
1308
-    while ($source =~ /$table_re/g) {
1309
-        push @$tables, $1;
1310
-    }
1311
-    
1312
-    return $tables;
1313
-}
1314
-
1315 1290
 sub _push_join {
1316 1291
     my ($self, $sql, $join, $join_tables) = @_;
1317 1292
     
... ...
@@ -1353,6 +1328,34 @@ sub _push_join {
1353 1328
     }
1354 1329
 }
1355 1330
 
1331
+sub _remove_duplicate_table {
1332
+    my ($self, $tables, $main_table) = @_;
1333
+    
1334
+    # Remove duplicate table
1335
+    my %tables = map {defined $_ ? ($_ => 1) : ()} @$tables;
1336
+    delete $tables{$main_table} if $main_table;
1337
+    
1338
+    return [keys %tables, $main_table ? $main_table : ()];
1339
+}
1340
+
1341
+sub _tables {
1342
+    my ($self, $source) = @_;
1343
+    
1344
+    my $tables = [];
1345
+    
1346
+    my $safety_character = $self->safety_character;
1347
+    my $q = $self->reserved_word_quote;
1348
+    my $q_re = quotemeta($q);
1349
+    
1350
+    my $table_re = $q ? qr/\b$q_re?([$safety_character]+)$q_re?\./
1351
+                      : qr/\b([$safety_character]+)\./;
1352
+    while ($source =~ /$table_re/g) {
1353
+        push @$tables, $1;
1354
+    }
1355
+    
1356
+    return $tables;
1357
+}
1358
+
1356 1359
 sub _where_to_obj {
1357 1360
     my ($self, $where) = @_;
1358 1361