/[hyperestraier_wrappers]/trunk/perl/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/perl/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations)
Thu Sep 8 16:50:39 2005 UTC (16 years, 1 month ago) by dpavlin
File MIME type: text/plain
File size: 474 byte(s)
generate wrappers using swig (cludgy, I should really make proper dependency
using makefile target)
1 # File : Makefile.PL
2 use ExtUtils::MakeMaker;
3
4 system 'swig -c++ -perl5 -o HyperEstraier_wrap.cpp ../HyperEstraier.i';
5 if ($?){
6 print "error while generating SWIG wrappers: $!\n";
7 exit;
8 }
9
10 WriteMakefile(
11 NAME => 'HyperEstraier',
12 INC => sprintf('%s', `pkg-config --cflags hyperestraier || estconfig --cflags`),
13 LIBS => sprintf('-lstdc++ %s %s' , `pkg-config --libs hyperestraier || estconfig --libs`),
14 OBJECT => 'HyperEstraierWrapper.o HyperEstraier_wrap.o'
15 );

  ViewVC Help
Powered by ViewVC 1.1.26