The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# This -*- perl -*- script makes the Makefile

require 5.006_003; # 5.006_002 fails

use ExtUtils::MakeMaker;

#push @Safe, OPTIMIZE => '-Wall' if 1;

# Parasoft's Insure++!
push @Safe, OPTIMIZE => '-g' if 0;
push @Safe, CC => 'insure', LD => 'insure', OPTIMIZE => '-g' if 0;

my @opt=(PREREQ_PM => { Test => 1 },
	 VERSION_FROM	=> "./lib/Event.pm",
	 NAME      	=> "Event",
	 TYPEMAPS       => ['./lib/Event/typemap'],
	 INC		=> '-Ic -Ilib/Event',
	 H		=> [glob("c/*"), glob("*.h"), "lib/Event/EventAPI.h"],
	 @Safe,
	 'clean'   	=> {FILES => join(" ",
					  map { "$_ */$_ */*/$_" }
					  qw(*% *.html *.b[ac]k *.old *.orig))
			   },
	);

WriteMakefile(@opt);