/[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

Annotation of /trunk/perl/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (hide annotations)
Thu Sep 8 16:50:39 2005 UTC (17 years, 2 months 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 dpavlin 1 # File : Makefile.PL
2     use ExtUtils::MakeMaker;
3 dpavlin 10
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 dpavlin 1 WriteMakefile(
11     NAME => 'HyperEstraier',
12 dpavlin 3 INC => sprintf('%s', `pkg-config --cflags hyperestraier || estconfig --cflags`),
13     LIBS => sprintf('-lstdc++ %s %s' , `pkg-config --libs hyperestraier || estconfig --libs`),
14 dpavlin 1 OBJECT => 'HyperEstraierWrapper.o HyperEstraier_wrap.o'
15     );

  ViewVC Help
Powered by ViewVC 1.1.26