DBIx-Custom / Makefile.old /
Newer Older
885 lines | 26.893kb
cleanup
Yuki Kimoto authored on 2011-04-25
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.1680
63
VERSION_MACRO = VERSION
64
VERSION_SYM = 0_1680
65
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
66
XS_VERSION = 0.1680
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/Query.pm \
171
	lib/DBIx/Custom/QueryBuilder.pm \
172
	lib/DBIx/Custom/Result.pm \
173
	lib/DBIx/Custom/Tag.pm \
174
	lib/DBIx/Custom/Util.pm \
175
	lib/DBIx/Custom/Where.pm
176

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

            
180
# Where to build things
181
INST_LIBDIR      = $(INST_LIB)/DBIx
182
INST_ARCHLIBDIR  = $(INST_ARCHLIB)/DBIx
183

            
184
INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
185
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
186

            
187
INST_STATIC      = 
188
INST_DYNAMIC     = 
189
INST_BOOT        = 
190

            
191
# Extra linker info
192
EXPORT_LIST        = 
193
PERL_ARCHIVE       = 
194
PERL_ARCHIVE_AFTER = 
195

            
196

            
197
TO_INST_PM = lib/DBIx/Custom.pm \
198
	lib/DBIx/Custom/Guide.pod \
199
	lib/DBIx/Custom/Guide/Ja.pod \
200
	lib/DBIx/Custom/Model.pm \
201
	lib/DBIx/Custom/Query.pm \
202
	lib/DBIx/Custom/QueryBuilder.pm \
203
	lib/DBIx/Custom/Result.pm \
204
	lib/DBIx/Custom/Tag.pm \
205
	lib/DBIx/Custom/Util.pm \
206
	lib/DBIx/Custom/Where.pm
207

            
208
PM_TO_BLIB = lib/DBIx/Custom/Tag.pm \
209
	blib/lib/DBIx/Custom/Tag.pm \
210
	lib/DBIx/Custom/Guide/Ja.pod \
211
	blib/lib/DBIx/Custom/Guide/Ja.pod \
212
	lib/DBIx/Custom/Util.pm \
213
	blib/lib/DBIx/Custom/Util.pm \
214
	lib/DBIx/Custom/Guide.pod \
215
	blib/lib/DBIx/Custom/Guide.pod \
216
	lib/DBIx/Custom/Where.pm \
217
	blib/lib/DBIx/Custom/Where.pm \
218
	lib/DBIx/Custom/Model.pm \
219
	blib/lib/DBIx/Custom/Model.pm \
220
	lib/DBIx/Custom.pm \
221
	blib/lib/DBIx/Custom.pm \
222
	lib/DBIx/Custom/Query.pm \
223
	blib/lib/DBIx/Custom/Query.pm \
224
	lib/DBIx/Custom/Result.pm \
225
	blib/lib/DBIx/Custom/Result.pm \
226
	lib/DBIx/Custom/QueryBuilder.pm \
227
	blib/lib/DBIx/Custom/QueryBuilder.pm
228

            
229

            
230
# --- MakeMaker platform_constants section:
231
MM_Unix_VERSION = 6.56
232
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
233

            
234

            
235
# --- MakeMaker tool_autosplit section:
236
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
237
AUTOSPLITFILE = $(ABSPERLRUN)  -e 'use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' --
238

            
239

            
240

            
241
# --- MakeMaker tool_xsubpp section:
242

            
243

            
244
# --- MakeMaker tools_other section:
245
SHELL = /bin/sh
246
CHMOD = chmod
247
CP = cp
248
MV = mv
249
NOOP = $(TRUE)
250
NOECHO = @
251
RM_F = rm -f
252
RM_RF = rm -rf
253
TEST_F = test -f
254
TOUCH = touch
255
UMASK_NULL = umask 0
256
DEV_NULL = > /dev/null 2>&1
257
MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' --
258
EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' --
259
FALSE = false
260
TRUE = true
261
ECHO = echo
262
ECHO_N = echo -n
263
UNINST = 0
264
VERBINST = 0
265
MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' --
266
DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' --
267
UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' --
268
WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' --
269
MACROSTART = 
270
MACROEND = 
271
USEMAKEFILE = -f
272
FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' --
273

            
274

            
275
# --- MakeMaker makemakerdflt section:
276
makemakerdflt : all
277
	$(NOECHO) $(NOOP)
