use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'IDZebra', 'OBJECT' => 'IDZebra_wrap.o zebra_perl.o' , 'INC' => "-I@top_srcdir@/index -I../include @YAZINC@", 'LIBS' => "-L@top_srcdir@/index -lzebra @TCL_LIB@ @YAZLIB@ @ZPERL_LIBS@", 'OPTIMIZE' => '-g', # 'PREREQ_FATAL' => 1, 'PREREQ_PM' => { 'Scalar::Util' => '1.0', 'Test::More' => '0.40', } ); sub MY::postamble { 'IDZebra_wrap.c: IDZebra.i ./doswig' ; }