1 use ExtUtils::MakeMaker;
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
6 # Specify the location of the archive containing PIC compiled object files.
7 my $librrd = "-L../../src/.libs/ -lrrd_private" ;
11 'VERSION_FROM' => 'RRDs.pm', # finds $VERSION
12 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
13 'INC' => '-I../../src -I../../libraries/gd1.3',
14 # where to look for the necessary libraries
15 # Perl will figure out which one is valid
16 'depend' => {'RRDs.c' => "../../src/.libs/librrd_private.a"},
17 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"},
18 'realclean' => {FILES => 't/demo?.rrd t/demo?.gif' }