3 # Copyright PROCURA B.V. (c) 2008-2008 H.Merijn Brand
5 require 5.006; # <- also see postamble at the bottom for META.yml
8 use ExtUtils
::MakeMaker
;
12 ABSTRACT
=> "Extended/Modified debugging utilities",
13 AUTHOR
=> "H.Merijn Brand <h.merijn\@xs4all.nl>",
14 VERSION_FROM
=> "DDumper.pm",
15 PREREQ_PM
=> { "DynaLoader" => 0,
20 clean
=> { FILES
=> join " ", qw(
30 $ExtUtils::MakeMaker
::VERSION
> 6.30 and $wm{LICENSE
} = "perl";
32 my $rv = WriteMakefile
(%wm);
40 my $valgrind = join " ", qw(
41 PERL_DESTRUCT_LEVEL=2 PERL_DL_NONLAZY=1
43 --suppressions=sandbox/perl.supp
45 --leak-resolution=high
49 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
50 "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')"
51 $(TEST_FILES
) 3>valgrind
.log
54 my $min_vsn = ($] >= 5.010 && -d
"xt" && ($ENV{AUTOMATED_TESTING
} || 0) != 1)
57 ' -@env TEST_FILES="xt/*.t" make -e test_dynamic',
67 ' -@tail -5 valgrind.log',
70 q{ sandbox/leaktest $(FULLPERLRUN) "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)},
73 ' perl sandbox/genMETA.pl -c',
76 ' perl sandbox/genMETA.pl',
78 'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
79 ' -@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
80 ' -@cpants_lint.pl $(DISTVNAME).tgz',
81 ' -@rm -f Debian_CPANTS.txt',