278

            
279

            
280
# --- MakeMaker dist section:
281
TAR = tar
282
TARFLAGS = cvf
283
ZIP = zip
284
ZIPFLAGS = -r
285
COMPRESS = gzip -9f
286
SUFFIX = gz
287
SHAR = shar
288
PREOP = $(NOECHO) $(NOOP)
289
POSTOP = $(NOECHO) $(NOOP)
290
TO_UNIX = $(NOECHO) $(NOOP)
291
CI = ci -u
292
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
293
DIST_CP = best
294
DIST_DEFAULT = tardist
295
DISTNAME = DBIx-Custom
296
DISTVNAME = DBIx-Custom-0.1680
297

            
298

            
299
# --- MakeMaker macro section:
300

            
301

            
302
# --- MakeMaker depend section:
303

            
304

            
305
# --- MakeMaker cflags section:
306

            
307

            
308
# --- MakeMaker const_loadlibs section:
309

            
310

            
311
# --- MakeMaker const_cccmd section:
312

            
313

            
314
# --- MakeMaker post_constants section:
315

            
316

            
317
# --- MakeMaker pasthru section:
318

            
319
PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
320
	LINKTYPE="$(LINKTYPE)"\
321
	PREFIX="$(PREFIX)"
322

            
323

            
324
# --- MakeMaker special_targets section:
325
.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
326

            
327
.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
328

            
329

            
330

            
331
# --- MakeMaker c_o section:
332

            
333

            
334
# --- MakeMaker xs_c section:
335

            
336

            
337
# --- MakeMaker xs_o section:
338

            
339

            
340
# --- MakeMaker top_targets section:
341
all :: pure_all manifypods
342
	$(NOECHO) $(NOOP)
343

            
344

            
345
pure_all :: config pm_to_blib subdirs linkext
346
	$(NOECHO) $(NOOP)
347

            
348
subdirs :: $(MYEXTLIB)
349
	$(NOECHO) $(NOOP)
350

            
351
config :: $(FIRST_MAKEFILE) blibdirs
352
	$(NOECHO) $(NOOP)
353

            
354
help :
355
	perldoc ExtUtils::MakeMaker
356

            
357

            
358
# --- MakeMaker blibdirs section:
359
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
360
	$(NOECHO) $(NOOP)
361

            
362
# Backwards compat with 6.18 through 6.25
363
blibdirs.ts : blibdirs
364
	$(NOECHO) $(NOOP)
365

            
366
$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
367
	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
368
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR)
369
	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
370

            
371
$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
372
	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
373
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB)
374
	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
375

            
376
$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
377
	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
378
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR)
379
	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
380

            
381
$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
382
	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
383
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR)
384
	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
385

            
386
$(INST_BIN)$(DFSEP).exists :: Makefile.PL
387
	$(NOECHO) $(MKPATH) $(INST_BIN)
388
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN)
389
	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
390

            
391
$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
392
	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
393
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT)
394
	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
395

            
396
$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
397
	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
398
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR)
399
	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
400

            
401
$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
402
	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
403
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR)
404
	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
405

            
406

            
407

            
408
# --- MakeMaker linkext section:
409

            
410
linkext :: $(LINKTYPE)
411
	$(NOECHO) $(NOOP)
412

            
413

            
414
# --- MakeMaker dlsyms section:
415

            
416

            
417
# --- MakeMaker dynamic section:
418

            
419
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
420
	$(NOECHO) $(NOOP)
421

            
422

            
423
# --- MakeMaker dynamic_bs section:
424

            
425
BOOTSTRAP =
426

            
427

            
428
# --- MakeMaker dynamic_lib section:
429

            
430

            
431
# --- MakeMaker static section:
432

            
433
## $(INST_PM) has been moved to the all: target.
434
## It remains here for awhile to allow for old usage: "make static"
435
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
436
	$(NOECHO) $(NOOP)
437

            
438

            
439
# --- MakeMaker static_lib section:
440

            
441

            
442
# --- MakeMaker manifypods section:
443

            
444
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
445
POD2MAN = $(POD2MAN_EXE)
446

            
447

            
448
manifypods : pure_all  \
449
	lib/DBIx/Custom/Tag.pm \
450
	lib/DBIx/Custom/Guide/Ja.pod \
451
	lib/DBIx/Custom/Util.pm \
452
	lib/DBIx/Custom/Guide.pod \
453
	lib/DBIx/Custom/Where.pm \
454
	lib/DBIx/Custom/Model.pm \
455
	lib/DBIx/Custom.pm \
456
	lib/DBIx/Custom/Query.pm \
457
	lib/DBIx/Custom/Result.pm \
458
	lib/DBIx/Custom/QueryBuilder.pm
459
	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
460
	  lib/DBIx/Custom/Tag.pm $(INST_MAN3DIR)/DBIx::Custom::Tag.$(MAN3EXT) \
461
	  lib/DBIx/Custom/Guide/Ja.pod $(INST_MAN3DIR)/DBIx::Custom::Guide::Ja.$(MAN3EXT) \
462
	  lib/DBIx/Custom/Util.pm $(INST_MAN3DIR)/DBIx::Custom::Util.$(MAN3EXT) \
463
	  lib/DBIx/Custom/Guide.pod $(INST_MAN3DIR)/DBIx::Custom::Guide.$(MAN3EXT) \
464
	  lib/DBIx/Custom/Where.pm $(INST_MAN3DIR)/DBIx::Custom::Where.$(MAN3EXT) \
465
	  lib/DBIx/Custom/Model.pm $(INST_MAN3DIR)/DBIx::Custom::Model.$(MAN3EXT) \
466
	  lib/DBIx/Custom.pm $(INST_MAN3DIR)/DBIx::Custom.$(MAN3EXT) \
467
	  lib/DBIx/Custom/Query.pm $(INST_MAN3DIR)/DBIx::Custom::Query.$(MAN3EXT) \
468
	  lib/DBIx/Custom/Result.pm $(INST_MAN3DIR)/DBIx::Custom::Result.$(MAN3EXT) \
469
	  lib/DBIx/Custom/QueryBuilder.pm $(INST_MAN3DIR)/DBIx::Custom::QueryBuilder.$(MAN3EXT) 
470

            
471

            
472

            
473

            
474
# --- MakeMaker processPL section:
475

            
476

            
477
# --- MakeMaker installbin section:
478

            
479

            
480
# --- MakeMaker subdirs section:
481

            
482
# none
483

            
484
# --- MakeMaker clean_subdirs section:
485
clean_subdirs :
486
	$(NOECHO) $(NOOP)
487

            
488

            
489
# --- MakeMaker clean section:
490

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

            
494
clean :: clean_subdirs
495
	- $(RM_F) \
496
	  *$(LIB_EXT) core \
497
	  core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
498
	  core.[0-9][0-9] $(BASEEXT).bso \
499
	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
500
	  $(BASEEXT).x $(BOOTSTRAP) \
501
	  perl$(EXE_EXT) tmon.out \
502
	  *$(OBJ_EXT) pm_to_blib \
503
	  $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
504
	  core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
505
	  core.*perl.*.? $(MAKE_APERL_FILE) \
506
	  perl $(BASEEXT).def \
507
	  core.[0-9][0-9][0-9] mon.out \
508
	  lib$(BASEEXT).def perlmain.c \
509
	  perl.exe so_locations \
510
	  $(BASEEXT).exp 
511
	- $(RM_RF) \
512
	  DBIx-Custom-* blib 
513
	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
514

            
515

            
516
# --- MakeMaker realclean_subdirs section:
517
realclean_subdirs :
518
	$(NOECHO) $(NOOP)
519

            
520

            
521
# --- MakeMaker realclean section:
522
# Delete temporary files (via clean) and also delete dist files
523
realclean purge ::  clean realclean_subdirs
524
	- $(RM_F) \
525
	  $(MAKEFILE_OLD) $(FIRST_MAKEFILE) 
526
	- $(RM_RF) \
527
	  $(DISTVNAME) 
528

            
529

            
530
# --- MakeMaker metafile section:
531
metafile : create_distdir
532
	$(NOECHO) $(ECHO) Generating META.yml
