File: MyMakefile.PL

package info (click to toggle)
libmodule-install-xsutil-perl 0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 216 kB
  • ctags: 150
  • sloc: perl: 1,746; ansic: 40; makefile: 13
file content (33 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
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
#!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;

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;