1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#!perl -w
use strict;
use FindBin qw($Bin);
use File::Spec;
use lib File::Spec->join($Bin, '..', 'lib');
use Config;
use inc::Module::Install;
BEGIN{
@ARGV = qw(-g) unless @ARGV;
}
all_from 'lib/Foo.pm';
requires_xs 'B::Hooks::OP::Annotation'; # for testing only
use_ppport 3.19;
use_xshelper -clean;
cc_warnings;
requires_c99 if $Config{gccversion};
cc_include_paths 'include';
cc_src_paths 'src';
cc_define -DFOO_OK;
install_headers;
WriteAll check_nmake => 0;
|