added 64 bit integer checks
[lwes-perl.git] / Makefile.PL
blob41441aec3d094cbfd90cde18c9ae981153f24b07
1 use ExtUtils::MakeMaker;
3 my $pkg_cfg = "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig";
4 my $lwes_libs = `$pkg_cfg pkg-config lwes-0 --libs`;
5 my $lwes_cflags = `$pkg_cfg pkg-config lwes-0 --cflags`;
7 WriteMakefile(
8     'NAME'           => 'LWES',
9     'VERSION'        => '0.01',
10     'EXE_FILES'      => [ "lwes-perl-event-listener" ],
11     'PREREQ_PM'      => {
12                           'IO::Socket::Multicast' => 0.98,
13                         },
14     'LIBS'           => $lwes_libs,
15     'INC'            => $lwes_cflags,
16     'OBJECT'         => 'lwes_wrap.o',
17     'dynamic_lib'    => { 'OTHERLDFLAGS' => "-llwes -lm"},