DBIx-Custom / Makefile.old /
Newer Older
873 lines | 26.706kb
updated document
yuki-kimoto authored on 2010-10-22
1
# This Makefile is for the DBIx::Custom extension to perl.
2
#
3
# It was generated automatically by MakeMaker version
4
# 6.48 (Revision: 64800) 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/DBIx/Custom.pm]
14
#     AUTHOR => q[Yuki Kimoto <kimoto.yuki@gmail.com>]
15
#     LICENSE => q[perl]
16
#     NAME => q[DBIx::Custom]
17
#     PL_FILES => {  }
18
#     PREREQ_PM => { Test::More=>q[0], Object::Simple=>q[3.0201], DBD::SQLite=>q[1.25], DBI=>q[1.605] }
19
#     VERSION_FROM => q[lib/DBIx/Custom.pm]
20
#     clean => { FILES=>q[DBIx-Custom-*] }
21
#     dist => { COMPRESS=>q[gzip -9f], SUFFIX=>q[gz] }
22

            
23
# --- MakeMaker post_initialize section:
24

            
25

            
26
# --- MakeMaker const_config section:
27

            
28
# These definitions are from config.sh (via /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Config.pm).
29
# They may have been overridden via Makefile.PL or on the command line.
30
AR = ar
31
CC = gcc
32
CCCDLFLAGS = -fPIC
33
CCDLFLAGS = -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
34
DLEXT = so
35
DLSRC = dl_dlopen.xs
36
EXE_EXT = 
37
FULL_AR = /usr/bin/ar
38
LD = gcc
39
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
40
LDFLAGS =  -L/usr/local/lib
41
LIBC = /lib/libc-2.6.so
42
LIB_EXT = .a
43
OBJ_EXT = .o
44
OSNAME = linux
45
OSVERS = 2.6.18-53.1.14.el5xen
46
RANLIB = :
47
SITELIBEXP = /usr/lib/perl5/site_perl/5.8.8
48
SITEARCHEXP = /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
49
SO = so
50
VENDORARCHEXP = /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
51
VENDORLIBEXP = /usr/lib/perl5/vendor_perl/5.8.8
52

            
53

            
54
# --- MakeMaker constants section:
55
AR_STATIC_ARGS = cr
56
DIRFILESEP = /
57
DFSEP = $(DIRFILESEP)
58
NAME = DBIx::Custom
59
NAME_SYM = DBIx_Custom
60
VERSION = 0.1620
61
VERSION_MACRO = VERSION
62
VERSION_SYM = 0_1620
63
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
64
XS_VERSION = 0.1620
65
XS_VERSION_MACRO = XS_VERSION
66
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
67
INST_ARCHLIB = blib/arch
68
INST_SCRIPT = blib/script
69
INST_BIN = blib/bin
70
INST_LIB = blib/lib
71
INST_MAN1DIR = blib/man1
72
INST_MAN3DIR = blib/man3
73
MAN1EXT = 1
74
MAN3EXT = 3pm
75
INSTALLDIRS = site
76
DESTDIR = 
77
PREFIX = $(SITEPREFIX)
78
PERLPREFIX = /usr
79
SITEPREFIX = /usr
80
VENDORPREFIX = /usr
81
INSTALLPRIVLIB = /usr/lib/perl5/5.8.8
82
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
83
INSTALLSITELIB = /usr/lib/perl5/site_perl/5.8.8
84
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
85
INSTALLVENDORLIB = /usr/lib/perl5/vendor_perl/5.8.8
86
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
87
INSTALLARCHLIB = /usr/lib/perl5/5.8.8/i386-linux-thread-multi
88
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
89
INSTALLSITEARCH = /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
90
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
91
INSTALLVENDORARCH = /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
92
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
93
INSTALLBIN = /usr/bin
94
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
95
INSTALLSITEBIN = /usr/bin
96
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
97
INSTALLVENDORBIN = /usr/bin
98
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
99
INSTALLSCRIPT = /usr/bin
100
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
101
INSTALLSITESCRIPT = /usr/bin
102
DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
103
INSTALLVENDORSCRIPT = /usr/bin
104
DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT)
105
INSTALLMAN1DIR = /usr/share/man/man1
106
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
107
INSTALLSITEMAN1DIR = /usr/share/man/man1
108
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
109
INSTALLVENDORMAN1DIR = /usr/share/man/man1
110
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
111
INSTALLMAN3DIR = /usr/share/man/man3
112
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
113
INSTALLSITEMAN3DIR = /usr/share/man/man3
114
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
115
INSTALLVENDORMAN3DIR = /usr/share/man/man3
116
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
117
PERL_LIB = /usr/lib/perl5/5.8.8
118
PERL_ARCHLIB = /usr/lib/perl5/5.8.8/i386-linux-thread-multi
119
LIBPERL_A = libperl.a
120
FIRST_MAKEFILE = Makefile
121
MAKEFILE_OLD = Makefile.old
122
MAKE_APERL_FILE = Makefile.aperl
123
PERLMAINCC = $(CC)
124
PERL_INC = /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
125
PERL = /usr/bin/perl
126
FULLPERL = /usr/bin/perl
127
ABSPERL = $(PERL)
128
PERLRUN = $(PERL)
129
FULLPERLRUN = $(FULLPERL)
130
ABSPERLRUN = $(ABSPERL)
131
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
132
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
133
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
134
PERL_CORE = 0
135
PERM_RW = 644
136
PERM_RWX = 755
137

            
138
MAKEMAKER   = /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
139
MM_VERSION  = 6.48
140
MM_REVISION = 64800
141

            
142
# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
143
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
144
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
145
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
146
MAKE = make
147
FULLEXT = DBIx/Custom
148
BASEEXT = Custom
149
PARENT_NAME = DBIx
150
DLBASE = $(BASEEXT)
151
VERSION_FROM = lib/DBIx/Custom.pm
152
OBJECT = 
153
LDFROM = $(OBJECT)
154
LINKTYPE = dynamic
155
BOOTDEP = 
156

            
157
# Handy lists of source code files:
158
XS_FILES = 
159
C_FILES  = 
160
O_FILES  = 
161
H_FILES  = 
162
MAN1PODS = 
163
MAN3PODS = lib/DBIx/Custom.pm \
164
	lib/DBIx/Custom/Guides.pod \
