File: MyMakefile.PL

package info (click to toggle)
libmodule-install-xsutil-perl 0.45-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 228 kB
  • sloc: perl: 1,920; ansic: 36; makefile: 13
file content (34 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (4)
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;