mstats() isn't very portable
[p5sagit/Devel-Size.git] / Makefile.PL
index 73d3874..2fe9deb 100644 (file)
@@ -9,10 +9,12 @@ use Config;
 my $ptr_bits = length $1;
 
 WriteMakefile(
-             NAME => 'Devel::Size',
-             VERSION_FROM => 'lib/Devel/Size.pm',
-             DEFINE => "-DALIGN_BITS=$ptr_bits",
-             PREREQ_PM => { 'Test::More' => 0, XSLoader => 0, },
-             (eval $ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.005') : ()),
-             (eval $ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
+    OPTIMIZE => "-g",
+    NAME => 'Devel::Memory',
+    VERSION_FROM => 'lib/Devel/Memory.pm',
+    DEFINE => "-DALIGN_BITS=$ptr_bits",
+    PREREQ_PM => { 'Test::More' => 0, XSLoader => 0, },
+    EXE_FILES => [ 'bin/dmemtree.pl' ],
+    (eval $ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.005') : ()),
+    (eval $ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
 );