blob: 0259a05e5a8f5c5f6a678e9ef195915a7ff81165 (
plain)
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
|
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => "Devel::PPPort",
DISTNAME => "Devel-PPPort",
VERSION_FROM=> 'PPPort.pm',
#PM => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'},
C => [qw(module2.c module3.c)],
H => [qw(ppport.h)],
OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
XSPROTOARG => '-noprototypes',
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
'clean' => { FILES => qw($(H_FILES))}
);
sub MY::postamble {
return <<"EOM";
\$(H_FILES) : ppport_h.PL
\$(PERLRUNINST) ppport_h.PL
\$(OBJECT) : \$(H_FILES)
EOM
}
|