Commit | Line | Data |
0a7c7f4f |
1 | use ExtUtils::MakeMaker; |
2 | |
3 | WriteMakefile( |
44284200 |
4 | NAME => "Devel::PPPort", |
5 | DISTNAME => "Devel-PPPort", |
6 | VERSION_FROM=> 'PPPort.pm', |
7 | |
0a7020c9 |
8 | #PM => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'}, |
1b9d2259 |
9 | C => [qw(module2.c module3.c)], |
10 | H => [qw(ppport.h)], |
11 | OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)', |
44284200 |
12 | XSPROTOARG => '-noprototypes', |
13 | 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, |
1b9d2259 |
14 | 'clean' => { FILES => qw($(H_FILES))} |
0a7c7f4f |
15 | ); |
44284200 |
16 | |
17 | sub MY::postamble { |
90e434f8 |
18 | return <<"EOM"; |
44284200 |
19 | |
1b9d2259 |
20 | \$(H_FILES) : ppport_h.PL |
21 | \$(PERLRUNINST) ppport_h.PL |
44284200 |
22 | |
1b9d2259 |
23 | \$(OBJECT) : \$(H_FILES) |
44284200 |
24 | |
25 | EOM |
44284200 |
26 | } |