File: Makefile.PL

package info (click to toggle)
pdl 1.99988-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,908 kB
  • ctags: 3,426
  • sloc: perl: 15,352; ansic: 7,852; fortran: 3,327; makefile: 39; sh: 19
file content (28 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
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
BEGIN {
  PDL::Core::Dev->import();
  $skip = 0;
  if ($^O =~ /win32/i) {
    write_dummy_make(unsupported('PDL::Graphics::OpenGLQ','win32'));
    $skip=1;
  }
}

goto SKIP if $skip;
use ExtUtils::MakeMaker;

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

@pack = (["openglq.pd",OpenGLQ,PDL::Graphics::OpenGLQ]);
%hash = pdlpp_stdargs_int(@::pack);
foreach (@{$hash{LIBS}}) {
	$_ .= ' '.$PDL_CONFIG{OPENGL_LIBS};
}
$hash{DEFINE} .= ' '.$PDL_CONFIG{OPENGL_DEFINE};
$hash{INC} .= ' '.$PDL_CONFIG{OPENGL_INC};
WriteMakefile(%hash);

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

SKIP: return;