165
	lib/DBIx/Custom/Guides/Ja.pod \
166
	lib/DBIx/Custom/MySQL.pm \
167
	lib/DBIx/Custom/Query.pm \
168
	lib/DBIx/Custom/QueryBuilder.pm \
169
	lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
170
	lib/DBIx/Custom/Result.pm \
171
	lib/DBIx/Custom/SQLite.pm
172

            
173
# Where is the Config information that we are using/depend on
174
CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
175

            
176
# Where to build things
177
INST_LIBDIR      = $(INST_LIB)/DBIx
178
INST_ARCHLIBDIR  = $(INST_ARCHLIB)/DBIx
179

            
180
INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
181
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
182

            
183
INST_STATIC      = 
184
INST_DYNAMIC     = 
185
INST_BOOT        = 
186

            
187
# Extra linker info
188
EXPORT_LIST        = 
189
PERL_ARCHIVE       = 
190
PERL_ARCHIVE_AFTER = 
191

            
192

            
193
TO_INST_PM = lib/DBIx/Custom.pm \
194
	lib/DBIx/Custom/Guides.pod \
195
	lib/DBIx/Custom/Guides/Ja.pod \
196
	lib/DBIx/Custom/MySQL.pm \
197
	lib/DBIx/Custom/Query.pm \
198
	lib/DBIx/Custom/QueryBuilder.pm \
199
	lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
200
	lib/DBIx/Custom/Result.pm \
201
	lib/DBIx/Custom/SQLite.pm
202

            
203
PM_TO_BLIB = lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
204
	blib/lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
205
	lib/DBIx/Custom/Guides/Ja.pod \
