source: tags/arb-6.0/BINDINGS/PERL/Makefile.PL

Last change on this file was 8848, checked in by epruesse, 12 years ago

Added Python bindings using SWIG

Build and clean targets are "bindings" and "bindings_clean"; they
are not added to all and clean yet. The "test.py" shows a bit of
the python usage of the interface. You need to have swig installed,
of course.

The bindings are not build from arb_prot.h like the perl bindings.
Rather, ARB.i defines the exported functions. This is to make the
interface smaller and have an avenue of keeping it stable in case
the library interface needs to be changed. It also cuts down on
compile time a lot.

The idea is to eventually build the perl bindings with SWIG as well.
I haven't figured out how to provide the BIO:: module with the
ARB module yet, though, which would be required for backwards
compatability with pre-existing amc scripts.

File size: 327 bytes
Line 
1use ExtUtils::MakeMaker;
2WriteMakefile(
3        NAME    => 'ARB',
4        OBJECT  => 'ARB_wrap.o',
5        INC     => '-I../../INCLUDE',
6        LDFROM  => 'ARB_wrap.o -L../../lib -lARBDB -lCORE',
7        DEFINE  => $ENV{'DFLAGS'},
8        INSTALLSITELIB => '../../lib/perl5/',
9        INSTALLSITEARCH => '../../lib/perl5/'
10);
Note: See TracBrowser for help on using the repository browser.