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

Diff of /trunk/perl/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

0.0.12/perl/Makefile.PL revision 1 by dpavlin, Sat Sep 3 18:02:31 2005 UTC trunk/perl/Makefile.PL revision 10 by dpavlin, Thu Sep 8 16:50:39 2005 UTC
# Line 1  Line 1 
1  # File : Makefile.PL  # File : Makefile.PL
2  use ExtUtils::MakeMaker;  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(  WriteMakefile(
11          NAME    => 'HyperEstraier',          NAME    => 'HyperEstraier',
12          LIBS    => [sprintf('-lstdc++ %s %s' , `estconfig --libs`,  `estconfig --mtlibs`)],          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'          OBJECT  => 'HyperEstraierWrapper.o HyperEstraier_wrap.o'
15  );  );

Legend:
Removed from v.1  
changed lines
  Added in v.10

  ViewVC Help
Powered by ViewVC 1.1.26