206
	blib/lib/DBIx/Custom/Guides/Ja.pod \
207
	lib/DBIx/Custom/MySQL.pm \
208
	blib/lib/DBIx/Custom/MySQL.pm \
209
	lib/DBIx/Custom/Guides.pod \
210
	blib/lib/DBIx/Custom/Guides.pod \
211
	lib/DBIx/Custom.pm \
212
	blib/lib/DBIx/Custom.pm \
213
	lib/DBIx/Custom/Query.pm \
214
	blib/lib/DBIx/Custom/Query.pm \
215
	lib/DBIx/Custom/SQLite.pm \
216
	blib/lib/DBIx/Custom/SQLite.pm \
217
	lib/DBIx/Custom/Result.pm \
218
	blib/lib/DBIx/Custom/Result.pm \
219
	lib/DBIx/Custom/QueryBuilder.pm \
220
	blib/lib/DBIx/Custom/QueryBuilder.pm
221

            
222

            
223
# --- MakeMaker platform_constants section:
224
MM_Unix_VERSION = 6.48
225
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
226

            
227

            
228
# --- MakeMaker tool_autosplit section:
229
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
230
AUTOSPLITFILE = $(ABSPERLRUN)  -e 'use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' --
231

            
232

            
233

            
234
# --- MakeMaker tool_xsubpp section:
235

            
236

            
237
# --- MakeMaker tools_other section:
238
SHELL = /bin/sh
239
CHMOD = chmod
240
CP = cp
241
MV = mv
242
NOOP = $(SHELL) -c true
243
NOECHO = @
244
RM_F = rm -f
245
RM_RF = rm -rf
246
TEST_F = test -f
247
TOUCH = touch
248
UMASK_NULL = umask 0
249
DEV_NULL = > /dev/null 2>&1
250
MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath
251
EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime
252
ECHO = echo
253
ECHO_N = echo -n
254
UNINST = 0
255
VERBINST = 0
256
MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');' --
257
DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
258
UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall
259
WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
260
MACROSTART = 
261
MACROEND = 
262
USEMAKEFILE = -f
263
FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)"
264

            
265

            
266
# --- MakeMaker makemakerdflt section:
267
makemakerdflt : all
268
	$(NOECHO) $(NOOP)
269

            
270

            
271
# --- MakeMaker dist section:
272
TAR = tar
273
TARFLAGS = cvf
274
ZIP = zip
275
ZIPFLAGS = -r
276
COMPRESS = gzip -9f
277
SUFFIX = gz
278
SHAR = shar
279
PREOP = $(NOECHO) $(NOOP)
280
POSTOP = $(NOECHO) $(NOOP)
281
TO_UNIX = $(NOECHO) $(NOOP)
282
CI = ci -u
283
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
284
DIST_CP = best
285
DIST_DEFAULT = tardist
286
DISTNAME = DBIx-Custom
287
DISTVNAME = DBIx-Custom-0.1620
288

            
289

            
290
# --- MakeMaker macro section:
291

            
292

            
293
# --- MakeMaker depend section:
294

            
295

            
296
# --- MakeMaker cflags section:
297

            
298

            
299
# --- MakeMaker const_loadlibs section:
300

            
301

            
302
# --- MakeMaker const_cccmd section:
303

            
304

            
305
# --- MakeMaker post_constants section:
306

            
307

            
308
# --- MakeMaker pasthru section:
309

            
310
PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
311
	LINKTYPE="$(LINKTYPE)"\
312
	PREFIX="$(PREFIX)"
313

            
314

            
315
# --- MakeMaker special_targets section:
316
.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
317

            
318
.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
319

            
320

            
321

            
322
# --- MakeMaker c_o section:
323

            
324

            
325
# --- MakeMaker xs_c section:
326

            
327

            
328
# --- MakeMaker xs_o section:
329

            
330

            
331
# --- MakeMaker top_targets section:
332
all :: pure_all manifypods
333
	$(NOECHO) $(NOOP)
334

            
335

            
336
pure_all :: config pm_to_blib subdirs linkext
337
	$(NOECHO) $(NOOP)
