WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / interfaces / Perl / Makefile.am
1 if WITH_LARGE_PF
2   USE_LARGE_PF = -DLARGE_PF
3 else
4   USE_LARGE_PF =
5 endif
6
7 SOURCES = Makefile.PL RNA.pod
8
9 EXTRA_DIST = RNA.pm RNA_wrap.c RNAfold.pl test.pl RNAfold.cgi Makefile.PL
10
11 Makefile.perl: Makefile.PL Makefile
12         @PerlCmd@ Makefile.PL PREFIX=$(prefix) LDDLFLAGS="${LDFLAGS} -shared"
13
14 # the perl command repairs some errors in the SWIG CVS version
15 RNA_wrap.c: ../RNA.i ../tmaps.i
16         swig -perl5 -shadow $(USE_LARGE_PF) -I../ RNA.i
17
18 all-local: RNA_wrap.c Makefile.perl
19         $(MAKE) -f Makefile.perl
20
21 install-exec-local: all-local
22         $(MAKE) -f Makefile.perl install
23
24 check-local: all-local
25         $(MAKE) -f Makefile.perl test
26
27 mostlyclean-local: Makefile.perl
28         $(MAKE) -f Makefile.perl clean
29
30 # remove all generated content
31 maintainer-clean-local:
32         -rm -f RNA_wrap.c Makefile.perl.old RNA.pm
33