Commit | Line | Data |
---|---|---|
3e61d65a JH |
1 | use 5.008; |
2 | use ExtUtils::MakeMaker; | |
3 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence | |
4 | # the contents of the Makefile that is written. | |
5 | WriteMakefile( | |
6 | 'NAME' => 'XS::APItest', | |
7 | 'VERSION_FROM' => 'APItest.pm', # finds $VERSION | |
8 | 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 | |
9 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 | |
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)', |
3e61d65a JH |
14 | 'LIBS' => [''], # e.g., '-lm' |
15 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' | |
16 | 'INC' => '-I.', # e.g., '-I. -I/usr/include/other' | |
17 | # Un-comment this if you add C files to link with later: | |
18 | # 'OBJECT' => '$(O_FILES)', # link all the C files too | |
9fdbfc11 | 19 | MAN3PODS => {}, # Pods will be built by installman. |
3e61d65a JH |
20 | ); |
21 | ||
22 | sub MY::install { "install ::\n" }; |