2 USE_LARGE_PF = -DLARGE_PF
7 SOURCES = Makefile.PL RNA.pod
9 EXTRA_DIST = RNA.pm RNA_wrap.c RNAfold.pl test.pl RNAfold.cgi Makefile.PL
11 Makefile.perl: Makefile.PL Makefile
12 @PerlCmd@ Makefile.PL PREFIX=$(prefix) LDDLFLAGS="${LDFLAGS} -shared"
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
18 all-local: RNA_wrap.c Makefile.perl
19 $(MAKE) -f Makefile.perl
21 install-exec-local: all-local
22 $(MAKE) -f Makefile.perl install
24 check-local: all-local
25 $(MAKE) -f Makefile.perl test
27 mostlyclean-local: Makefile.perl
28 $(MAKE) -f Makefile.perl clean
30 # remove all generated content
31 maintainer-clean-local:
32 -rm -f RNA_wrap.c Makefile.perl.old RNA.pm