File: Makefile.PL

package info (click to toggle)
libproc-processtable-perl 0.45-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 488 kB
  • ctags: 587
  • sloc: ansic: 4,012; perl: 361; makefile: 19
file content (23 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

sub MY::c_o {
  package MY; # so that "SUPER" works right
  my $inherited = shift->SUPER::c_o(@_);
  $inherited =~ s/\$\*\.c/\$\(C_FILES\)/; 
  $inherited;
}

WriteMakefile(
    'NAME'	=> 'Proc::ProcessTable',
    'VERSION_FROM' => 'ProcessTable.pm', # finds $VERSION
    'LIBS'	=> [''],   # e.g., '-lm' 
    'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
    'INC'	=> '',     # e.g., '-I/usr/include/other' 
    'LDFROM'    => '$(O_FILES)',
    'OBJECT'    => 'ProcessTable.o OS.o',
    'PREREQ_PM'    => { 'File::Find' => 0, 'Storable' => 0 },
    'clean'     => { FILES => 'OS.c' },
    'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }
);