533
	$(NOECHO) $(ECHO) '--- #YAML:1.0' > META_new.yml
534
	$(NOECHO) $(ECHO) 'name:               DBIx-Custom' >> META_new.yml
535
	$(NOECHO) $(ECHO) 'version:            0.1680' >> META_new.yml
536
	$(NOECHO) $(ECHO) 'abstract:           Useful database access, respecting SQL!' >> META_new.yml
537
	$(NOECHO) $(ECHO) 'author:' >> META_new.yml
538
	$(NOECHO) $(ECHO) '    - Yuki Kimoto <kimoto.yuki@gmail.com>' >> META_new.yml
539
	$(NOECHO) $(ECHO) 'license:            perl' >> META_new.yml
540
	$(NOECHO) $(ECHO) 'distribution_type:  module' >> META_new.yml
541
	$(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml
542
	$(NOECHO) $(ECHO) '    ExtUtils::MakeMaker:  0' >> META_new.yml
543
	$(NOECHO) $(ECHO) 'build_requires:' >> META_new.yml
544
	$(NOECHO) $(ECHO) '    ExtUtils::MakeMaker:  0' >> META_new.yml
545
	$(NOECHO) $(ECHO) 'requires:' >> META_new.yml
546
	$(NOECHO) $(ECHO) '    DBD::SQLite:     1.25' >> META_new.yml
547
	$(NOECHO) $(ECHO) '    DBI:             1.605' >> META_new.yml
548
	$(NOECHO) $(ECHO) '    Object::Simple:  3.0616' >> META_new.yml
549
	$(NOECHO) $(ECHO) '    Test::More:      0' >> META_new.yml
550
	$(NOECHO) $(ECHO) 'no_index:' >> META_new.yml
551
	$(NOECHO) $(ECHO) '    directory:' >> META_new.yml
552
	$(NOECHO) $(ECHO) '        - t' >> META_new.yml
553
	$(NOECHO) $(ECHO) '        - inc' >> META_new.yml
554
	$(NOECHO) $(ECHO) 'generated_by:       ExtUtils::MakeMaker version 6.56' >> META_new.yml
555
	$(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml
556
	$(NOECHO) $(ECHO) '    url:      http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml
557
	$(NOECHO) $(ECHO) '    version:  1.4' >> META_new.yml
558
	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
559

            
560

            
561
# --- MakeMaker signature section:
562
signature :
563
	cpansign -s
564

            
565

            
566
# --- MakeMaker dist_basics section:
567
distclean :: realclean distcheck
568
	$(NOECHO) $(NOOP)
569

            
570
distcheck :
571
	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
572

            
573
skipcheck :
574
	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
575

            
576
manifest :
577
	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
578

            
579
veryclean : realclean
580
	$(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old 
581

            
582

            
583

            
584
# --- MakeMaker dist_core section:
585

            
586
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
587
	$(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
588
	  -e '    if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' --
589

            
590
tardist : $(DISTVNAME).tar$(SUFFIX)
591
	$(NOECHO) $(NOOP)
592

            
593
uutardist : $(DISTVNAME).tar$(SUFFIX)
594
	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
595

            
596
$(DISTVNAME).tar$(SUFFIX) : distdir
597
	$(PREOP)
598
	$(TO_UNIX)
599
	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
600
	$(RM_RF) $(DISTVNAME)
601
	$(COMPRESS) $(DISTVNAME).tar
602
	$(POSTOP)
603

            
604
zipdist : $(DISTVNAME).zip
605
	$(NOECHO) $(NOOP)
606

            
607
$(DISTVNAME).zip : distdir
608
	$(PREOP)
609
	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
610
	$(RM_RF) $(DISTVNAME)
611
	$(POSTOP)
612

            
613
shdist : distdir
614
	$(PREOP)
615
	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
616
	$(RM_RF) $(DISTVNAME)
617
	$(POSTOP)
618

            
619

            
620
# --- MakeMaker distdir section:
621
create_distdir :
622
	$(RM_RF) $(DISTVNAME)
623
	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
624
		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
625

            
626
distdir : create_distdir distmeta 
627
	$(NOECHO) $(NOOP)
628

            
629

            
630

            
631
# --- MakeMaker dist_test section:
632
disttest : distdir
633
	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
634
	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
635
	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
636

            
637

            
638

            
639
# --- MakeMaker dist_ci section:
640

            
641
ci :
642
	$(PERLRUN) "-MExtUtils::Manifest=maniread" \
643
	  -e "@all = keys %{ maniread() };" \
644
	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
645
	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
646

            
647

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

            
653

            
654

            
655
# --- MakeMaker distsignature section:
656
distsignature : create_distdir
657
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
658
	  -e '    or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' --
659
	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
660
	cd $(DISTVNAME) && cpansign -s
661

            
662

            
663

            
664
# --- MakeMaker install section:
665

            
666
install :: pure_install doc_install
667
	$(NOECHO) $(NOOP)
668

            
669
install_perl :: pure_perl_install doc_perl_install
670
	$(NOECHO) $(NOOP)
671

            
672
install_site :: pure_site_install doc_site_install
673
	$(NOECHO) $(NOOP)
674

            
675
install_vendor :: pure_vendor_install doc_vendor_install
676
	$(NOECHO) $(NOOP)
677

            
678
pure_install :: pure_$(INSTALLDIRS)_install
679
	$(NOECHO) $(NOOP)
680

            
681
doc_install :: doc_$(INSTALLDIRS)_install
682
	$(NOECHO) $(NOOP)
683

            
684
pure__install : pure_site_install
685
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
686

            
687
doc__install : doc_site_install
688
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
689

            
690
pure_perl_install :: all
691
	$(NOECHO) $(MOD_INSTALL) \
692
		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
693
		write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
694
		$(INST_LIB) $(DESTINSTALLPRIVLIB) \
695
		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
696
		$(INST_BIN) $(DESTINSTALLBIN) \
697
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
698
		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
699
		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
700
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
701
		$(SITEARCHEXP)/auto/$(FULLEXT)
702

            
703

            
704
pure_site_install :: all
705
	$(NOECHO) $(MOD_INSTALL) \
706
		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
707
		write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
708
		$(INST_LIB) $(DESTINSTALLSITELIB) \
709
		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
710
		$(INST_BIN) $(DESTINSTALLSITEBIN) \
711
		$(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \
712
		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
713
		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
714
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
715
		$(PERL_ARCHLIB)/auto/$(FULLEXT)
716

            
717
pure_vendor_install :: all
718
	$(NOECHO) $(MOD_INSTALL) \
719
		read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
720
		write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
721
		$(INST_LIB) $(DESTINSTALLVENDORLIB) \
722
		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
723
		$(INST_BIN) $(DESTINSTALLVENDORBIN) \
724
		$(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \
725
		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
726
		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
727

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

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

            
750
doc_vendor_install :: all
751
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
752
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
753
	-$(NOECHO) $(DOC_INSTALL) \
754
		"Module" "$(NAME)" \
755
		"installed into" "$(INSTALLVENDORLIB)" \
756
		LINKTYPE "$(LINKTYPE)" \
757
		VERSION "$(VERSION)" \
758
		EXE_FILES "$(EXE_FILES)" \
759
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
760

            
761

            
762
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
763
	$(NOECHO) $(NOOP)
764

            
765
uninstall_from_perldirs ::
766
	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
767

            
768
uninstall_from_sitedirs ::
769
	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
770

            
771
uninstall_from_vendordirs ::
772
	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
773

            
774

            
775
# --- MakeMaker force section:
776
# Phony target to force checking subdirectories.
777
FORCE :
778
	$(NOECHO) $(NOOP)
779

            
780

            
781
# --- MakeMaker perldepend section:
782

            
783

            
784
# --- MakeMaker makefile section:
785
# We take a very conservative approach here, but it's worth it.
786
# We move Makefile to Makefile.old here to avoid gnu make looping.
787
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
788
	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
789
	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
790
	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
791
	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
792
	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
793
	$(PERLRUN) Makefile.PL 
794
	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
795
	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
796
	$(FALSE)
797

            
798

            
799

            
800
# --- MakeMaker staticmake section:
801

            
802
# --- MakeMaker makeaperl section ---
803
MAP_TARGET    = perl
804
FULLPERL      = /usr/bin/perl
805

            
806
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
807
	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
808

            
809
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
810
	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
811
	$(NOECHO) $(PERLRUNINST) \
812
		Makefile.PL DIR= \
813
		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
814
		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
815

            
816

            
817
# --- MakeMaker test section:
818

            
819
TEST_VERBOSE=0
820
TEST_TYPE=test_$(LINKTYPE)
821
TEST_FILE = test.pl
822
TEST_FILES = t/*.t
823
TESTDB_SW = -d
824

            
825
testdb :: testdb_$(LINKTYPE)
826

            
827
test :: $(TEST_TYPE) subdirs-test
828

            
829
subdirs-test ::
830
	$(NOECHO) $(NOOP)
831

            
832

            
833
test_dynamic :: pure_all
834
	PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
835

            
836
testdb_dynamic :: pure_all
837
	PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
838

            
839
test_ : test_dynamic
840

            
841
test_static :: test_dynamic
842
testdb_static :: testdb_dynamic
843

            
844

            
845
# --- MakeMaker ppd section:
846
# Creates a PPD (Perl Package Description) for a binary distribution.
847
ppd :
848
	$(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0.1680">' > $(DISTNAME).ppd
849
	$(NOECHO) $(ECHO) '    <ABSTRACT>Useful database access, respecting SQL!</ABSTRACT>' >> $(DISTNAME).ppd
850
	$(NOECHO) $(ECHO) '    <AUTHOR>Yuki Kimoto &lt;kimoto.yuki@gmail.com&gt;</AUTHOR>' >> $(DISTNAME).ppd
851
	$(NOECHO) $(ECHO) '    <IMPLEMENTATION>' >> $(DISTNAME).ppd
852
	$(NOECHO) $(ECHO) '        <REQUIRE NAME="DBD::SQLite" VERSION="1.25" />' >> $(DISTNAME).ppd
853
	$(NOECHO) $(ECHO) '        <REQUIRE NAME="DBI::" VERSION="1.605" />' >> $(DISTNAME).ppd
854
	$(NOECHO) $(ECHO) '        <REQUIRE NAME="Object::Simple" VERSION="3.0616" />' >> $(DISTNAME).ppd
855
	$(NOECHO) $(ECHO) '        <REQUIRE NAME="Test::More" />' >> $(DISTNAME).ppd
856
	$(NOECHO) $(ECHO) '        <ARCHITECTURE NAME="i386-linux-thread-multi-5.8" />' >> $(DISTNAME).ppd
857
	$(NOECHO) $(ECHO) '        <CODEBASE HREF="" />' >> $(DISTNAME).ppd
858
	$(NOECHO) $(ECHO) '    </IMPLEMENTATION>' >> $(DISTNAME).ppd
859
	$(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
860

            
861

            
862
# --- MakeMaker pm_to_blib section:
863

            
864
pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
865
	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \
866
	  lib/DBIx/Custom/Tag.pm blib/lib/DBIx/Custom/Tag.pm \
867
	  lib/DBIx/Custom/Guide/Ja.pod blib/lib/DBIx/Custom/Guide/Ja.pod \
868
	  lib/DBIx/Custom/Util.pm blib/lib/DBIx/Custom/Util.pm \
869
	  lib/DBIx/Custom/Guide.pod blib/lib/DBIx/Custom/Guide.pod \
870
	  lib/DBIx/Custom/Where.pm blib/lib/DBIx/Custom/Where.pm \
871
	  lib/DBIx/Custom/Model.pm blib/lib/DBIx/Custom/Model.pm \
872
	  lib/DBIx/Custom.pm blib/lib/DBIx/Custom.pm \
873
	  lib/DBIx/Custom/Query.pm blib/lib/DBIx/Custom/Query.pm \
874
	  lib/DBIx/Custom/Result.pm blib/lib/DBIx/Custom/Result.pm \
875
	  lib/DBIx/Custom/QueryBuilder.pm blib/lib/DBIx/Custom/QueryBuilder.pm 
876
	$(NOECHO) $(TOUCH) pm_to_blib
877

            
878

            
879
# --- MakeMaker selfdocument section:
880

            
881

            
882
# --- MakeMaker postamble section:
883

            
884

            
885
# End.