1 | use ExtUtils::MakeMaker; |
1 | use ExtUtils::MakeMaker; |
|
|
2 | use Event::MakeMaker; |
2 | |
3 | |
3 | use 5.005; |
4 | use 5.005; |
4 | |
5 | |
5 | use Config; |
6 | use Config; |
6 | |
7 | |
… | |
… | |
14 | } else { |
15 | } else { |
15 | print "\n*** Event not found, not build Event support.\n\n"; |
16 | print "\n*** Event not found, not build Event support.\n\n"; |
16 | $EVENT = 0; |
17 | $EVENT = 0; |
17 | } |
18 | } |
18 | |
19 | |
19 | WriteMakefile( |
20 | WriteMakefile(Event::MakeMaker::event_args( |
20 | NAME => "Coro::Event", |
21 | NAME => "Coro::Event", |
21 | VERSION_FROM => "Event.pm", |
22 | VERSION_FROM => "Event.pm", |
22 | DEFINE => $DEFINE, |
23 | DEFINE => $DEFINE, |
23 | DIR => [], |
24 | DIR => [], |
|
|
25 | PM => { |
|
|
26 | 'Event.pm' => '$(INST_LIBDIR)/Event.pm', |
|
|
27 | 'Handle.pm' => '$(INST_LIBDIR)/Handle.pm', |
|
|
28 | 'Socket.pm' => '$(INST_LIBDIR)/Socket.pm', |
|
|
29 | 'Util.pm' => '$(INST_LIBDIR)/Util.pm', |
|
|
30 | }, |
24 | ); |
31 | )); |
25 | |
32 | |
26 | |
33 | |
27 | |
34 | |