ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
(Generate patch)

Comparing EV/Makefile.PL (file contents):
Revision 1.9 by root, Wed Oct 31 14:44:35 2007 UTC vs.
Revision 1.10 by root, Thu Nov 1 06:48:49 2007 UTC

1use 5.006; 1use 5.006;
2 2
3use Config; 3use Config;
4use ExtUtils::MakeMaker; 4use ExtUtils::MakeMaker;
5
6
7unless (-e "libev/ev_epoll.c") {
8 print <<EOF;
9
10***
11*** ERROR: libev is missing or damaged. If you used a CVS check-out of EV,
12*** you also have to check-out the "libev" module from the same CVS
13*** repository into the EV dir (i.e. EV/libev from outside).
14***
15
16EOF
17 exit 1;
18}
5 19
6#$ENV{CC} = $Config{cc}; 20#$ENV{CC} = $Config{cc};
7#$ENV{CFLAGS} = join " ", map $Config{$_}, qw(inc optimize ccflags cccdlflags); 21#$ENV{CFLAGS} = join " ", map $Config{$_}, qw(inc optimize ccflags cccdlflags);
8#system "cd libevent && ./configure --disable-shared --enable-static --disable-maintainer-mode" 22#system "cd libevent && ./configure --disable-shared --enable-static --disable-maintainer-mode"
9# and die "configure failed."; 23# and die "configure failed.";
14 dist => { 28 dist => {
15 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 29 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
16 COMPRESS => 'gzip -9v', 30 COMPRESS => 'gzip -9v',
17 SUFFIX => '.gz', 31 SUFFIX => '.gz',
18 }, 32 },
19 MYEXTLIB => 'libevent/.libs/libevent$(LIB_EXT)', 33 depend => {
34 "EV.c" => "EV/EVAPI.h libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c",
35 },
20 INC => "-Ilibev", 36 INC => "-Ilibev",
21 NAME => "EV", 37 NAME => "EV",
22 LIBS => ["-lrt -lpthread"], 38 LIBS => ["-lrt -lpthread"],
23 VERSION_FROM => "EV.pm", 39 VERSION_FROM => "EV.pm",
24 PM => { 40 PM => {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines