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