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 (24 lines) | stat: -rw-r--r-- 628 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
use ExtUtils::MakeMaker;

@subdirs = ("PGPLOT", "LUT", "IIS", "Karma");

# we try and build unless WITH_3d == 0
$t = $PDL_CONFIG{WITH_3D};
if( defined($t) and $t == 0 ) {
	print "\n   Not building TriD. Turn on WITH_3D if this is incorrect.\n\n";
} else {
	print "\n   Building TriD extension. Turn off WITH_3D if there are problems\n\n";
	push @subdirs,"TriD";
}

#WriteMakefile(
#     'NAME' => 'PDL',
#     VERSION_FROM => '../Basic/Core/Version.pm',
#     DIR => [@subdirs]
#);
WriteMakefile(
        'NAME' => 'PDL',
        VERSION_FROM => '../Basic/Core/Version.pm',
        DIR => [@subdirs],
        LIB => ['-lm'],
);