Add a parameter "destructing" to Gv_AMupdate()
[p5sagit/p5-mst-13.2.git] / ext / XS-APItest / Makefile.PL
1 use 5.008;
2 use ExtUtils::MakeMaker;
3 use ExtUtils::Constant 0.11 'WriteConstants';
4 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
5 # the contents of the Makefile that is written.
6 WriteMakefile(
7     'NAME'              => 'XS::APItest',
8     'VERSION_FROM'      => 'APItest.pm', # finds $VERSION
9     'PREREQ_PM'         => {}, # e.g., Module::Name => 1.1
10     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
11       (ABSTRACT_FROM => 'APItest.pm', # retrieve abstract from module
12        AUTHOR     => 'Tim Jenness <t.jenness@jach.hawaii.edu>, Christian Soeller <csoelle@mph.auckland.ac.nz>, Hugo van der Sanden <hv@crypt.compulink.co.uk>') : ()),
13     'C'                 => ['exception.c', 'core.c', 'notcore.c'],
14     'OBJECT'            => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
15     'LIBS'              => [''], # e.g., '-lm'
16     'DEFINE'            => '', # e.g., '-DHAVE_SOMETHING'
17     'INC'               => '-I.', # e.g., '-I. -I/usr/include/other'
18         # Un-comment this if you add C files to link with later:
19     # 'OBJECT'          => '$(O_FILES)', # link all the C files too
20     realclean => {FILES => 'const-c.inc const-xs.inc'},
21 );
22
23 WriteConstants(
24     PROXYSUBS => 1,
25     NAME => 'XS::APItest',
26     NAMES => [qw(HV_DELETE HV_DISABLE_UVAR_XKEY HV_FETCH_ISSTORE
27                  HV_FETCH_ISEXISTS HV_FETCH_LVALUE HV_FETCH_JUST_SV
28                  G_SCALAR G_ARRAY G_VOID G_DISCARD G_EVAL G_NOARGS
29                  G_KEEPERR G_NODEBUG G_METHOD G_FAKINGEVAL),
30               {name=>"G_WANT", default=>["IV", "G_ARRAY|G_VOID"]}],
31                );
32
33 sub MY::install { "install ::\n"  };