338

            
339
subdirs :: $(MYEXTLIB)
340
	$(NOECHO) $(NOOP)
341

            
342
config :: $(FIRST_MAKEFILE) blibdirs
343
	$(NOECHO) $(NOOP)
344

            
345
help :
346
	perldoc ExtUtils::MakeMaker
347

            
348

            
349
# --- MakeMaker blibdirs section:
350
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
351
	$(NOECHO) $(NOOP)
352

            
353
# Backwards compat with 6.18 through 6.25
354
blibdirs.ts : blibdirs
355
	$(NOECHO) $(NOOP)
356

            
357
$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
358
	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
359
	$(NOECHO) $(CHMOD) 755 $(INST_LIBDIR)
360
	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
361

            
362
$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
363
	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
364
	$(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB)
365
	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
366

            
367
$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
368
	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
369
	$(NOECHO) $(CHMOD) 755 $(INST_AUTODIR)
370
	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
371

            
372
$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
373
	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
374
	$(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR)
375
	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
376

            
377
$(INST_BIN)$(DFSEP).exists :: Makefile.PL
378
	$(NOECHO) $(MKPATH) $(INST_BIN)
379
	$(NOECHO) $(CHMOD) 755 $(INST_BIN)
380
	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
381

            
382
$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
383
	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
384
	$(NOECHO) $(CHMOD) 755 $(INST_SCRIPT)
385
	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
386

            
387
$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
388
	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
389
	$(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR)
390
	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
391

            
392
$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
393
	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
394
	$(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR)
395
	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
396

            
397

            
398

            
399
# --- MakeMaker linkext section:
400

            
401
linkext :: $(LINKTYPE)
402
	$(NOECHO) $(NOOP)
403

            
404

            
405
# --- MakeMaker dlsyms section:
406

            
407

            
408
# --- MakeMaker dynamic section:
409

            
410
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
411
	$(NOECHO) $(NOOP)
412

            
413

            
414
# --- MakeMaker dynamic_bs section:
415

            
416
BOOTSTRAP =
417

            
418

            
419
# --- MakeMaker dynamic_lib section:
420

            
421

            
422
# --- MakeMaker static section:
423

            
424
## $(INST_PM) has been moved to the all: target.
425
## It remains here for awhile to allow for old usage: "make static"
426
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
427
	$(NOECHO) $(NOOP)
428

            
429

            
430
# --- MakeMaker static_lib section:
431

            
432

            
433
# --- MakeMaker manifypods section:
434

            
435
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
436
POD2MAN = $(POD2MAN_EXE)
437

            
438

            
439
manifypods : pure_all  \
440
	lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
441
	lib/DBIx/Custom/Guides/Ja.pod \
442
	lib/DBIx/Custom/MySQL.pm \
443
	lib/DBIx/Custom/Guides.pod \
444
	lib/DBIx/Custom.pm \
445
	lib/DBIx/Custom/SQLite.pm \
446
	lib/DBIx/Custom/Query.pm \
447
	lib/DBIx/Custom/Result.pm \
448
	lib/DBIx/Custom/QueryBuilder.pm
449
	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
450
	  lib/DBIx/Custom/QueryBuilder/TagProcessors.pm $(INST_MAN3DIR)/DBIx::Custom::QueryBuilder::TagProcessors.$(MAN3EXT) \
451
	  lib/DBIx/Custom/Guides/Ja.pod $(INST_MAN3DIR)/DBIx::Custom::Guides::Ja.$(MAN3EXT) \
452
	  lib/DBIx/Custom/MySQL.pm $(INST_MAN3DIR)/DBIx::Custom::MySQL.$(MAN3EXT) \
453
	  lib/DBIx/Custom/Guides.pod $(INST_MAN3DIR)/DBIx::Custom::Guides.$(MAN3EXT) \
454
	  lib/DBIx/Custom.pm $(INST_MAN3DIR)/DBIx::Custom.$(MAN3EXT) \
