File: Makefile.PL

package info (click to toggle)
pdl 2.005-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,200 kB
  • ctags: 3,301
  • sloc: perl: 14,876; ansic: 7,223; fortran: 3,417; makefile: 54; sh: 16
file content (38 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (5)
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
35
36
37
38
BEGIN {
  PDL::Core::Dev->import();
  $skip = 0;
  if ($^O =~ /win32/i) {
    write_dummy_make(unsupported('PDL::Graphics::IIS','win32'));
    $skip=1;
  }
}

goto SKIP if $skip;

# Makefile.PL for PDL::Graphics::IIS module.

# Use this as a template for the Makefile.PL for
# any external PDL module.


#use PDL::Core::Dev;
PDL::Core::Dev->import();

use ExtUtils::MakeMaker;

# Replace this wit:e

@pack = (["iis.pd",IIS,PDL::Graphics::IIS]);

#WriteMakefile(
# pdlpp_stdargs_int(@::pack)
#);
%hash = pdlpp_stdargs_int(@::pack);
$hash{LIBS} = ['-lm'];
WriteMakefile(%hash);

sub MY::postamble {
	pdlpp_postamble_int(@::pack);
}  # Add genpp rule

SKIP: return;