Begin handling deadlock errors.
[MogileFS-Server.git] / Makefile.PL
blob050d0893e7f4e954254a4ccf492efa412f4e0772
1 #!/usr/bin/perl
3 # Perl Makefile for MogileFS
4 # $Id$
6 # Invoke with 'perl Makefile.PL'
8 # See ExtUtils::MakeMaker (3) for more information on how to influence
9 # the contents of the Makefile that is written
12 use ExtUtils::MakeMaker;
14 my $exefiles = ["mogstored", "mogilefsd", "mogdbsetup", "mogautomount"];
15 $exefiles = ["mogstored"] if exists $ENV{DANGABUILD_MOGSTOREDONLY};
16 $exefiles = ["mogilefsd"] if exists $ENV{DANGABUILD_MOGILEFSDONLY};
18 WriteMakefile(
19 NAME => 'mogilefs-server',
20 VERSION_FROM => 'lib/MogileFS/Server.pm',
21 AUTHOR => 'Brad Fitzpatrick <brad@danga.com>',
22 ABSTRACT_FROM => 'lib/MogileFS/Server.pm',
23 EXE_FILES => $exefiles,
24 PREREQ_PM => {
25 'Danga::Socket' => '1.56',
26 'Perlbal' => '1.53',
27 'Sys::Syslog' => 0,
28 'Sys::Syscall' => '0.22',
29 'Getopt::Long' => 0,
30 'Symbol' => 0,
31 'Net::Netmask' => 0,
32 'Gearman::Server' => 1.08, # but really want at least 1.09
33 'Gearman::Client::Async' => 0.93,
34 'Gearman::Client' => 1.07, # for Gearman::Worker, in fidsizes worker
35 fields => 0,
37 META_MERGE => {
38 no_index => {
39 directory => 'lib/mogdeps',
40 package => ['ProcessHandle', 'TrackerHandle', 'MogstoredHandle',
41 'MogPath', 'Mgd'],