455
	  lib/DBIx/Custom/SQLite.pm $(INST_MAN3DIR)/DBIx::Custom::SQLite.$(MAN3EXT) \
456
	  lib/DBIx/Custom/Query.pm $(INST_MAN3DIR)/DBIx::Custom::Query.$(MAN3EXT) \
457
	  lib/DBIx/Custom/Result.pm $(INST_MAN3DIR)/DBIx::Custom::Result.$(MAN3EXT) \
458
	  lib/DBIx/Custom/QueryBuilder.pm $(INST_MAN3DIR)/DBIx::Custom::QueryBuilder.$(MAN3EXT) 
459

            
460

            
461

            
462

            
463
# --- MakeMaker processPL section:
464

            
465

            
466
# --- MakeMaker installbin section:
467

            
468

            
469
# --- MakeMaker subdirs section:
470

            
471
# none
472

            
473
# --- MakeMaker clean_subdirs section:
474
clean_subdirs :
475
	$(NOECHO) $(NOOP)
476

            
477

            
478
# --- MakeMaker clean section:
479

            
480
# Delete temporary files but do not touch installed files. We don't delete
481
# the Makefile here so a later make realclean still has a makefile to use.
482

            
483
clean :: clean_subdirs
484
	- $(RM_F) \
485
	  *$(LIB_EXT) core \
486
	  core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
487
	  core.[0-9][0-9] $(BASEEXT).bso \
488
	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
489
	  $(BASEEXT).x $(BOOTSTRAP) \
490
	  perl$(EXE_EXT) tmon.out \
491
	  *$(OBJ_EXT) pm_to_blib \
492
	  $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
493
	  core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
494
	  core.*perl.*.? $(MAKE_APERL_FILE) \
495
	  $(BASEEXT).def perl \
496
	  core.[0-9][0-9][0-9] mon.out \
497
	  lib$(BASEEXT).def perl.exe \
498
	  perlmain.c so_locations \
499
	  $(BASEEXT).exp 
500
	- $(RM_RF) \
501
	  DBIx-Custom-* blib 
502
	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
503

            
504

            
505
# --- MakeMaker realclean_subdirs section:
506
realclean_subdirs :
507
	$(NOECHO) $(NOOP)
508

            
509

            
510
# --- MakeMaker realclean section:
511
# Delete temporary files (via clean) and also delete dist files
512
realclean purge ::  clean realclean_subdirs
513
	- $(RM_F) \
514
	  $(MAKEFILE_OLD) $(FIRST_MAKEFILE) 
515
	- $(RM_RF) \
516
	  $(DISTVNAME) 
517

            
518

            
519
# --- MakeMaker metafile section:
520
metafile : create_distdir
521
	$(NOECHO) $(ECHO) Generating META.yml
522
	$(NOECHO) $(ECHO) '--- #YAML:1.0' > META_new.yml
523
	$(NOECHO) $(ECHO) 'name:               DBIx-Custom' >> META_new.yml
524
	$(NOECHO) $(ECHO) 'version:            0.1620' >> META_new.yml
525
	$(NOECHO) $(ECHO) 'abstract:           DBI interface, having hash parameter binding and filtering system' >> META_new.yml
526
	$(NOECHO) $(ECHO) 'author:' >> META_new.yml
527
	$(NOECHO) $(ECHO) '    - Yuki Kimoto <kimoto.yuki@gmail.com>' >> META_new.yml
528
	$(NOECHO) $(ECHO) 'license:            perl' >> META_new.yml
529
	$(NOECHO) $(ECHO) 'distribution_type:  module' >> META_new.yml
