1use ExtUtils::MakeMaker qw(WriteMakefile);
2
3
4# The existence of the ./*/Makefile.PL file causes MakeMaker
5# to automatically include Makefile code for the targets
6#	all, clean, realclean and */Makefile
7# which perform the corresponding action in the subdirectory.
8
9$version = "@VERSION@";
10
11WriteMakefile(
12    'NAME'     => 'NetCDF',
13    'DISTNAME' => "netcdf-perl-" + $version,
14    'VERSION'  => $version,
15    'INC'     => '@CPP_NETCDF@',
16    'OBJECT' => 'NetCDF.o',
17    'LIBS' => "@LD_NETCDF@ @LIBS@",
18    'clean' => {'FILES' => "*.nc NetCDF.bs"},
19    'realclean' => {'FILES' => "*.old Makefile.PL"}
20);
21