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
CommitLineData
3e61d65a
JH
1use 5.008;
2use ExtUtils::MakeMaker;
55289a74 3use ExtUtils::Constant 0.11 'WriteConstants';
95ddc675 4use Config;
42ef68d0 5
3e61d65a
JH
6WriteMakefile(
7 'NAME' => 'XS::APItest',
8 'VERSION_FROM' => 'APItest.pm', # finds $VERSION
9 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
8c5ae9a3
NC
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>',
34482cd6 12 'C' => ['exception.c', 'core.c', 'notcore.c'],
9b5c3821 13 'OBJECT' => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
55289a74 14 realclean => {FILES => 'const-c.inc const-xs.inc'},
95ddc675 15 ($Config{gccversion} && $Config{d_attribute_deprecated} ?
42ef68d0 16 (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : ()),
55289a74
NC
17);
18
19WriteConstants(
20 PROXYSUBS => 1,
21 NAME => 'XS::APItest',
b8d2d791
NC
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 );
3e61d65a
JH
28
29sub MY::install { "install ::\n" };