530
	$(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml
531
	$(NOECHO) $(ECHO) '    ExtUtils::MakeMaker:  0' >> META_new.yml
532
	$(NOECHO) $(ECHO) 'requires:' >> META_new.yml
533
	$(NOECHO) $(ECHO) '    DBD::SQLite:     1.25' >> META_new.yml
534
	$(NOECHO) $(ECHO) '    DBI:             1.605' >> META_new.yml
535
	$(NOECHO) $(ECHO) '    Object::Simple:  3.0201' >> META_new.yml
536
	$(NOECHO) $(ECHO) '    Test::More:      0' >> META_new.yml
537
	$(NOECHO) $(ECHO) 'no_index:' >> META_new.yml
538
	$(NOECHO) $(ECHO) '    directory:' >> META_new.yml
539
	$(NOECHO) $(ECHO) '        - t' >> META_new.yml
540
	$(NOECHO) $(ECHO) '        - inc' >> META_new.yml
541
	$(NOECHO) $(ECHO) 'generated_by:       ExtUtils::MakeMaker version 6.48' >> META_new.yml
542
	$(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml
543
	$(NOECHO) $(ECHO) '    url:      http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml
544
	$(NOECHO) $(ECHO) '    version:  1.4' >> META_new.yml
545
	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
546

            
547

            
548
# --- MakeMaker signature section:
549
signature :
550
	cpansign -s
551

            
552

            
553
# --- MakeMaker dist_basics section:
554
distclean :: realclean distcheck
555
	$(NOECHO) $(NOOP)
556

            
557
distcheck :
558
	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
559

            
560
skipcheck :
561
	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
562

            
563
manifest :
564
	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
565

            
566
veryclean : realclean
567
	$(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old 
568

            
569

            
570

            
571
# --- MakeMaker dist_core section:
572

            
573
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
574
	$(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
575
	  -e '    if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' --
576

            
577
tardist : $(DISTVNAME).tar$(SUFFIX)
578
	$(NOECHO) $(NOOP)
579

            
580
uutardist : $(DISTVNAME).tar$(SUFFIX)
581
	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
582

            
583
$(DISTVNAME).tar$(SUFFIX) : distdir
584
	$(PREOP)
585
	$(TO_UNIX)
586
	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
587
	$(RM_RF) $(DISTVNAME)
588
	$(COMPRESS) $(DISTVNAME).tar
589
	$(POSTOP)
590

            
591
zipdist : $(DISTVNAME).zip
592
	$(NOECHO) $(NOOP)
593

            
594
$(DISTVNAME).zip : distdir
595
	$(PREOP)
596
	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
597
	$(RM_RF) $(DISTVNAME)
598
	$(POSTOP)
599

            
600
shdist : distdir
601
	$(PREOP)
602
	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
603
	$(RM_RF) $(DISTVNAME)
604
	$(POSTOP)
605

            
606

            
607
# --- MakeMaker distdir section:
608
create_distdir :
609
	$(RM_RF) $(DISTVNAME)
610
	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
611
		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
612

            
613
distdir : create_distdir distmeta 
614
	$(NOECHO) $(NOOP)
615

            
616

            
617

            
618
# --- MakeMaker dist_test section:
619
disttest : distdir
620
	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
621
	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
622
	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
623

            
624

            
625

            
626
# --- MakeMaker dist_ci section:
627

            
628
ci :
629
	$(PERLRUN) "-MExtUtils::Manifest=maniread" \
630
	  -e "@all = keys %{ maniread() };" \
631
	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
632
	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
633

            
634

            
635
# --- MakeMaker distmeta section:
636
distmeta : create_distdir metafile
637
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
638
	  -e '    or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' --
639

            
640

            
641

            
642
# --- MakeMaker distsignature section:
643
distsignature : create_distdir
644
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
645
	  -e '    or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' --
646
	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
647
	cd $(DISTVNAME) && cpansign -s
648

            
649

            
650

            
651
# --- MakeMaker install section:
652

            
653
install :: all pure_install doc_install
654
	$(NOECHO) $(NOOP)
655

            
656
install_perl :: all pure_perl_install doc_perl_install
657
	$(NOECHO) $(NOOP)
658

            
659
install_site :: all pure_site_install doc_site_install
660
	$(NOECHO) $(NOOP)
661

            
662
install_vendor :: all pure_vendor_install doc_vendor_install
663
	$(NOECHO) $(NOOP)
664

            
665
pure_install :: pure_$(INSTALLDIRS)_install
666
	$(NOECHO) $(NOOP)
667

            
668
doc_install :: doc_$(INSTALLDIRS)_install
669
	$(NOECHO) $(NOOP)
670

            
671
pure__install : pure_site_install
672
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
673

            
674
doc__install : doc_site_install
675
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
676

            
677
pure_perl_install ::
678
	$(NOECHO) $(MOD_INSTALL) \
679
		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
680
		write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
681
		$(INST_LIB) $(DESTINSTALLPRIVLIB) \
682
		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
683
		$(INST_BIN) $(DESTINSTALLBIN) \
684
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
685
		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
686
		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
687
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
688
		$(SITEARCHEXP)/auto/$(FULLEXT)
689

            
690

            
691
pure_site_install ::
692
	$(NOECHO) $(MOD_INSTALL) \
693
		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
694
		write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
695
		$(INST_LIB) $(DESTINSTALLSITELIB) \
696
		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
697
		$(INST_BIN) $(DESTINSTALLSITEBIN) \
698
		$(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \
699
		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
700
		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
701
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
702
		$(PERL_ARCHLIB)/auto/$(FULLEXT)
703

            
704
pure_vendor_install ::
705
	$(NOECHO) $(MOD_INSTALL) \
706
		read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
707
		write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
708
		$(INST_LIB) $(DESTINSTALLVENDORLIB) \
709
		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
710
		$(INST_BIN) $(DESTINSTALLVENDORBIN) \
711
		$(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \
712
		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
713
		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
714

            
715
doc_perl_install ::
716
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
717
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
718
	-$(NOECHO) $(DOC_INSTALL) \
719
		"Module" "$(NAME)" \
720
		"installed into" "$(INSTALLPRIVLIB)" \
721
		LINKTYPE "$(LINKTYPE)" \
722
		VERSION "$(VERSION)" \
723
		EXE_FILES "$(EXE_FILES)" \
724
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
725

            
726
doc_site_install ::
727
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
728
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
729
	-$(NOECHO) $(DOC_INSTALL) \
730
		"Module" "$(NAME)" \
731
		"installed into" "$(INSTALLSITELIB)" \
732
		LINKTYPE "$(LINKTYPE)" \
733
		VERSION "$(VERSION)" \
734
		EXE_FILES "$(EXE_FILES)" \
735
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
736

            
737
doc_vendor_install ::
738
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
739
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
740
	-$(NOECHO) $(DOC_INSTALL) \
741
		"Module" "$(NAME)" \
742
		"installed into" "$(INSTALLVENDORLIB)" \
743
		LINKTYPE "$(LINKTYPE)" \
744
		VERSION "$(VERSION)" \
745
		EXE_FILES "$(EXE_FILES)" \
746
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
747

            
748

            
749
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
750
	$(NOECHO) $(NOOP)
751

            
752
uninstall_from_perldirs ::
753
	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
754

            
755
uninstall_from_sitedirs ::
756
	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
757

            
758
uninstall_from_vendordirs ::
759
	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
760

            
761

            
762
# --- MakeMaker force section:
763
# Phony target to force checking subdirectories.
764
FORCE :
765
	$(NOECHO) $(NOOP)
766

            
767

            
768
# --- MakeMaker perldepend section:
769

            
770

            
771
# --- MakeMaker makefile section:
772
# We take a very conservative approach here, but it's worth it.
773
# We move Makefile to Makefile.old here to avoid gnu make looping.
774
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
775
	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
776
	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
777
	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
778
	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
779
	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
780
	$(PERLRUN) Makefile.PL 
781
	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
782
	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
783
	false
784

            
785

            
786

            
787
# --- MakeMaker staticmake section:
788

            
789
# --- MakeMaker makeaperl section ---
790
MAP_TARGET    = perl
791
FULLPERL      = /usr/bin/perl
792

            
793
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
794
	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
795

            
796
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
797
	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
798
	$(NOECHO) $(PERLRUNINST) \
799
		Makefile.PL DIR= \
800
		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
801
		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
802

            
803

            
804
# --- MakeMaker test section:
805

            
806
TEST_VERBOSE=0
807
TEST_TYPE=test_$(LINKTYPE)
808
TEST_FILE = test.pl
809
TEST_FILES = t/*.t
810
TESTDB_SW = -d
811

            
812
testdb :: testdb_$(LINKTYPE)
813

            
814
test :: $(TEST_TYPE) subdirs-test
815

            
816
subdirs-test ::
817
	$(NOECHO) $(NOOP)
818

            
819

            
820
test_dynamic :: pure_all
821
	PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
822

            
823
testdb_dynamic :: pure_all
824
	PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
825

            
826
test_ : test_dynamic
827

            
828
test_static :: test_dynamic
829
testdb_static :: testdb_dynamic
830

            
831

            
832
# --- MakeMaker ppd section:
833
# Creates a PPD (Perl Package Description) for a binary distribution.
834
ppd :
835
	$(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,1620,0,0">' > $(DISTNAME).ppd
836
	$(NOECHO) $(ECHO) '    <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME).ppd
837
	$(NOECHO) $(ECHO) '    <ABSTRACT>DBI interface, having hash parameter binding and filtering system</ABSTRACT>' >> $(DISTNAME).ppd
838
	$(NOECHO) $(ECHO) '    <AUTHOR>Yuki Kimoto &lt;kimoto.yuki@gmail.com&gt;</AUTHOR>' >> $(DISTNAME).ppd
839
	$(NOECHO) $(ECHO) '    <IMPLEMENTATION>' >> $(DISTNAME).ppd
840
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="DBD-SQLite" VERSION="1,25,0,0" />' >> $(DISTNAME).ppd
841
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="DBI" VERSION="1,605,0,0" />' >> $(DISTNAME).ppd
842
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Object-Simple" VERSION="3,0201,0,0" />' >> $(DISTNAME).ppd
843
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Test-More" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
844
	$(NOECHO) $(ECHO) '        <OS NAME="$(OSNAME)" />' >> $(DISTNAME).ppd
845
	$(NOECHO) $(ECHO) '        <ARCHITECTURE NAME="i386-linux-thread-multi-5.8" />' >> $(DISTNAME).ppd
846
	$(NOECHO) $(ECHO) '        <CODEBASE HREF="" />' >> $(DISTNAME).ppd
847
	$(NOECHO) $(ECHO) '    </IMPLEMENTATION>' >> $(DISTNAME).ppd
848
	$(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
849

            
850

            
851
# --- MakeMaker pm_to_blib section:
852

            
853
pm_to_blib : $(TO_INST_PM)
854
	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')' -- \
855
	  lib/DBIx/Custom/QueryBuilder/TagProcessors.pm blib/lib/DBIx/Custom/QueryBuilder/TagProcessors.pm \
856
	  lib/DBIx/Custom/Guides/Ja.pod blib/lib/DBIx/Custom/Guides/Ja.pod \
857
	  lib/DBIx/Custom/MySQL.pm blib/lib/DBIx/Custom/MySQL.pm \
858
	  lib/DBIx/Custom/Guides.pod blib/lib/DBIx/Custom/Guides.pod \
859
	  lib/DBIx/Custom.pm blib/lib/DBIx/Custom.pm \
860
	  lib/DBIx/Custom/Query.pm blib/lib/DBIx/Custom/Query.pm \
861
	  lib/DBIx/Custom/SQLite.pm blib/lib/DBIx/Custom/SQLite.pm \
862
	  lib/DBIx/Custom/Result.pm blib/lib/DBIx/Custom/Result.pm \
863
	  lib/DBIx/Custom/QueryBuilder.pm blib/lib/DBIx/Custom/QueryBuilder.pm 
864
	$(NOECHO) $(TOUCH) pm_to_blib
865

            
866

            
867
# --- MakeMaker selfdocument section:
868

            
869

            
870
# --- MakeMaker postamble section:
871

            
872

            
873
# End.