Leser: 1
|< 1 2 3 >| | 22 Einträge, 3 Seiten |
Quotelinux:~/.cpan/build/PadWalker-0.10 # cat Makefile.PL
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'PadWalker',
'VERSION_FROM' => 'PadWalker.pm', # finds $VERSION
'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
);
linux:~/.cpan/build/PadWalker-0.10 #
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
# $Id: Makefile.PL,v 1.0 2001/10/30 13:57:31 dada Exp $
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Win32::API',
($] < 5.005 ? () : (
'AUTHOR' => 'Aldo Calpini <dada@perl.it>',
'ABSTRACT' => 'Perl Win32 API Import Facility',
)),
'PM' => {
'API.pm' => '$(INST_LIBDIR)/API.pm',
'Type.pm' => '$(INST_LIBDIR)/API/Type.pm',
'Struct.pm' => '$(INST_LIBDIR)/API/Struct.pm',
'Callback.pm' => '$(INST_LIBDIR)/API/Callback.pm',
},
'VERSION_FROM' => 'API.pm',
'dist' => {COMPRESS => 'gzip -9f', SUFFIX => 'gz'},
'clean' => {FILES => 'API_test.dll API_test_dll/Release/*'},
);
package MY;
sub test {
my $inherited = shift->SUPER::test(@_);
$inherited =~ s{(test_dynamic\s+::\s+pure_all\s*\n)}
{$1\t\@cd API_test_dll && \$(MAKE)\n};
return $inherited;
}
QuoteINC
Include file dirs eg: "-I/usr/5include -I/path/to/inc"
|< 1 2 3 >| | 22 Einträge, 3 Seiten |