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