This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove unneeded 'use' from ext/XS-APItest/t/peep.t Devel::Peek is not used by ext...
[perl5.git] / ext / XS-APItest / Makefile.PL
1 use 5.008;
2 use ExtUtils::MakeMaker;
3 use ExtUtils::Constant 0.11 'WriteConstants';
4 use Config;
5
6 WriteMakefile(
7     'NAME'              => 'XS::APItest',
8     'VERSION_FROM'      => 'APItest.pm', # finds $VERSION
9     'PREREQ_PM'         => {}, # e.g., Module::Name => 1.1
10     ABSTRACT_FROM       => 'APItest.pm', # retrieve abstract from module
11     AUTHOR              => 'Tim Jenness <t.jenness@jach.hawaii.edu>, Christian Soeller <csoelle@mph.auckland.ac.nz>, Hugo van der Sanden <hv@crypt.compulink.co.uk>',
12     'C'                 => ['exception.c', 'core.c', 'notcore.c'],
13     'OBJECT'            => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
14     realclean => {FILES => 'const-c.inc const-xs.inc'},
15     ($Config{gccversion} && $Config{d_attribute_deprecated} ?
16       (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : ()),
17 );
18
19 WriteConstants(
20     PROXYSUBS => 1,
21     NAME => 'XS::APItest',
22     NAMES => [qw(HV_DELETE HV_DISABLE_UVAR_XKEY HV_FETCH_ISSTORE
23                  HV_FETCH_ISEXISTS HV_FETCH_LVALUE HV_FETCH_JUST_SV
24                  G_SCALAR G_ARRAY G_VOID G_DISCARD G_EVAL G_NOARGS
25                  G_KEEPERR G_NODEBUG G_METHOD G_FAKINGEVAL),
26               {name=>"G_WANT", default=>["IV", "G_ARRAY|G_VOID"]}],
27                );
28
29 sub MY::install { "install ::\n"  };