1# This Makefile.PL for XS-Object-Magic was generated by
2# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
3# Don't edit it but the dist.ini and plugins used to construct it.
4
5use strict;
6use warnings;
7
8use 5.008001;
9use ExtUtils::MakeMaker;
10
11use ExtUtils::Depends 0.302;
12my $pkg = ExtUtils::Depends->new('XS::Object::Magic');
13$pkg->install('xs_object_magic.h');
14$pkg->add_xs('Magic.xs');
15$pkg->add_pm('lib/XS/Object/Magic.pm' => '$(INST_LIB)/XS/Object/Magic.pm');
16$pkg->add_typemaps('typemap');
17mkdir 'build';
18$pkg->save_config('build/IFiles.pm');
19
20my %WriteMakefileArgs = (
21  "ABSTRACT" => "Opaque, extensible XS pointer backed objects using C<sv_magic>",
22  "AUTHOR" => "\x{5d9}\x{5d5}\x{5d1}\x{5dc} \x{5e7}\x{5d5}\x{5d2}'\x{5de}\x{5df} (Yuval Kogman) <nothingmuch\@woobling.org>",
23  "CONFIGURE_REQUIRES" => {
24    "ExtUtils::Depends" => "0.302",
25    "ExtUtils::MakeMaker" => 0
26  },
27  "DISTNAME" => "XS-Object-Magic",
28  "LICENSE" => "perl",
29  "MIN_PERL_VERSION" => "5.008001",
30  "NAME" => "XS::Object::Magic",
31  "PREREQ_PM" => {
32    "DynaLoader" => 0,
33    "parent" => 0,
34    "strict" => 0,
35    "warnings" => 0
36  },
37  "TEST_REQUIRES" => {
38    "ExtUtils::MakeMaker" => 0,
39    "File::Spec" => 0,
40    "Scalar::Util" => 0,
41    "Test::Fatal" => 0,
42    "Test::More" => 0,
43    "ok" => 0
44  },
45  "VERSION" => "0.05",
46  "test" => {
47    "TESTS" => "t/*.t"
48  }
49);
50
51%WriteMakefileArgs = (
52    %WriteMakefileArgs,
53    $pkg->get_makefile_vars,
54    DL_FUNCS => { 'XS::Object::Magic' => [] },
55    TYPEMAPS => [qw(typemap test_typemap)],
56);
57
58my %FallbackPrereqs = (
59  "DynaLoader" => 0,
60  "ExtUtils::MakeMaker" => 0,
61  "File::Spec" => 0,
62  "Scalar::Util" => 0,
63  "Test::Fatal" => 0,
64  "Test::More" => 0,
65  "ok" => 0,
66  "parent" => 0,
67  "strict" => 0,
68  "warnings" => 0
69);
70
71unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
72  delete $WriteMakefileArgs{TEST_REQUIRES};
73  delete $WriteMakefileArgs{BUILD_REQUIRES};
74  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
75}
76
77delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
78  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
79
80WriteMakefile(%WriteMakefileArgs);
81