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

Comparing EV/Makefile.PL (file contents):
Revision 1.11 by root, Thu Nov 1 09:05:32 2007 UTC vs.
Revision 1.13 by root, Thu Nov 1 17:45:30 2007 UTC

103 103
104*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 104*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
105 105
106EOF 106EOF
107 107
108#$ENV{CC} = $Config{cc};
109#$ENV{CFLAGS} = join " ", map $Config{$_}, qw(inc optimize ccflags cccdlflags);
110#system "cd libevent && ./configure --disable-shared --enable-static --disable-maintainer-mode"
111# and die "configure failed.";
112
113#$LIBS = qx<cd libevent && make printlibs>;
114
115WriteMakefile( 108WriteMakefile(
116 dist => { 109 dist => {
117 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 110 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
118 COMPRESS => 'gzip -9v', 111 COMPRESS => 'gzip -9v',
119 SUFFIX => '.gz', 112 SUFFIX => '.gz',
120 }, 113 },
121 depend => { 114 depend => {
115 "EV.c" => "EV/EVAPI.h "
122 "EV.c" => "EV/EVAPI.h libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c", 116 . "libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c "
117 . "libev/event.h libev/event.c libev/evdns.h libev/evdns.c",
123 }, 118 },
124 INC => "-Ilibev", 119 INC => "-Ilibev",
125 DEFINE => "$DEFINE", 120 DEFINE => "$DEFINE",
126 NAME => "EV", 121 NAME => "EV",
127 LIBS => [$LIBS], 122 LIBS => [$LIBS],
128 VERSION_FROM => "EV.pm", 123 VERSION_FROM => "EV.pm",
129 PM => { 124 PM => {
130 'EV.pm' => '$(INST_LIBDIR)/EV.pm', 125 'EV.pm' => '$(INST_LIBDIR)/EV.pm',
131 'EV/AnyEvent.pm' => '$(INST_LIBDIR)/EV/AnyEvent.pm', 126 'EV/AnyEvent.pm' => '$(INST_LIBDIR)/EV/AnyEvent.pm',
132 #'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', 127 'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm',
133 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 128 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h',
134 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 129 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm',
135 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', 130 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h',
136 }, 131 },
137); 132);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines